/*!
 * Commission - Contact Page Styles
 * https://commission.co.il
 */

.contact-page {
            position: relative;
            z-index: 1;
            min-height: 100vh;
            padding: 100px 2rem 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Two-Column Layout */
        .contact-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            max-width: 1000px;
            width: 100%;
            align-items: stretch;
        }

        /* Shared Card Styles */
        .contact-info-card,
        .form-section {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 2rem;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--theme-transition);
            display: flex;
            flex-direction: column;
        }

        .contact-info-card::before,
        .form-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
        }

        /* Contact Info Card */
        .contact-info-header {
            text-align: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--border);
        }

        .contact-info-icon {
            width: 56px;
            height: 56px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            box-shadow: 0 6px 16px rgba(30, 58, 95, 0.2);
        }

        .contact-info-icon svg {
            width: 28px;
            height: 28px;
            stroke: white;
        }

        .contact-info-header h2 {
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.35rem;
        }

        .contact-info-header p {
            font-size: var(--font-small);
            color: var(--text-secondary);
        }

        .contact-info-items {
            display: flex;
            flex-direction: column;
            gap: 0.85rem;
            flex: 1;
        }

        .contact-info-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            color: inherit;
        }

        .contact-info-item:hover {
            border-color: var(--secondary);
            transform: translateX(-5px);
            box-shadow: var(--shadow-glow);
            background: var(--bg-card-hover);
        }

        .contact-info-item-icon {
            width: 44px;
            height: 44px;
            background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 4px 10px rgba(79, 124, 255, 0.25);
        }

        .contact-info-item-icon svg {
            width: 22px;
            height: 22px;
            stroke: white;
        }

        .contact-info-item-content {
            display: flex;
            flex-direction: column;
            gap: 0.2rem;
        }

        .contact-info-label {
            font-size: var(--font-xs);
            color: var(--text-muted);
            font-weight: 500;
        }

        .contact-info-value {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-primary);
            transition: color 0.3s ease;
        }

        .contact-info-item:hover .contact-info-value {
            color: var(--secondary);
        }

        /* Form Main Header - Always Visible */
        .form-main-header {
            text-align: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--border);
        }

        .form-main-header .step-icon {
            width: 56px;
            height: 56px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            box-shadow: 0 6px 16px rgba(30, 58, 95, 0.2);
        }

        .form-main-header .step-icon svg {
            width: 28px;
            height: 28px;
            stroke: white;
        }

        .form-main-header h2 {
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.35rem;
        }

        .form-main-header p {
            font-size: var(--font-small);
            color: var(--text-secondary);
        }

        /* Progress Steps */
        .progress-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }

        .progress-step {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: var(--bg-elevated);
            border: 2px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: var(--font-small);
            color: var(--text-muted);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }

        .progress-step.active {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
            border-color: var(--secondary);
            color: white;
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(79, 124, 255, 0.35);
        }

        .progress-step.completed {
            background: var(--success);
            border-color: var(--success);
            color: white;
            box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
        }

        .progress-step.completed svg {
            width: 14px;
            height: 14px;
            stroke: white;
        }

        .progress-line {
            width: 40px;
            height: 2px;
            background: var(--border);
            border-radius: 2px;
            transition: all 0.4s ease;
        }

        .progress-line.active {
            background: linear-gradient(90deg, var(--success), var(--secondary));
        }

        /* Form Container */
        .form-container {
            width: 100%;
            max-width: 600px;
            position: relative;
        }

        /* Form Steps */
        .form-step {
            display: none;
            animation: fadeSlideIn 0.5s ease forwards;
        }

        .form-step.active {
            display: block;
        }

        @keyframes fadeSlideIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Step Header - Matches Contact Info Header */
        .step-header {
            text-align: center;
            margin-bottom: 1.5rem;
        }

        .step-icon {
            width: 56px;
            height: 56px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            animation: float 3s ease-in-out infinite;
            box-shadow: 0 6px 16px rgba(30, 58, 95, 0.2);
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-5px); }
        }

        .step-icon svg {
            width: 28px;
            height: 28px;
            stroke: white;
        }

        .step-header h2 {
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.35rem;
        }

        .step-header p {
            font-size: var(--font-small);
            color: var(--text-secondary);
        }

        /* Interest Cards Grid */
        .interest-cards {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.85rem;
            margin-bottom: 1.25rem;
        }

        .interest-card {
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 1rem;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-align: center;
        }

        .interest-card:hover {
            border-color: var(--border-hover);
            transform: translateY(-2px);
            box-shadow: var(--shadow);
            background: var(--bg-card-hover);
        }

        .interest-card.selected {
            border-color: var(--secondary);
            background: var(--bg-card);
            box-shadow: var(--shadow-glow);
        }

        .interest-card-icon {
            width: 40px;
            height: 40px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 0.5rem;
            transition: all 0.3s ease;
        }

        .interest-card.selected .interest-card-icon {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
            border-color: var(--secondary);
            box-shadow: 0 4px 10px rgba(79, 124, 255, 0.25);
        }

        .interest-card-icon svg {
            width: 20px;
            height: 20px;
            stroke: var(--secondary);
            transition: all 0.3s ease;
        }

        .interest-card.selected .interest-card-icon svg {
            stroke: white;
        }

        .interest-card h3 {
            font-size: var(--font-small);
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.2rem;
        }

        .interest-card p {
            font-size: var(--font-xs);
            color: var(--text-muted);
        }

        /* Modern Input Groups */
        .input-group {
            position: relative;
            margin-bottom: 1rem;
        }

        .input-group input,
        .input-group textarea {
            width: 100%;
            padding: 0.85rem 1rem;
            font-size: var(--font-small);
            font-family: 'Heebo', sans-serif;
            color: var(--text-primary);
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            transition: all 0.3s ease;
            outline: none;
        }

        .input-group input:focus,
        .input-group textarea:focus {
            border-color: var(--secondary);
            box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.1);
            background: var(--bg-card);
        }

        .input-group input::placeholder,
        .input-group textarea::placeholder {
            color: var(--text-muted);
        }

        .input-group label {
            position: absolute;
            right: 0.85rem;
            top: -0.5rem;
            background: var(--bg-card);
            padding: 0 0.4rem;
            font-size: var(--font-xs);
            font-weight: 600;
            color: var(--secondary);
            border-radius: 4px;
        }

        .input-group textarea {
            min-height: 70px;
            resize: none;
        }

        .input-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.85rem;
        }

        /* Agents Selector */
        .agents-selector {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            justify-content: center;
            margin-bottom: 1rem;
        }

        .agent-option {
            padding: 0.55rem 0.9rem;
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            border-radius: 100px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            font-size: var(--font-xs);
            color: var(--text-secondary);
        }

        .agent-option:hover {
            border-color: var(--border-hover);
            color: var(--text-primary);
            background: var(--bg-card-hover);
        }

        .agent-option.selected {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
            border-color: var(--secondary);
            color: white;
            box-shadow: 0 4px 10px rgba(79, 124, 255, 0.25);
        }

        /* Navigation Buttons */
        .form-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 1.25rem;
            gap: 0.85rem;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            padding: 0.75rem 1.25rem;
            font-size: var(--font-small);
            font-weight: 600;
            font-family: 'Heebo', sans-serif;
            border-radius: var(--radius);
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: none;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
            color: white;
            box-shadow: 0 4px 12px rgba(79, 124, 255, 0.3);
            flex: 1;
            max-width: 160px;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(79, 124, 255, 0.4);
        }

        .btn-secondary {
            background: var(--bg-elevated);
            color: var(--text-secondary);
            border: 1px solid var(--border);
        }

        .btn-secondary:hover {
            border-color: var(--border-hover);
            color: var(--text-primary);
            background: var(--bg-card-hover);
        }

        .btn svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
            transition: transform 0.3s ease;
        }

        .btn-primary:hover svg { transform: translateX(-3px); }
        .btn-secondary:hover svg { transform: translateX(3px); }

        /* Success State */
        .success-state {
            text-align: center;
            padding: 1.5rem 1rem;
        }

        .success-icon {
            width: 64px;
            height: 64px;
            background: linear-gradient(135deg, var(--success) 0%, #34D399 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            animation: successPop 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 6px 16px rgba(34, 197, 94, 0.25);
        }

        @keyframes successPop {
            0% { transform: scale(0); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }

        .success-icon svg {
            width: 32px;
            height: 32px;
            stroke: white;
            stroke-width: 3;
        }

        .success-state h2 {
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .success-state p {
            font-size: var(--font-small);
            color: var(--text-secondary);
            margin-bottom: 1.25rem;
            line-height: 1.6;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .nav-links { display: none; }
            .mobile-menu-toggle { display: flex; }

            /* Stack layout on tablet */
            .contact-layout {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            /* On mobile: Form first, then contact info */
            .form-section {
                order: 1;
            }
            .contact-info-card {
                order: 2;
            }

            /* Modern Full-Screen Mobile Menu */
            .nav-links.active {
                display: flex !important;
                flex-direction: column;
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background-color: #080c1a !important;
                background: linear-gradient(135deg, #080c1a 0%, #0f1628 50%, #141d35 100%) !important;
                padding: 120px 2rem 2rem;
                gap: 0;
                z-index: 9999;
                animation: menuFadeIn 0.4s ease;
            }

            /* Light theme mobile menu */
            [data-theme="light"] .nav-links.active {
                background-color: #ffffff !important;
                background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 50%, #f0f2f8 100%) !important;
            }

            [data-theme="light"] .nav-links.active a {
                color: #1a1a2e !important;
            }

            [data-theme="light"] .nav-links.active a:hover {
                color: var(--secondary) !important;
            }

            [data-theme="light"] .nav-links.active li {
                border-bottom: 1px solid rgba(30, 58, 95, 0.1);
            }

            @keyframes menuFadeIn {
                from { opacity: 0; transform: translateY(-20px); }
                to { opacity: 1; transform: translateY(0); }
            }

            .nav-links.active li {
                opacity: 0;
                animation: menuItemSlide 0.5s ease forwards;
                border-bottom: 1px solid rgba(79, 124, 255, 0.1);
            }

            .nav-links.active li:nth-child(1) { animation-delay: 0.1s; }
            .nav-links.active li:nth-child(2) { animation-delay: 0.2s; }
            .nav-links.active li:nth-child(3) { animation-delay: 0.3s; }
            .nav-links.active li:nth-child(4) { animation-delay: 0.4s; }
            .nav-links.active li:last-child { border-bottom: none; }

            @keyframes menuItemSlide {
                from { opacity: 0; transform: translateX(-30px); }
                to { opacity: 1; transform: translateX(0); }
            }

            .nav-links.active a {
                display: flex;
                align-items: center;
                padding: 1.5rem 0;
                font-size: 1.5rem;
                font-weight: 600;
                color: var(--text-primary);
                transition: all 0.3s ease;
                position: relative;
            }

            .nav-links.active a::before {
                content: '';
                position: absolute;
                left: -2rem;
                width: 4px;
                height: 0;
                background: linear-gradient(135deg, var(--secondary) 0%, #6B8FFF 100%);
                border-radius: 2px;
                transition: height 0.3s ease;
            }

            .nav-links.active a:hover {
                color: var(--secondary);
                transform: translateX(10px);
            }

            .nav-links.active a:hover::before {
                height: 100%;
            }

            /* Hamburger to X animation */
            .mobile-menu-toggle {
                position: relative;
                z-index: 1001;
            }

            .mobile-menu-toggle span {
                transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            }

            .mobile-menu-toggle.active span:nth-child(1) {
                transform: rotate(45deg) translate(6px, 6px);
                background: var(--secondary);
            }

            .mobile-menu-toggle.active span:nth-child(2) {
                opacity: 0;
                transform: translateX(20px);
            }

            .mobile-menu-toggle.active span:nth-child(3) {
                transform: rotate(-45deg) translate(6px, -6px);
                background: var(--secondary);
            }
        }

        @media (max-width: 768px) {
            .contact-page { padding: 90px 1rem 2rem; }

            /* Both Cards Mobile */
            .contact-info-card,
            .form-section { padding: 1.5rem; }

            /* Contact Info Card Mobile */
            .contact-info-header { margin-bottom: 1.25rem; padding-bottom: 1rem; }
            .contact-info-header h2 { font-size: 1.2rem; }
            .contact-info-icon { width: 48px; height: 48px; }
            .contact-info-icon svg { width: 24px; height: 24px; }
            .contact-info-item { padding: 0.85rem; }
            .contact-info-item-icon { width: 38px; height: 38px; }
            .contact-info-item-icon svg { width: 18px; height: 18px; }

            /* Form Section Mobile */
            .form-main-header { margin-bottom: 1.25rem; padding-bottom: 1rem; }
            .form-main-header h2 { font-size: 1.2rem; }
            .form-main-header .step-icon { width: 48px; height: 48px; }
            .form-main-header .step-icon svg { width: 24px; height: 24px; }
            .progress-container { margin-bottom: 1.25rem; }
            .interest-cards { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
            .interest-card { padding: 0.85rem 0.65rem; }
            .interest-card-icon { width: 34px; height: 34px; }
            .interest-card-icon svg { width: 16px; height: 16px; }
            .input-row { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
            .input-group { margin-bottom: 0.85rem; }
            .input-group input, .input-group textarea { padding: 0.75rem 0.85rem; }
            .agents-selector { gap: 0.4rem; }
            .agent-option { padding: 0.5rem 0.75rem; }
            .form-nav { margin-top: 1rem; }
            .btn { padding: 0.65rem 1rem; }
        }

        @media (max-width: 480px) {
            .contact-page { padding: 85px 0.75rem 1.5rem; }
            .contact-layout { gap: 1rem; }

            /* Both Cards Extra Small */
            .contact-info-card,
            .form-section { padding: 1.25rem; border-radius: 16px; }

            /* Contact Info Card Extra Small */
            .contact-info-header { margin-bottom: 1rem; padding-bottom: 0.85rem; }
            .contact-info-header h2 { font-size: 1.1rem; }
            .contact-info-icon { width: 44px; height: 44px; border-radius: 12px; }
            .contact-info-icon svg { width: 22px; height: 22px; }
            .contact-info-items { gap: 0.65rem; }
            .contact-info-item { padding: 0.75rem; gap: 0.75rem; }
            .contact-info-item-icon { width: 36px; height: 36px; border-radius: 8px; }
            .contact-info-item-icon svg { width: 16px; height: 16px; }

            /* Form Section Extra Small */
            .form-main-header { margin-bottom: 1rem; padding-bottom: 0.85rem; }
            .form-main-header h2 { font-size: 1.1rem; }
            .form-main-header .step-icon { width: 44px; height: 44px; border-radius: 12px; }
            .form-main-header .step-icon svg { width: 22px; height: 22px; }
            .progress-step { width: 30px; height: 30px; }
            .progress-line { width: 30px; height: 2px; }
            .progress-container { margin-bottom: 1rem; }
            .interest-cards { gap: 0.5rem; }
            .interest-card { padding: 0.75rem 0.5rem; }
            .interest-card-icon { width: 30px; height: 30px; border-radius: 8px; }
            .interest-card-icon svg { width: 14px; height: 14px; }
        }

        /* ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•
           ACCESSIBILITY WIDGET - ׳ ׳’׳™׳©׳•׳×
        ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג• */
        .accessibility-widget {
            position: fixed;
            bottom: 20px;
            left: 20px;
            z-index: 10000;
            font-family: inherit;
        }

        .accessibility-toggle {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--secondary) 0%, #6B8FFF 100%);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(79, 124, 255, 0.4);
            transition: all 0.3s ease;
        }

        .accessibility-toggle:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 30px rgba(79, 124, 255, 0.5);
        }

        .accessibility-toggle svg {
            width: 28px;
            height: 28px;
            fill: white;
        }

        .accessibility-panel {
            position: absolute;
            bottom: 70px;
            left: 0;
            width: 320px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 16px;
            box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
            padding: 1.5rem;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.3s ease;
        }

        .accessibility-panel.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .accessibility-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1.25rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--border);
        }

        .accessibility-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .accessibility-title svg {
            width: 22px;
            height: 22px;
            fill: var(--secondary);
        }

        .accessibility-close {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            border: 1px solid var(--border);
            background: var(--bg-elevated);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .accessibility-close:hover {
            background: var(--bg-card);
            border-color: var(--secondary);
        }

        .accessibility-close svg {
            width: 16px;
            height: 16px;
            stroke: var(--text-secondary);
        }

        .accessibility-options {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .accessibility-option {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.875rem 1rem;
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .accessibility-option:hover {
            border-color: var(--secondary);
            background: rgba(79, 124, 255, 0.05);
        }

        .accessibility-option.active {
            border-color: var(--secondary);
            background: rgba(79, 124, 255, 0.1);
        }

        .accessibility-option-info {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .accessibility-option-icon {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            background: var(--bg-card);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .accessibility-option-icon svg {
            width: 18px;
            height: 18px;
            stroke: var(--secondary);
            fill: none;
            stroke-width: 2;
        }

        .accessibility-option-text {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-primary);
        }

        .accessibility-option-toggle {
            width: 44px;
            height: 24px;
            border-radius: 12px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            position: relative;
            transition: all 0.2s ease;
        }

        .accessibility-option-toggle::after {
            content: '';
            position: absolute;
            top: 2px;
            left: 2px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--text-muted);
            transition: all 0.2s ease;
        }

        .accessibility-option.active .accessibility-option-toggle {
            background: var(--secondary);
            border-color: var(--secondary);
        }

        .accessibility-option.active .accessibility-option-toggle::after {
            left: 22px;
            background: white;
        }

        .accessibility-font-controls {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .accessibility-font-btn {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            border: 1px solid var(--border);
            background: var(--bg-card);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-secondary);
            transition: all 0.2s ease;
        }

        .accessibility-font-btn:hover {
            border-color: var(--secondary);
            color: var(--secondary);
        }

        .accessibility-font-size {
            font-size: 0.85rem;
            color: var(--text-muted);
            min-width: 45px;
            text-align: center;
        }

        .accessibility-reset {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid var(--border);
        }

        .accessibility-reset-btn {
            width: 100%;
            padding: 0.75rem;
            border-radius: 10px;
            border: 1px solid var(--border);
            background: var(--bg-elevated);
            color: var(--text-secondary);
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .accessibility-reset-btn:hover {
            border-color: #ef4444;
            color: #ef4444;
            background: rgba(239, 68, 68, 0.1);
        }

        /* Accessibility States */
        html.acc-high-contrast { filter: contrast(1.4); }
        html.acc-grayscale { filter: grayscale(1); }
        html.acc-high-contrast.acc-grayscale { filter: contrast(1.4) grayscale(1); }

        html.acc-highlight-links a {
            outline: 2px solid #FFD700 !important;
            outline-offset: 2px;
            background: rgba(255, 215, 0, 0.1) !important;
        }

        html.acc-big-cursor, html.acc-big-cursor * {
            cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="%23000" stroke="%23fff" stroke-width="1"><path d="M4 4l16 8-7 2-2 7z"/></svg>') 0 0, auto !important;
        }

        html.acc-stop-animations *, html.acc-stop-animations *::before, html.acc-stop-animations *::after {
            animation: none !important;
            transition: none !important;
        }

        html.acc-reading-guide .reading-guide-bar { display: block; }

        .reading-guide-bar {
            display: none;
            position: fixed;
            left: 0;
            right: 0;
            height: 40px;
            background: rgba(79, 124, 255, 0.15);
            border-top: 2px solid var(--secondary);
            border-bottom: 2px solid var(--secondary);
            pointer-events: none;
            z-index: 9999;
        }

        @media (max-width: 768px) {
            .accessibility-widget { bottom: 15px; left: 15px; }
            .accessibility-toggle { width: 50px; height: 50px; }
            .accessibility-toggle svg { width: 24px; height: 24px; }
            .accessibility-panel { width: calc(100vw - 30px); max-width: 320px; }
        }
