/* ADA WCAG Helper - Frontend Styles v2.1 */

#awch-toolbar {
    position: fixed;
    bottom: 15px;
    left: 15px;
    z-index: 999999;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 6px;
    display: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

#awch-toolbar.awch-visible { display: block; }
#awch-toolbar .awch-toolbar-inner { display: flex; gap: 6px; }

#awch-toolbar button {
    background-color: #f0f0f1;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1d2327;
    transition: background-color 0.15s ease-in-out;
}

#awch-toolbar button:hover { background-color: #e2e4e7; }
#awch-toolbar button:focus-visible { outline: 2px solid #2271b1; outline-offset: 1px; }
#awch-toolbar button .dashicons { font-size: 20px; height: 20px; width: 20px; }

/* High Contrast Mode Styles */
body.awch-high-contrast { background-color: #000 !important; color: #fff !important; }
body.awch-high-contrast a { color: #ffff00 !important; text-decoration: underline !important; background-color: transparent !important; }
body.awch-high-contrast button, body.awch-high-contrast input, body.awch-high-contrast textarea, body.awch-high-contrast select { background-color: #000 !important; color: #fff !important; border: 2px solid #fff !important; }
body.awch-high-contrast img, body.awch-high-contrast svg, body.awch-high-contrast video { opacity: 0.85; }

/* Toolbar in High Contrast */
body.awch-high-contrast #awch-toolbar { background-color: #1a1a1a !important; border: 1px solid #fff !important; }
body.awch-high-contrast #awch-toolbar button { background-color: #000 !important; color: #fff !important; border-color: #fff !important; }
body.awch-high-contrast #awch-toolbar button:hover,
body.awch-high-contrast #awch-toolbar button:focus-visible { background-color: #ffff00 !important; color: #000 !important; border-color: #ffff00 !important; }
