        :root {
            --primary-dark: #1e3a5f;
            --primary-blue: #0d6efd;
            --light-gray: #f8f9fa;
            --medium-gray: #e9ecef;
            --border-gray: #dee2e6;
        }
        * {
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }
        input, textarea, select {
            -webkit-user-select: text !important;
            -moz-user-select: text !important;
            -ms-user-select: text !important;
            user-select: text !important;
        }
        body {
            background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 50%, #1e3a5f 100%);
            min-height: 100vh;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        /* ==================== LANDING PAGE ==================== */
        .landing-page {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        .landing-container {
            background: white;
            border-radius: 20px;
            padding: 50px 60px;
            text-align: center;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            max-width: 700px;
            width: 100%;
        }
        .landing-logo {
            margin-bottom: 20px;
        }
        .landing-logo img {
            height: 100px;
        }
        .landing-title {
            color: var(--primary-dark);
            font-weight: 700;
            font-size: 1.8rem;
            margin-bottom: 10px;
        }
        .landing-subtitle {
            color: #6c757d;
            font-size: 1.1rem;
            margin-bottom: 40px;
        }
        .selection-cards {
            display: flex;
            gap: 30px;
            justify-content: center;
            margin-bottom: 30px;
        }
        .selection-card {
            width: 200px;
            height: 180px;
            border: 3px solid var(--border-gray);
            border-radius: 15px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            background: white;
        }
        .selection-card:hover {
            border-color: var(--primary-blue);
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(13, 110, 253, 0.2);
        }
        .selection-card.selected {
            border-color: var(--primary-blue);
            background: linear-gradient(135deg, #e8f4ff 0%, #dbeafe 100%);
        }
        .selection-card i {
            font-size: 3rem;
            color: var(--primary-dark);
            margin-bottom: 15px;
        }
        .selection-card span {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary-dark);
        }
        .selection-card:hover i,
        .selection-card.selected i {
            color: var(--primary-blue);
        }
        .kb-link {
            color: #6c757d;
            font-size: 0.95rem;
        }
        .kb-link a {
            color: var(--primary-blue);
            text-decoration: none;
        }
        .kb-link a:hover {
            text-decoration: underline;
        }
        
        /* ==================== FORM PAGE ==================== */
        .form-page {
            display: none;
            padding: 20px;
        }
        .form-page.active {
            display: block;
        }
        .form-container {
            max-width: 950px;
            margin: 0 auto;
            background: white;
            padding: 35px;
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }
        .header-section {
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 3px solid var(--primary-dark);
        }
        .header-section h2 {
            color: var(--primary-dark);
            font-weight: 700;
            margin-bottom: 5px;
        }
        .back-to-selection {
            position: absolute;
            top: 20px;
            left: 20px;
        }
        .section-header {
            background-color: var(--primary-dark);
            color: white;
            padding: 12px 18px;
            margin-top: 25px;
            margin-bottom: 20px;
            font-weight: 600;
            border-radius: 6px;
            font-size: 1rem;
        }
        .section-header:first-of-type {
            margin-top: 0;
        }
        .instructions {
            background-color: #e8f4ff;
            padding: 18px;
            border-left: 4px solid var(--primary-blue);
            margin-bottom: 25px;
            border-radius: 0 6px 6px 0;
        }
        .instructions h6 {
            color: var(--primary-dark);
            font-weight: 700;
            margin-bottom: 12px;
        }
        .form-label {
            font-weight: 500;
            color: #495057;
            margin-bottom: 6px;
        }
        .form-control, .form-select {
            border: 1px solid var(--border-gray);
            border-radius: 6px;
            padding: 10px 14px;
        }
        .form-control:focus, .form-select:focus {
            border-color: var(--primary-blue);
            box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
        }
        .input-group-text {
            background-color: var(--medium-gray);
            border: 1px solid var(--border-gray);
        }
        .conditional-section {
            display: none;
            animation: fadeIn 0.3s ease;
        }
        .conditional-section.show {
            display: block;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .document-row {
            padding: 15px;
            margin-bottom: 15px;
            background-color: var(--light-gray);
            border-radius: 8px;
            border: 1px solid var(--border-gray);
        }
        .document-label {
            font-weight: 600;
            color: var(--primary-dark);
            margin-bottom: 10px;
        }
        .btn-primary {
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
            border: none;
            padding: 12px 40px;
            font-weight: 600;
            border-radius: 6px;
        }
        .btn-secondary {
            background-color: #6c757d;
            border: none;
            padding: 12px 40px;
        }
        .declaration-section {
            background-color: var(--light-gray);
            padding: 25px;
            border-radius: 8px;
            margin-top: 30px;
            border: 1px solid var(--border-gray);
        }
        
        /* Page Navigation */
        .page-section { display: none; }
        .page-section.active { display: block; }
        .page-indicator {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
        }
        .page-step {
            display: flex;
            align-items: center;
            color: #6c757d;
        }
        .page-step.active .step-number {
            background-color: var(--primary-blue);
            color: white;
        }
        .page-step.completed .step-number {
            background-color: #198754;
            color: white;
        }
        .step-number {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background-color: var(--medium-gray);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            margin-right: 8px;
        }
        .step-connector {
            width: 80px;
            height: 3px;
            background-color: var(--medium-gray);
            margin: 0 15px;
        }
        .step-connector.completed { background-color: #198754; }
        
        /* Job Order Items */
        .job-order-item {
            background-color: #f8f9fa;
            border: 1px solid var(--border-gray);
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 15px;
            position: relative;
        }
        .job-order-item .remove-jo {
            position: absolute;
            top: 10px;
            right: 10px;
            color: #dc3545;
            cursor: pointer;
            font-size: 1.2rem;
        }
        .add-jo-btn {
            border: 2px dashed var(--primary-blue);
            background: transparent;
            color: var(--primary-blue);
            padding: 15px;
            width: 100%;
            border-radius: 8px;
            font-weight: 600;
        }
        .add-jo-btn:hover { background-color: #e8f4ff; }
        .file-size-warning {
            background-color: #f8d7da;
            border: 1px solid #f5c6cb;
            color: #721c24;
            padding: 10px 15px;
            border-radius: 6px;
            margin-bottom: 15px;
        }
        .notification-box {
            background-color: #fff3cd;
            border: 1px solid #ffc107;
            border-radius: 6px;
            padding: 15px;
            margin-bottom: 15px;
        }
        .generated-pdf-section {
            background-color: #d1f0e8;
            border: 1px solid #198754;
            border-radius: 6px;
            padding: 15px;
        }
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255,255,255,0.9);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }
        .loading-overlay.hidden { display: none; }
        
        @media (max-width: 576px) {
            .selection-cards {
                flex-direction: column;
                align-items: center;
            }
            .selection-card {
                width: 100%;
                max-width: 200px;
            }
            .landing-container {
                padding: 30px 20px;
            }
        }
