
        /* Your existing CSS remains unchanged */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            padding: 20px;
            color: #333;
            line-height: 1.6;
            min-height: 100vh;
        }
        
        .container {
            max-width: 900px;
            margin: 0 auto;
            background-color: white;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            border-radius: 10px;
        }
        
        header {
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 2px solid #3498db;
        }
        
        h1 {
            color: #2c3e50;
            margin-bottom: 10px;
            font-size: 32px;
        }
        .logo{
          width: 100%;
        }
        .subtitle {
            color: #7f8c8d;
            font-size: 18px;
        }
        .sectionheader{  
    text-align: center;
    margin-bottom: 35px !important;

        }
        .section {
            margin-bottom: 30px;
            padding: 20px;
            background: #f9f9f9;
            border-radius: 8px;
            /* border-left: 4px solid #3498db; */
        }
        select{
              width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #ddd;
    background-color: aliceblue;
        }
         select:focus{
            background-color: #fff;
         }
        .section-title {
            font-weight: bold;
            margin-bottom: 15px;
            color: #2c3e50;
            font-size: 25px;
        }
        
        .text-block {
            margin-bottom: 15px;
            text-align: justify;
        }
           .text-header{
            margin-bottom: 15px;
            text-align: center;
        }
        
        .signature-area {
            margin: 25px 0;
        }
        
        .signature-pad {
            border: 1px dashed #95a5a6;
            height: 100px;
            margin-bottom: 10px;
            background: #fff;
            cursor: crosshair;
            border-radius: 4px;
            position: relative;
        }
        
        .signature-pad canvas {
            width: 100%;
            height: 100%;
        }
        
        .signature-line {
            border-bottom: 1px solid #333;
            margin: 20px 0 5px 0;
            padding: 5px 0;
            min-height: 25px;
        }
        
        .label {
            font-style: italic;
            font-size: 14px;
            color: #666;
        }
        
        .form-row {
            display: flex;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }
        
        .form-group {
            margin-right: 20px;
            margin-bottom: 10px;
            flex: 1;
            min-width: 200px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            /* font-size: 18px; */
            color: #2c3e50;
        }
        @media print {
    body {
        background: white;
        padding: 0;
    }

    .container {
        box-shadow: none;
        padding: 20px;
        max-width: none;
    }

    .form-actions {
        display: none;
    }

    .modal {
        display: none;
    }

    .btn {
        display: none;
    }
}
        input[type="text"], input[type="date"], input[type="email"] {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 16px;
            border-top: none;
            border-left: none;
            border-right: none;
             background-color: aliceblue;
        }
/*         
        input:focus {
            outline: none;
            border-color: #3498db;
            box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
        } */
        input:focus {
    outline: none;
    border-color: #d5dade;
    box-shadow: 0 0 5px rgb(252 254 255 / 50%);
        background-color: #fff;
}
     textarea:focus {
    outline: none;
    border-color: #d5dade;
    box-shadow: 0 0 5px rgb(252 254 255 / 50%);
}
        .checkbox-group {
            display: flex;
            flex-wrap: wrap;
            margin-bottom: 15px;
        }
        
        .checkbox-item {
            margin-right: 15px;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }
        
        .checkbox-item input {
            margin-right: 5px;
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        
        table, th, td {
            border: 1px solid #bdc3c7;
        }
        
        th, td {
            padding: 10px;
            text-align: center;
        }
        
        th {
            background-color: #ecf0f1;
            font-weight: bold;
        }
        
        .comments-box {
            width: 100%;
            /* height: 100px; */
            border: 1px solid #ddd;
            padding: 10px;
            margin-bottom: 15px;
            border-radius: 4px;
            font-family: inherit;
            border-top: none;
    border-left: none;
    border-right: none;
        }
        
        .warning {
           font-weight: bold;
    margin: 10px 0;
    padding: 10px;
    text-align: center;
        }
        
        .divider {
            height: 1px;
            background: linear-gradient(to right, transparent, #95a5a6, transparent);
            margin: 25px 0;
        }
        
        .actions {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }
        
        .btn {
            padding: 12px 25px;
            border: none;
            border-radius: 50px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .btn-primary {
            background: #3498db;
            color: white;
        }
        
        .btn-primary:hover {
            background: #2980b9;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
        }
        
        .btn-secondary {
            background: #2ecc71;
            color: white;
        }
        
        .btn-secondary:hover {
            background: #27ae60;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
        }
        
        .btn-danger {
            background: #e74c3c;
            color: white;
        }
        
        .btn-danger:hover {
            background: #c0392b;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
        }
        
        .signature-controls {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .signature-btn {
            padding: 8px 15px;
            background: #95a5a6;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
        }
        
        .signature-btn:hover {
            background: #7f8c8d;
        }
        
        .required {
            color: #e74c3c;
        }
        
        .error {
            color: #e74c3c;
            font-size: 14px;
            margin-top: 5px;
            display: none;
        }
        
        @media (max-width: 768px) {
            .form-group {
                min-width: 100%;
                margin-right: 0;
            }
            
            .actions {
                flex-direction: column;
            }
            
            .btn {
                width: 100%;
                margin-bottom: 10px;
            }
        }
        
        footer {
            text-align: center;
            margin-top: 30px;
            color: #7f8c8d;
            font-size: 14px;
        }
        
        .logo-image {
            max-height: 80px;
            margin-bottom: 20px;
        }

        .table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 600px; /* optional: prevents squishing too much */
}

th, td {
  padding: 8px;
  text-align: center;
  border: 1px solid #ddd;
}

th:first-child, td:first-child {
  text-align: left;
}

/* Optional: zebra striping for readability */
tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}

/* Mobile smaller font */
@media (max-width: 600px) {
  th, td {
    padding: 6px;
    font-size: 14px;
  }
  .container{
    padding: 0px;
  }
   body {
            background: linear-gradient(135deg, #f5f7fa 0%, #f5f7fa 100%);
            padding: 0px;
       }   
       .logo {
    width: 100%;
    padding: 2px;
}
               
            }
 