
        :root {
            --primary: #1a2b3d;
            --primary-light: #2d4159;
            --accent: #4a90e2;
            --accent-light: #6ba3e8;
            --text-dark: #1a1a1a;
            --text-medium: #4a4a4a;
            --text-light: #7a7a7a;
            --bg-cream: #faf8f5;
            --bg-white: #ffffff;
            --border: #e0ddd8;
            --shadow: rgba(26, 43, 61, 0.08);
            --success: #2d7a4f;
            --warning: #d97706;
            --danger: #c53030;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Work Sans', sans-serif;
            background: linear-gradient(135deg, var(--bg-cream) 0%, #f5f2ed 100%);
            color: var(--text-dark);
            line-height: 1.6;
            min-height: 100vh;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem;
        }

        /* Branding Header */
        .branding-header {
            background: white;
            padding: 1.5rem 2rem;
            box-shadow: 0 2px 10px var(--shadow);
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-radius: 12px;
        }

        .logo-section {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .logo-section img {
            height: 80px;
            width: auto;
        }

        .academy-title {
            font-family: 'Cormorant Garamond', serif;
        }

        .academy-title h1 {
            font-size: 1.8rem;
            color: var(--primary);
            font-weight: 700;
            line-height: 1.2;
        }

        .academy-title p {
            font-size: 0.95rem;
            color: var(--text-medium);
            margin-top: 0.25rem;
        }

        /* Login/Auth Styles */
        .auth-container {
            max-width: 450px;
            margin: 3rem auto;
            background: var(--bg-white);
            border-radius: 12px;
            padding: 3rem;
            box-shadow: 0 4px 20px var(--shadow);
            animation: fadeIn 0.6s ease-out;
        }

        .auth-logo {
            text-align: center;
            margin-bottom: 2rem;
        }

        .auth-logo img {
            height: 100px;
            width: auto;
            margin-bottom: 1rem;
        }

        .auth-container h2 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 2rem;
            text-align: center;
        }

        .tab-buttons {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 2rem;
        }

        .tab-btn {
            flex: 1;
            padding: 0.75rem;
            border: none;
            background: var(--bg-cream);
            color: var(--text-medium);
            cursor: pointer;
            border-radius: 6px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .tab-btn.active {
            background: var(--primary);
            color: white;
        }

        /* App Navigation */
        .app-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            animation: fadeInDown 0.6s ease-out;
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 1rem;
            background: var(--bg-white);
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            box-shadow: 0 2px 10px var(--shadow);
        }

        .user-badge {
            background: var(--accent);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
        }

        .user-badge.admin {
            background: var(--primary);
        }

        /* Document Type Switcher */
        .document-switcher {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            background: var(--bg-white);
            padding: 1rem;
            border-radius: 12px;
            box-shadow: 0 2px 10px var(--shadow);
        }

        .doc-switch-btn {
            flex: 1;
            padding: 1rem;
            border: 2px solid var(--border);
            background: var(--bg-cream);
            color: var(--text-dark);
            cursor: pointer;
            border-radius: 8px;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .doc-switch-btn:hover {
            border-color: var(--accent);
            background: white;
        }

        .doc-switch-btn.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        header {
            text-align: center;
            margin-bottom: 2rem;
            animation: fadeInDown 0.6s ease-out;
        }

        h1 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 3rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.5rem;
            letter-spacing: -0.02em;
        }

        .subtitle {
            font-size: 1.1rem;
            color: var(--text-medium);
            font-weight: 300;
        }

        .main-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            animation: fadeIn 0.8s ease-out 0.2s backwards;
        }

        .form-section, .preview-section {
            background: var(--bg-white);
            border-radius: 12px;
            padding: 2.5rem;
            box-shadow: 0 4px 20px var(--shadow);
        }

        .form-section {
            max-height: calc(100vh - 200px);
            overflow-y: auto;
        }

        .form-section::-webkit-scrollbar {
            width: 8px;
        }

        .form-section::-webkit-scrollbar-track {
            background: var(--bg-cream);
            border-radius: 4px;
        }

        .form-section::-webkit-scrollbar-thumb {
            background: var(--accent);
            border-radius: 4px;
        }

        .section-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--accent);
        }

        .form-group {
            margin-bottom: 1.5rem;
            position: relative;
        }

        label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: var(--text-dark);
            font-size: 0.95rem;
        }

        input[type="text"],
        input[type="email"],
        input[type="tel"],
        input[type="password"],
        input[type="date"],
        textarea,
        select {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--border);
            border-radius: 6px;
            font-family: 'Work Sans', sans-serif;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            background: var(--bg-white);
        }

        input:focus,
        textarea:focus,
        select:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
        }

        textarea {
            min-height: 100px;
            resize: vertical;
        }

        .row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        /* Hints and Tips */
        .hint-box {
            background: #fff9f0;
            border-left: 4px solid var(--accent);
            padding: 1rem;
            margin-top: 0.5rem;
            border-radius: 4px;
            font-size: 0.9rem;
            color: var(--text-medium);
            display: flex;
            gap: 0.75rem;
            animation: slideIn 0.3s ease-out;
        }

        .hint-box::before {
            content: "💡";
            font-size: 1.2rem;
        }

        .helper-text {
            font-size: 0.85rem;
            color: var(--text-light);
            margin-top: 0.25rem;
            font-style: italic;
        }

        .btn {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 6px;
            font-family: 'Work Sans', sans-serif;
            font-size: 0.95rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-primary {
            background: var(--primary);
            color: white;
        }

        .btn-primary:hover {
            background: var(--primary-light);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px var(--shadow);
        }

        .btn-secondary {
            background: var(--accent);
            color: white;
        }

        .btn-secondary:hover {
            background: var(--accent-light);
            transform: translateY(-2px);
        }

        .btn-success {
            background: var(--success);
            color: white;
        }

        .btn-success:hover {
            background: #246b42;
        }

        .btn-danger {
            background: var(--danger);
            color: white;
        }

        .btn-danger:hover {
            background: #a52a2a;
        }

        .btn-small {
            padding: 0.5rem 1rem;
            font-size: 0.85rem;
        }

        .btn-full {
            width: 100%;
        }

        .dynamic-section {
            background: var(--bg-cream);
            padding: 1.5rem;
            border-radius: 8px;
            margin-bottom: 1.5rem;
            position: relative;
            animation: slideIn 0.3s ease-out;
        }

        .remove-btn {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: transparent;
            border: none;
            color: var(--text-light);
            cursor: pointer;
            font-size: 1.3rem;
            padding: 0.25rem;
            transition: all 0.3s ease;
        }

        .remove-btn:hover {
            color: #c53030;
            transform: scale(1.1);
        }

        .add-more-btn {
            width: 100%;
            margin-top: 1rem;
            border: 2px dashed var(--border);
            background: transparent;
            color: var(--text-medium);
        }

        .add-more-btn:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: rgba(74, 144, 226, 0.05);
        }

        /* Save Progress Bar */
        .save-status {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background: var(--bg-white);
            padding: 1rem 1.5rem;
            border-radius: 8px;
            box-shadow: 0 4px 20px var(--shadow);
            display: flex;
            align-items: center;
            gap: 0.75rem;
            animation: slideInUp 0.3s ease-out;
            z-index: 1000;
        }

        .save-status.saving {
            background: var(--warning);
            color: white;
        }

        .save-status.saved {
            background: var(--success);
            color: white;
        }

        .save-status.error {
            background: var(--danger);
            color: white;
        }

        /* CV Status Badge */
        .cv-status {
            display: inline-block;
            padding: 0.5rem 1rem;
            border-radius: 6px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .cv-status.draft {
            background: #fef3c7;
            color: #92400e;
        }

        .cv-status.pending {
            background: #dbeafe;
            color: #1e40af;
        }

        .cv-status.approved {
            background: #d1fae5;
            color: #065f46;
        }

        .cv-status.rejected {
            background: #fee2e2;
            color: #991b1b;
        }

        /* CV Preview Styles */
        .cv-preview {
            background: white;
            padding: 3rem;
            box-shadow: 0 0 30px rgba(0,0,0,0.1);
            min-height: 297mm;
            font-size: 11pt;
            line-height: 1.5;
        }

        .cv-header {
            text-align: center;
            margin-bottom: 2rem;
            padding-bottom: 1.5rem;
            border-bottom: 3px solid var(--primary);
        }

        .cv-name {
            font-family: 'Cormorant Garamond', serif;
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }

        .cv-contact {
            color: var(--text-medium);
            font-size: 0.9rem;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .cv-contact span:not(:last-child)::after {
            content: '|';
            margin-left: 1rem;
            color: var(--border);
        }

        .cv-section {
            margin-bottom: 2rem;
        }

        .cv-section-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.4rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 1rem;
            padding-bottom: 0.3rem;
            border-bottom: 2px solid var(--accent);
        }

        .cv-entry {
            margin-bottom: 1.5rem;
            page-break-inside: avoid;
        }

        .cv-entry-header {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            margin-bottom: 0.3rem;
        }

        .cv-job-title,
        .cv-degree {
            font-weight: 600;
            color: var(--text-dark);
            font-size: 1.05rem;
        }

        .cv-company,
        .cv-institution {
            color: var(--text-medium);
            font-style: italic;
        }

        .cv-dates {
            color: var(--text-light);
            font-size: 0.9rem;
            white-space: nowrap;
        }

        .cv-description {
            margin-top: 0.5rem;
            color: var(--text-dark);
        }

        .cv-skills {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .cv-skill {
            background: var(--bg-cream);
            padding: 0.4rem 0.8rem;
            border-radius: 4px;
            font-size: 0.9rem;
            color: var(--text-dark);
            border: 1px solid var(--border);
        }

        /* Cover Letter Styles */
        .cover-letter-preview {
            background: white;
            padding: 3rem;
            box-shadow: 0 0 30px rgba(0,0,0,0.1);
            min-height: 297mm;
            font-size: 11pt;
            line-height: 1.8;
        }

        .letter-header {
            margin-bottom: 2rem;
        }

        .sender-address {
            margin-bottom: 1.5rem;
        }

        .recipient-address {
            margin-bottom: 1.5rem;
        }

        .letter-date {
            margin-bottom: 1.5rem;
            font-style: italic;
        }

        .letter-salutation {
            margin-bottom: 1.5rem;
            font-weight: 600;
        }

        .letter-body {
            margin-bottom: 1.5rem;
        }

        .letter-body p {
            margin-bottom: 1rem;
        }

        .letter-closing {
            margin-top: 2rem;
        }

        .letter-signature {
            margin-top: 3rem;
        }

        .action-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
            flex-wrap: wrap;
        }

        .action-buttons .btn {
            flex: 1;
            min-width: 150px;
        }

        .uk-badge {
            background: var(--accent);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-left: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Admin Panel Styles */
        .admin-panel {
            background: var(--bg-white);
            border-radius: 12px;
            padding: 2rem;
            margin-top: 2rem;
            box-shadow: 0 4px 20px var(--shadow);
        }

        .cv-list {
            display: grid;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .cv-item {
            background: var(--bg-cream);
            padding: 1.5rem;
            border-radius: 8px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
        }

        .cv-item:hover {
            box-shadow: 0 4px 12px var(--shadow);
            transform: translateY(-2px);
        }

        .cv-item-info h3 {
            color: var(--primary);
            margin-bottom: 0.5rem;
        }

        .cv-item-meta {
            font-size: 0.9rem;
            color: var(--text-medium);
        }

        .cv-item-actions {
            display: flex;
            gap: 0.5rem;
        }

        .info-box {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            color: white;
            padding: 1.5rem;
            border-radius: 8px;
            margin-bottom: 2rem;
            animation: fadeIn 0.6s ease-out 0.4s backwards;
        }

        .info-box h3 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.3rem;
            margin-bottom: 0.75rem;
        }

        .info-box ul {
            margin-left: 1.5rem;
            font-size: 0.95rem;
            line-height: 1.8;
        }

        .info-box li {
            margin-bottom: 0.5rem;
        }

        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeOut {
            from {
                opacity: 1;
                transform: translateX(0);
            }
            to {
                opacity: 0;
                transform: translateX(-20px);
            }
        }

        @media (max-width: 1200px) {
            .main-content {
                grid-template-columns: 1fr;
            }

            .form-section {
                max-height: none;
            }
        }

        @media print {
            body {
                background: white;
            }

            .form-section,
            .action-buttons,
            .app-header,
            .branding-header,
            .document-switcher,
            header,
            .save-status,
            .hint-box {
                display: none !important;
            }

            .preview-section {
                box-shadow: none;
                padding: 0;
            }

            .main-content {
                grid-template-columns: 1fr;
            }

            .cv-status {
                display: none !important;
            }
        }

        .hidden {
            display: none !important;
        }

        /* Alert Messages */
        .alert {
            padding: 1rem;
            border-radius: 6px;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .alert-success {
            background: #d1fae5;
            color: #065f46;
            border: 1px solid #6ee7b7;
        }

        .alert-error {
            background: #fee2e2;
            color: #991b1b;
            border: 1px solid #fca5a5;
        }

        .alert-info {
            background: #dbeafe;
            color: #1e40af;
            border: 1px solid #93c5fd;
        }

        /* Question-Based Builder Styles */
        .question-card {
            background: var(--bg-cream);
            padding: 2rem;
            border-radius: 12px;
            margin-bottom: 2rem;
            border-left: 4px solid var(--accent);
            animation: slideIn 0.3s ease-out;
        }

        .question-number {
            display: inline-block;
            background: var(--accent);
            color: white;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            text-align: center;
            line-height: 32px;
            font-weight: 600;
            margin-right: 0.75rem;
        }

        .question-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
        }

        .question-description {
            color: var(--text-medium);
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .question-examples {
            background: white;
            padding: 1rem;
            border-radius: 6px;
            margin-top: 1rem;
            font-size: 0.9rem;
        }

        .question-examples h4 {
            color: var(--primary);
            font-size: 0.95rem;
            margin-bottom: 0.5rem;
        }

        .question-examples ul {
            margin-left: 1.5rem;
            color: var(--text-medium);
        }

        .progress-tracker {
            background: white;
            padding: 1.5rem;
            border-radius: 12px;
            margin-bottom: 2rem;
            box-shadow: 0 2px 10px var(--shadow);
        }

        .progress-bar {
            width: 100%;
            height: 8px;
            background: var(--bg-cream);
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 1rem;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--accent), var(--accent-light));
            transition: width 0.3s ease;
        }

        .progress-text {
            text-align: center;
            color: var(--text-medium);
            font-size: 0.9rem;
        }

        .word-counter {
            text-align: right;
            font-size: 0.85rem;
            color: var(--text-light);
            margin-top: 0.5rem;
        }

        .word-counter.warning {
            color: var(--warning);
        }

        .word-counter.success {
            color: var(--success);
        }

        .statement-type-selector {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .type-option {
            background: white;
            padding: 1.5rem;
            border: 2px solid var(--border);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .type-option:hover {
            border-color: var(--accent);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px var(--shadow);
        }

        .type-option.selected {
            border-color: var(--accent);
            background: rgba(74, 144, 226, 0.05);
        }

        .type-option h3 {
            color: var(--primary);
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }

        .type-option p {
            color: var(--text-medium);
            font-size: 0.9rem;
        }

        .auto-generate-section {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            padding: 1.5rem;
            border-radius: 8px;
            margin-top: 2rem;
            border: 2px dashed var(--accent);
        }

        .auto-generate-section h3 {
            color: var(--primary);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .copy-success {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: var(--success);
            color: white;
            padding: 1.5rem 3rem;
            border-radius: 8px;
            font-size: 1.2rem;
            font-weight: 600;
            box-shadow: 0 8px 30px rgba(0,0,0,0.3);
            animation: popIn 0.3s ease-out;
            z-index: 10000;
        }

        @keyframes popIn {
            0% {
                opacity: 0;
                transform: translate(-50%, -50%) scale(0.8);
            }
            100% {
                opacity: 1;
                transform: translate(-50%, -50%) scale(1);
            }
        }

        /* GDPR Notice Styles */
        .gdpr-notice {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            border: 2px solid var(--accent);
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            animation: slideIn 0.5s ease-out;
        }

        .gdpr-notice h3 {
            color: var(--primary);
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        .gdpr-content {
            font-size: 0.9rem;
            line-height: 1.6;
        }

        .gdpr-content p {
            margin-bottom: 0.75rem;
        }

        .gdpr-content ul {
            margin: 0.5rem 0 0.75rem 1.5rem;
            list-style: disc;
        }

        .gdpr-content li {
            margin-bottom: 0.25rem;
        }

        .auth-container {
            max-height: 90vh;
            overflow-y: auto;
        }

        /* Admin Client Management Styles */
        .client-management {
            background: var(--bg-white);
            border-radius: 12px;
            padding: 2rem;
            margin-top: 2rem;
            box-shadow: 0 4px 20px var(--shadow);
        }

        .client-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 1.5rem;
        }

        .client-table th {
            background: var(--primary);
            color: white;
            padding: 1rem;
            text-align: left;
            font-weight: 600;
        }

        .client-table td {
            padding: 1rem;
            border-bottom: 1px solid var(--border);
        }

        .client-table tr:hover {
            background: var(--bg-cream);
        }

        .status-badge {
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .status-badge.active {
            background: #d1fae5;
            color: #065f46;
        }

        .status-badge.disabled {
            background: #fee2e2;
            color: #991b1b;
        }

        .toggle-btn {
            padding: 0.4rem 0.8rem;
            border: none;
            border-radius: 4px;
            font-size: 0.85rem;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .toggle-btn.disable {
            background: var(--danger);
            color: white;
        }

        .toggle-btn.enable {
            background: var(--success);
            color: white;
        }

        .toggle-btn:hover {
            opacity: 0.8;
            transform: translateY(-1px);
        }

        .client-search {
            margin-bottom: 1.5rem;
        }

        .client-search input {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--border);
            border-radius: 6px;
            font-size: 0.95rem;
        }

        /* Post-Login Disclaimer Overlay */
        .disclaimer-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            animation: fadeIn 0.3s ease-out;
        }

        .disclaimer-modal {
            background: white;
            max-width: 900px;
            max-height: 90vh;
            overflow-y: auto;
            border-radius: 12px;
            box-shadow: 0 10px 50px rgba(0,0,0,0.3);
            animation: slideInUp 0.4s ease-out;
        }

        .disclaimer-header {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            color: white;
            padding: 2rem;
            text-align: center;
            border-radius: 12px 12px 0 0;
        }

        .disclaimer-header h2 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }

        .disclaimer-content {
            padding: 2rem;
        }

        .disclaimer-section {
            background: var(--bg-cream);
            padding: 1.5rem;
            border-radius: 8px;
            margin-bottom: 1.5rem;
            border-left: 4px solid var(--accent);
        }

        .disclaimer-section h3 {
            color: var(--primary);
            font-size: 1.3rem;
            margin-bottom: 1rem;
            font-family: 'Cormorant Garamond', serif;
        }

        .disclaimer-section p {
            margin-bottom: 0.75rem;
            line-height: 1.7;
        }

        .disclaimer-section ul {
            margin-left: 1.5rem;
            margin-top: 0.5rem;
        }

        .disclaimer-section li {
            margin-bottom: 0.5rem;
            line-height: 1.6;
        }

        .warning-box {
            background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
            border-left: 4px solid var(--danger);
        }

        .disclaimer-acceptance {
            background: #f0f9ff;
            border: 2px solid var(--accent);
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .acceptance-checkbox {
            display: flex;
            gap: 1rem;
            cursor: pointer;
            align-items: flex-start;
        }

        .acceptance-checkbox input[type="checkbox"] {
            width: 24px;
            height: 24px;
            min-width: 24px;
            margin-top: 0.25rem;
            cursor: pointer;
        }

        .acceptance-checkbox span {
            flex: 1;
            line-height: 1.6;
        }

        .acceptance-checkbox ul {
            margin-left: 1.5rem;
            font-size: 0.9rem;
        }

        .disclaimer-actions {
            margin-top: 2rem;
        }

        .disclaimer-modal::-webkit-scrollbar {
            width: 8px;
        }

        .disclaimer-modal::-webkit-scrollbar-track {
            background: var(--bg-cream);
        }

        .disclaimer-modal::-webkit-scrollbar-thumb {
            background: var(--accent);
            border-radius: 4px;
        }

        /* Partnership Section */
        .partnership-section {
            text-align: center;
            padding: 1rem;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px var(--shadow);
        }

        /* Language Selector at Login */
        .language-selector-top {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            color: white;
            padding: 1.5rem;
            border-radius: 8px;
            margin-bottom: 2rem;
            text-align: center;
        }

        .language-selector-top label {
            display: block;
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .language-selector-top select {
            width: 100%;
            padding: 0.75rem;
            border: 2px solid white;
            border-radius: 6px;
            font-size: 1rem;
            font-weight: 500;
            background: white;
            color: var(--text-dark);
            cursor: pointer;
        }

        .language-notice {
            margin-top: 1rem;
            font-size: 0.9rem;
            background: rgba(255, 255, 255, 0.2);
            padding: 0.75rem;
            border-radius: 4px;
            line-height: 1.5;
        }

        /* Translator Widget */
        .translator-widget {
            position: fixed;
            bottom: 2rem;
            left: 2rem;
            background: white;
            padding: 1rem;
            border-radius: 8px;
            box-shadow: 0 4px 20px var(--shadow);
            z-index: 1000;
            min-width: 200px;
        }

        .translator-toggle {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
        }

        .translator-toggle:hover {
            background: var(--primary-light);
            transform: translateY(-2px);
        }

        .translator-panel {
            margin-top: 1rem;
            display: none;
        }

        .translator-panel.active {
            display: block;
            animation: slideInUp 0.3s ease-out;
        }

        .language-selector {
            width: 100%;
            padding: 0.5rem;
            border: 1px solid var(--border);
            border-radius: 4px;
            margin-bottom: 0.5rem;
        }

        .translate-btn {
            width: 100%;
            padding: 0.5rem;
            background: var(--accent);
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 500;
        }

        .translate-btn:hover {
            background: var(--accent-light);
        }

        /* Photo Upload Styles */
        .photo-upload-section {
            background: var(--bg-cream);
            padding: 1.5rem;
            border-radius: 8px;
            margin-bottom: 1.5rem;
            border: 2px dashed var(--border);
            text-align: center;
        }

        .photo-preview {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            margin: 1rem auto;
            border: 4px solid var(--accent);
            display: none;
        }

        .photo-preview.active {
            display: block;
        }

        .photo-upload-btn {
            background: var(--accent);
            color: white;
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 500;
            margin-top: 1rem;
        }

        .photo-upload-btn:hover {
            background: var(--accent-light);
        }

        .photo-instructions {
            font-size: 0.9rem;
            color: var(--text-medium);
            margin-top: 0.5rem;
        }

        /* Step-by-Step Cover Letter Builder */
        .step-container {
            background: white;
            border-radius: 12px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 2px 10px var(--shadow);
            border-left: 5px solid var(--accent);
            animation: slideIn 0.3s ease-out;
        }

        .step-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid var(--border);
        }

        .step-number {
            background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 700;
            flex-shrink: 0;
        }

        .step-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.5rem;
            color: var(--primary);
            font-weight: 600;
        }

        .step-description {
            background: #f0f9ff;
            padding: 1rem;
            border-radius: 6px;
            margin-bottom: 1.5rem;
            border-left: 3px solid var(--accent);
        }

        .step-example {
            background: #fff9f0;
            padding: 1rem;
            border-radius: 6px;
            margin-top: 1rem;
            font-size: 0.9rem;
            font-style: italic;
            color: var(--text-medium);
        }

        .step-example strong {
            color: var(--primary);
            font-style: normal;
        }

        .step-navigation {
            display: flex;
            justify-content: space-between;
            margin-top: 2rem;
            padding-top: 1rem;
            border-top: 2px solid var(--border);
        }

        .step-progress-bar {
            background: var(--bg-cream);
            height: 8px;
            border-radius: 4px;
            margin-bottom: 2rem;
            overflow: hidden;
        }

        .step-progress-fill {
            background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
            height: 100%;
            transition: width 0.3s ease;
        }

        .step-indicator {
            text-align: center;
            margin-bottom: 1rem;
            font-weight: 600;
            color: var(--text-medium);
        }

        /* Word Document Preview Styling */
        .word-document-preview {
            background: white;
            padding: 3rem;
            min-height: 600px;
            font-family: 'Calibri', 'Arial', sans-serif;
            font-size: 11pt;
            line-height: 1.6;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
        }

        .word-header {
            margin-bottom: 2rem;
        }

        .word-address-block {
            margin-bottom: 1.5rem;
            line-height: 1.4;
        }

        .word-date {
            margin-bottom: 2rem;
        }

        .word-salutation {
            margin-bottom: 1.5rem;
            font-weight: 600;
        }

        .word-paragraph {
            margin-bottom: 1rem;
            text-align: justify;
        }

        .word-closing {
            margin-top: 2rem;
        }

        .word-signature {
            margin-top: 3rem;
            font-weight: 600;
        }
    

    