/* Global reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html,body {
    overflow-x: hidden;
    font-family: 'Segoe UI', sans-serif;
    background-color:#ffffff;
    padding: 2vw;
    color: #333;
  }
  
  /* Title styling */
  h4 {
    text-align: center;
    font-size: 3vw;
    margin-bottom: 2vw;
    color: #f404c8;
  }
  
  
  
/* iframe styling - A4 size display */
.iframe {
    width: 100%;
    max-width: 794px; /* typical A4 width in px for web at 96dpi */
    height: calc(394px * 1.414); /* A4 height based on aspect ratio */
    
  }
  
  .pdf-container {
  position: relative; /* parent for absolute child */
  width: 100%;
  height: calc(394px * 1.414); /* A4 height based on aspect ratio */
  max-width: 794px;
  margin: auto;
  border: 1px solid #000;
  border-radius: 12px;
  overflow: hidden;
}

.download-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: black;
  border-radius: 5px;
  padding: 10px;
  font-size: clamp(18px, 2vw, 26px);
  color: white;
  z-index: 10;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-btn:hover {
  background-color: #f0f0f0;
  color: black;
  transform: scale(1.1);
}

  /* Download instruction container */
  .container {
    width: 100%;
    max-width: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
    margin-top: 2vw;
    padding: 2vw;
    border-radius: 1vw;
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.1);
  }
  
  .container h1 {
    font-size: 4.2vw;
    margin-bottom: 1vw;
    color: red;
  }
  
  .container p {
    font-size: 3.4vw;
    margin-bottom: 1vw;
    line-height: 1.6;
  }
  
  ul {
    padding-left: 1.5vw;
  }
  
  li {
    margin-bottom: 0.8vw;
    font-size: 2.4vw;
  }
  
  .note {
    background-color: #fff8e1;
    border-left: 4px solid #f57c00;
    padding: 1vw;
    border-radius: 0.5vw;
    font-size: 1.3vw;
  }

  /* Comment Section Styling */
.comment-section {
    background: #fdfeff;
    padding: 2vw;
    border-radius: 1vw;
    box-shadow: 0 0 15px rgba(62, 62, 62, 0.2);
    max-width: 99%;
    margin: 3vw auto;
    font-family: 'Segoe UI', sans-serif;
  }
  
  /* Comment Header */
  .comment-header {
    font-size: 4vw;
    color: red;
    margin-bottom: 2vw;
    text-align: center;
  }
  
  /* Input Container */
  .input-container {
    margin-bottom: 1.5vw;
    display: flex;
    flex-direction: column;
  }
  
  .input-container label {
    font-size: 1.2vw;
    margin-bottom: 0.5vw;
    color: #f9f8f8;
  }
  
  .input-container input,
  .input-container textarea {
    padding: 1vw;
    border: 1px solid #ccc;
    border-radius: 0.8vw;
    font-size: 1.1vw;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.3s ease;
  }
  
  .input-container input:focus,
  .input-container textarea:focus {
    border-color: #ccc;
    outline: none;
  }
  
  /* Submit Button */
  form button {
    background-color: rgb(44, 44, 255);
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 1vw 2vw;
    border: none;
    border-radius: 0.8vw;
    font-size: 2.7vw;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  form button:hover {
    background-color: rgb(65, 65, 244);
  }
  
  /* Total Comments Heading */
  .comment-section h5 {
    font-size: 3.4vw;
    margin-top: 2vw;
  }
  
  /* Comments List */
  #commentsList {
    margin-top: 2vw;
  }
  
  /* Individual Comment */
  .comment-item {
    background: rgb(246, 246, 254);
    border-left: 4px solid #81c784;
    padding: 1.5vw;
    margin-bottom: 2vw;
    border-radius: 0.8vw;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  }
  
  .comment-item img {
    width: 6vw;
    height: 6vw;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1vw;
    float: left;
  }
  
  .comment-item h5 {
    font-size: 2.6vw;
    margin: 0.5vw 0 0.3vw 0;
    color: black;
  }
  
  .comment-item small {
    display: block;
    font-size: 2.2vw;
    color: black;
    margin-bottom: 0.5vw;
  }
  
  .comment-item p {
    font-size: 2.8vw;
    line-height: 1.5;
    clear: both;
    margin-top: 1vw;
  }
  
  /* Owner Reply */
  .owner-reply {
    background: #ffffff;
    padding: 1vw;
    border-left: 4px solid #43a047;
    border-radius: 0.8vw;
    margin-top: 1.5vw;
    margin-left: 2vw;
  }
  
  .owner-reply img {
    width: 7vw;
    height: 7vw;
    border-radius: 50%;
    object-fit: cover;
    float: left;
    margin-right: 1vw;
  }
  .owner-reply h5  {
    font-size: 2.9vw;
    color:black;
    margin: 0.3vw 0;
  }
  .owner-reply b {
    font-size: 3.5vw;
    color: red;
    margin: 0.3vw 0;
  }
  
  .owner-reply small {
    display: block;
    font-size: 2.5vw;
    color: #616161;
    margin-bottom: 0.5vw;
  }
  
  .owner-reply p {
    font-size: 2.8vw;
    clear: both;
    margin-top: 1vw;
    line-height: 1.5;
  }
  
  /* Footer Styling */
#footer {
    width: 100%;
    background: linear-gradient(135deg, #1e1e1e, #2c2c2c);
    padding: 2vw 5vw;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
    margin-top: 5vw;
    font-family: 'Segoe UI', sans-serif;
    color: #fff;
    text-align: center;
  }
  
  #footer .last-text {
    font-size: 1.2vw;
    line-height: 1.8;
  }
  
  #footer .last-text a {
    color: #cb37fc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
  }
  
  #footer .last-text a:hover {
    color: #ffffff;
    text-decoration: underline;
  }
  
  #footer .bx {
    font-size: 1.3vw;
    vertical-align: middle;
  }
  
  /* Responsive Text Sizes */
  @media screen and (max-width: 768px) {
    #footer .last-text {
      font-size: 3.5vw;
    }
  
    #footer .bx {
      font-size: 4vw;
    }
  }
  
       