        .input-section input:focus::placeholder,
        .input-section select:focus::placeholder {
            color: #151b35;
        }
        .input-section input::placeholder,
        .input-section select::placeholder {
            color: #f5f7fa;
            opacity: 1;
        }
*{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Times New Roman', Times, serif;
        }
        
        body {
            background: linear-gradient(135deg, #0b1020 0%, #11162a 25%, #151b35 75%, #273059 100%);
            background-attachment: fixed;
            color: #e8eef7;
            line-height: 1.6;
            padding: 20px;
            min-height: 100vh;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        
        header {
            text-align: center;
            padding: 30px;
            background: linear-gradient(135deg, rgba(11, 16, 32, 0.85), rgba(17, 22, 42, 0.9), rgba(21, 27, 53, 0.85), rgba(39, 48, 89, 0.9));
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            color: #ffffff;
            border-radius: 15px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
        }
        
        header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
            animation: shimmer 3s infinite;
        }
        
        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
        
        h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            position: relative;
            z-index: 1;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }
        
        .subtitle {
            font-size: 1.2rem;
            opacity: 0.95;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            position: relative;
            z-index: 1;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        }
        
        .content {
            display: flex;
            gap: 30px;
            flex-wrap: wrap;
        }
        
        .input-section {
            flex: 1;
            min-width: 300px;
            background: linear-gradient(135deg, rgba(11, 16, 32, 0.95) 0%, rgba(17, 22, 42, 0.9) 25%, rgba(21, 27, 53, 0.85) 75%, rgba(39, 48, 89, 0.9) 100%);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: #e8eef7;
            position: relative;
            overflow: visible;
        }
        
        .input-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 20%, rgba(255, 255, 255, 0.08) 50%, transparent 80%);
            animation: shimmer 6s infinite;
            pointer-events: none;
        }
        
        .preview-section {
            flex: 1;
            min-width: 300px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.2);
            display: flex;
            flex-direction: column;
            color: #2c3e50;
        }
        
        h2 {
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #3498db;
            color: #2c3e50;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .input-section h2 {
            color: #e8eef7;
            border-bottom: 2px solid rgba(52, 152, 219, 0.6);
            position: relative;
            z-index: 1;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }
        
        h3 {
            margin: 15px 0;
            color: #2c3e50;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .input-section h3 {
            color: #b8c5d6;
            position: relative;
            z-index: 1;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #2c3e50;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .input-section label {
            color: #d1d9e6;
            position: relative;
            z-index: 1;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }
        
        input, select {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
            transition: border 0.3s;
            font-family: 'Times New Roman', Times, serif;
        }
        
        .input-section input, 
        .input-section select {
            background: linear-gradient(135deg, rgba(39, 48, 89, 0.13) 0%, rgba(21, 27, 53, 0.10) 100%);
            border: 1px solid #3a4a7a;
            color: #fff;
            box-shadow: 0 1px 4px rgba(39, 48, 89, 0.07);
            transition: background 0.3s, border 0.3s;
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: #2c3e50;
            position: relative;
            z-index: 1;
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        /* Professional styling for #submissionDate visible input (flatpickr alt input) */
        .input-section #submissionDate + .flatpickr-input {
            width: 100%;
            padding: 12px 44px 12px 12px;
            font-size: 16px;
            border-radius: 5px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            background: linear-gradient(135deg, rgba(39, 48, 89, 0.13) 0%, rgba(21, 27, 53, 0.10) 100%);
            color: #e8eef7;
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            transition: background 0.3s, border 0.3s, box-shadow 0.3s;
            cursor: pointer;
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 18px 18px;
            background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2' ry='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>");
        }
        .input-section #submissionDate + .flatpickr-input::placeholder {
            color: #e8eef7;
            opacity: 1;
            font-weight: 600;
        }
        .input-section #submissionDate + .flatpickr-input:hover {
            border-color: #3498db;
            box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
        }
        .input-section #submissionDate + .flatpickr-input:focus {
            outline: none;
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2), 0 2px 12px rgba(0, 0, 0, 0.15);
            background: rgba(255, 255, 255, 1);
            color: #2c3e50;
            background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%233498db' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2' ry='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>");
        }

        /* Professional flatpickr calendar theme */
        .flatpickr-calendar {
            z-index: 99999 !important;
            border-radius: 10px;
            border: 1px solid rgba(0,0,0,0.08);
            box-shadow: 0 16px 40px rgba(0,0,0,0.35);
            overflow: hidden;
        }
        .flatpickr-months, .flatpickr-weekdays, .flatpickr-days {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        /* Calendar sizing (safe adjustments only) */
        .flatpickr-calendar .flatpickr-months .flatpickr-month {
            height: 44px;
        }
        .flatpickr-calendar .flatpickr-months .flatpickr-month .cur-month,
        .flatpickr-calendar .flatpickr-months .flatpickr-month .numInputWrapper input.cur-year {
            font-size: 14px;
            font-weight: 600;
        }
        .flatpickr-calendar .flatpickr-weekdays {
            height: 34px;
        }
        .flatpickr-calendar .flatpickr-weekdays span.flatpickr-weekday {
            font-size: 12px;
            opacity: 0.9;
        }
        .flatpickr-calendar .flatpickr-day {
            width: 34px;
            height: 34px;
            line-height: 34px;
            margin: 2px;
            border-radius: 8px;
            font-size: 13px;
        }
        .flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange {
            background: #3498db;
            border-color: #3498db;
            color: #fff;
        }
        .flatpickr-day.today {
            border-color: #3498db;
        }

        /* Compact calendar on small screens */
        @media (max-width: 480px) {
            .flatpickr-calendar .flatpickr-day {
                width: 28px;
                height: 28px;
                line-height: 28px;
                margin: 2px;
                border-radius: 6px;
                font-size: 12px;
            }
            .flatpickr-calendar .flatpickr-weekdays span.flatpickr-weekday {
                font-size: 11px;
            }
            .flatpickr-calendar .flatpickr-months .flatpickr-month .cur-month,
            .flatpickr-calendar .flatpickr-months .flatpickr-month .numInputWrapper input.cur-year {
                font-size: 13px;
            }
        }
        
        input:focus, select:focus {
            border-color: #3498db;
            outline: none;
        }
        
        .input-section input:focus, 
        .input-section select:focus {
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2), 0 2px 12px rgba(0, 0, 0, 0.15);
            background: rgba(255, 255, 255, 1);
        }
        
        .two-column {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }
        .addArea{
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .ADD{
            display: inline-block;
        }
        #teacher2Enable{
            display: inline-block;
            margin-bottom: -24px;
            margin-left: 18px;
            height: 20px;
        }
        
        .input-section #teacher2Enable {
            position: relative;
            z-index: 1;
        }
        .buttons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .input-section .buttons {
            position: relative;
            z-index: 1;
        }
        
        button {
            padding: 14px 25px;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        #generateBtn {
            background: linear-gradient(135deg, #273059, #151b35);
            color: white;
            flex: 2;
            box-shadow: 0 4px 15px rgba(39, 48, 89, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        #generateBtn:hover {
            background: linear-gradient(135deg, #151b35, #11162a);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(39, 48, 89, 0.4);
        }
        
        #downloadBtn {
            background: linear-gradient(135deg, #11162a, #0b1020);
            color: white;
            flex: 1;
            box-shadow: 0 4px 15px rgba(11, 16, 32, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        #downloadBtn:hover {
            background: linear-gradient(135deg, #0b1020, #11162a);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(11, 16, 32, 0.4);
        }
        
        #downloadBtn:disabled {
            background: linear-gradient(135deg, #555, #333);
            cursor: not-allowed;
            transform: none;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }
        
        .preview-container {
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 20px;
            flex-grow: 1;
            background: #f9f9f9;
            overflow: auto;
        }
        
        #preview {
            background: white;
            padding: 30px;
            width: 210mm;
            min-height: 297mm;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
            font-family: 'Times New Roman', Times, serif;
            font-size: 17px;
            position: relative;
            margin: 0 auto;
            border: 1px solid #ccc;
            box-sizing: border-box;
            overflow-x: hidden;
            transition: transform 0.2s;
        }
        /* Responsive preview scaling for mobile */
        @media (max-width: 900px) {
            #preview {
                transform: scale(0.8);
                transform-origin: top center;
                width: 95vw;
                min-width: unset;
                min-height: unset;
                height: auto;
            }
            .preview-container {
                padding: 5px;
            }
        }
        @media (max-width: 600px) {
            #preview {
                transform: scale(0.95);
                width: 99vw;
            }
        }
        
        /* Keep preview fixed at desktop (A4) size on mobile */
        @media (max-width: 900px) {
            #preview {
                transform: none !important;
                transform-origin: initial !important;
                width: 210mm !important;
                min-height: 297mm !important;
                height: auto !important;
            }
            .preview-container {
                padding: 5px !important;
                overflow: auto !important;
            }
        }
        @media (max-width: 600px) {
            #preview {
                transform: none !important;
                width: 210mm !important;
                min-height: 297mm !important;
                height: auto !important;
            }
            .preview-container {
                overflow: auto !important;
            }
        }
        
        .university-header {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            gap: 20px;
            margin-top: 15px;
        }
        
       .eee-logo {
            width: 80px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .vu-logo {
            width: 80px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .university-info {
            text-align: center;
        }
        .vuLogo{
            height: 70px;
            width: 50px;
        }
        .eeeLogo{
            height: 75px;
            width: 75px;
        }
        .university-name {
            font-size: 27px;
            font-weight: bold;
            margin-top: 14px;
            margin-bottom: 5px;
            text-transform: uppercase;
        }
        
        .department {
            font-size: 23px;
            margin-bottom: 5px;
            font-weight: bold;
        }
        
        .lab-report {
            font-size: 24px;
            text-decoration: none;
            margin-bottom: 20px;
            text-align: center;
        }
        #previewCourseCode, #previewCourseTitle{
            font-size: 20px;
        }
        .info-table00 {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 10px;
            border: none;
        }
        .info-table {
            width: 97%;
            border-collapse: collapse;
            margin-top: 35px;
            margin-left: 9px;
            margin-bottom: 30px;
            border: 1px solid #000;
        }
        .info-table00 td {
            padding: 5px;
            border: none;
            font-size: 16px;
        }
        .info-table td {
            padding: 6px;
            border: 1px solid #000;
            font-size: 20px;
        }
        .info-table00 tr td:first-child {
            font-weight: bold;
            width: 30%;
        }
        .info-table tr td:first-child {
            font-weight: bold;
            width: 30%;
        }
        
        .submission-table {
            width: 97%;
            border-collapse: collapse;
            margin-bottom: 15px;
            margin-left: 9px;
            border: 1px solid #000;
        }
        
        .submission-table td {
            padding: 10px;
            border: 1px solid #000;
            vertical-align: top;
            font-size: 20px;
            font-weight: bold;
        }
        .submission-table td span {
            font-weight: normal;
        }
        #teacher2PreviewBlock{
            font-weight: bold;
        }
        .submission-table .submitted-by, 
        .submission-table .submitted-to {
            width: 50%;
        }
        
        .date-section {
            margin-top: 20px;
            margin-left: 30%;
            text-align: right;
            display: flex;
        }
        .date{
            font-weight: normal;
            font-size: 15px;
            margin-right: 10px;
        }
        
        .signature-line {
            margin-top: 80px;
            border-top: 1px solid #000;
            width: 40%;
            margin-left: auto;
            margin-right:6%;
            text-align: center;
            padding-top: 5px;
        }
        
        footer {
            text-align: center;
            margin-top: 50px;
            padding: 20px;
            background: linear-gradient(135deg, rgba(11, 16, 32, 0.8), rgba(17, 22, 42, 0.85), rgba(21, 27, 53, 0.8), rgba(39, 48, 89, 0.85));
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            color: #e8eef7;
            font-size: 0.9rem;
            border-radius: 15px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
        }
        
        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
            animation: shimmer 4s infinite;
        }
        
        footer p {
            position: relative;
            z-index: 1;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }
        
        /* Mobile responsive styles for input section only */
        @media (max-width: 768px) {
            .content {
                flex-direction: column;
            }
            
            .input-section {
                padding: 15px !important;
                margin: 0 5px !important;
                border-radius: 10px !important;
                min-width: unset !important;
                width: calc(100% - 10px) !important;
                max-width: 100% !important;
            }
            
            .input-section h2 {
                font-size: 1.4rem !important;
                margin-bottom: 12px !important;
                text-align: center !important;
            }
            
            .input-section h3 {
                font-size: 1rem !important;
                margin: 10px 0 8px 0 !important;
                text-align: center !important;
            }
            
            .input-section .form-group {
                margin-bottom: 12px !important;
                width: 100% !important;
            }
            
            .input-section label {
                font-size: 0.9rem !important;
                margin-bottom: 5px !important;
                display: block !important;
                width: 100% !important;
            }
            
            .input-section input, 
            .input-section select {
                padding: 10px !important;
                font-size: 14px !important;
                border-radius: 6px !important;
                width: 100% !important;
                box-sizing: border-box !important;
            }
            
            .input-section .two-column {
                grid-template-columns: 1fr !important;
                gap: 8px !important;
                display: block !important;
            }
            
            .input-section .two-column .form-group {
                margin-bottom: 12px !important;
                width: 100% !important;
            }
            
            .input-section .addArea {
                margin-bottom: 8px !important;
                text-align: center !important;
            }
            
            .input-section #teacher2Enable {
                margin-left: 0 !important;
                margin-bottom: 8px !important;
                margin-right: 8px !important;
            }
            
            .input-section .buttons {
                flex-direction: column !important;
                gap: 8px !important;
                margin-top: 12px !important;
                width: 100% !important;
            }
            
            .input-section button {
                padding: 12px 16px !important;
                font-size: 14px !important;
                border-radius: 6px !important;
                width: 100% !important;
                margin: 0 !important;
            }
            
            .university-header {
                flex-direction: column;
            }
        }
        
        /* Extra small mobile devices */
        @media (max-width: 480px) {
            .input-section {
                padding: 12px !important;
                margin: 0 3px !important;
                width: calc(100% - 6px) !important;
            }
            
            .input-section h2 {
                font-size: 1.2rem !important;
                margin-bottom: 10px !important;
            }
            
            .input-section h3 {
                font-size: 0.9rem !important;
                margin: 8px 0 6px 0 !important;
            }
            
            .input-section .form-group {
                margin-bottom: 10px !important;
            }
            
            .input-section label {
                font-size: 0.8rem !important;
                margin-bottom: 4px !important;
            }
            
            .input-section input, 
            .input-section select {
                padding: 8px !important;
                font-size: 13px !important;
                border-radius: 5px !important;
            }
            
            .input-section button {
                padding: 10px 14px !important;
                font-size: 13px !important;
                border-radius: 5px !important;
            }
        }

        /* Keep preview header logos inline with university name on mobile */
        @media (max-width: 768px) {
            #preview .university-header {
                flex-direction: row !important;
                justify-content: center !important;
                align-items: center !important;
                gap: 20px !important;
            }
            #preview .university-info { text-align: center !important; }
            #preview .eee-logo, 
            #preview .vu-logo {
                width: 80px !important;
                height: 80px !important;
            }
        }
 