/* Accessibility Widget Styles */
.acc-widget-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1e3a5f;
    color: #fff;
    border: 3px solid #93c5fd;
    cursor: pointer;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s, background 0.2s;
    line-height: 1;
}
.acc-widget-btn:hover,
.acc-widget-btn:focus {
    transform: scale(1.1);
    background: #2563eb;
    outline: 3px solid #fbbf24;
}

.acc-panel {
    position: fixed;
    bottom: 90px;
    left: 20px;
    z-index: 99998;
    background: #1a1a2e;
    color: #f0f0f0;
    border-radius: 16px;
    padding: 20px;
    width: 280px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    border: 2px solid #93c5fd;
    display: none;
    direction: rtl;
    font-family: Arial, Helvetica, sans-serif;
}
.acc-panel.active {
    display: block;
}
.acc-panel-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 16px;
    text-align: center;
    color: #93c5fd;
    border-bottom: 1px solid #93c5fd33;
    padding-bottom: 10px;
}
.acc-panel-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 8px;
    border: 1px solid #93c5fd44;
    border-radius: 10px;
    background: #16213e;
    color: #f0f0f0;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    direction: rtl;
    text-align: right;
}
.acc-panel-btn:hover,
.acc-panel-btn:focus {
    background: #1e3a5f;
    border-color: #93c5fd;
    outline: 2px solid #fbbf24;
}
.acc-panel-btn.active {
    background: #2563eb;
    border-color: #93c5fd;
}
.acc-panel-btn .acc-icon {
    font-size: 20px;
    min-width: 28px;
    text-align: center;
}
.acc-panel-reset {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    border: 1px solid #ef4444;
    border-radius: 10px;
    background: transparent;
    color: #ef4444;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
}
.acc-panel-reset:hover,
.acc-panel-reset:focus {
    background: #ef444422;
    outline: 2px solid #fbbf24;
}
.acc-panel-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: #93c5fd;
    font-size: 13px;
    text-decoration: underline;
}
.acc-panel-link:hover,
.acc-panel-link:focus {
    color: #fbbf24;
}

/* Accessibility Modes */
html.acc-font-1 { font-size: 112.5% !important; }
html.acc-font-2 { font-size: 125% !important; }
html.acc-font-3 { font-size: 137.5% !important; }

html.acc-contrast body {
    background: #000 !important;
    color: #fff !important;
}
html.acc-contrast .header,
html.acc-contrast .footer,
html.acc-contrast .hero,
html.acc-contrast section {
    background: #000 !important;
    color: #fff !important;
}
html.acc-contrast a {
    color: #fbbf24 !important;
}
html.acc-contrast .card,
html.acc-contrast .faq-item,
html.acc-contrast .step-card,
html.acc-contrast .blog-card,
html.acc-contrast .form-group,
html.acc-contrast .lead-form {
    background: #111 !important;
    color: #fff !important;
    border-color: #fbbf24 !important;
}
html.acc-contrast input,
html.acc-contrast select,
html.acc-contrast textarea,
html.acc-contrast button {
    background: #222 !important;
    color: #fff !important;
    border-color: #fbbf24 !important;
}

html.acc-links a {
    text-decoration: underline !important;
    outline: 2px solid #fbbf24 !important;
    outline-offset: 2px;
}

html.acc-grayscale body {
    filter: grayscale(100%) !important;
}

html.acc-big-cursor,
html.acc-big-cursor * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='16' cy='16' r='14' fill='%23000' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E"), auto !important;
}

html.acc-reading-guide .acc-reading-line {
    display: block !important;
}
.acc-reading-line {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(251, 191, 36, 0.35);
    z-index: 99990;
    pointer-events: none;
    transition: top 0.05s;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1e3a5f;
    color: #fff;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    z-index: 100000;
    font-size: 16px;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-to-content:focus {
    top: 0;
    outline: 3px solid #fbbf24;
}
