/* =========================
   HIGH CONTRAST MODE STYLES
   ========================= */

/* Global background and text color for high contrast mode */
body.high-contrast,
header.high-contrast,
footer.high-contrast {
    background-color: #000 !important;
    color: #FFD700 !important; /* Bright yellow text */
}

/* Apply to all inner elements */
body.high-contrast * {
    background-color: #000 !important;
    color: #FFD700 !important;
    border-color: #FFD700 !important;
}

/* =========================
   LINKS
   ========================= */
body.high-contrast a {
    color: #FFD700 !important;
    text-decoration: underline !important;
}

body.high-contrast a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

/* =========================
   BUTTONS & CTA ELEMENTS
   ========================= */
body.high-contrast button,
body.high-contrast .btn,
body.high-contrast a.btn,
body.high-contrast .bg-grad,
body.high-contrast a.bg-grad,
body.high-contrast button.bg-grad {
    background: #000 !important;
    background-color: #000 !important;
    color: #FFD700 !important;
    border: 2px solid #FFD700 !important;
    cursor: pointer;
}

/* Button hover */
body.high-contrast button:hover,
body.high-contrast .btn:hover,
body.high-contrast a.btn:hover,
body.high-contrast .bg-grad:hover,
body.high-contrast a.bg-grad:hover,
body.high-contrast button.bg-grad:hover {
    background-color: #FFD700 !important;
    color: #000 !important;
}

/* =========================
   FORM ELEMENTS
   ========================= */
body.high-contrast input,
body.high-contrast select,
body.high-contrast textarea {
    background-color: #000 !important;
    color: #FFD700 !important;
    border: 2px solid #FFD700 !important;
}

/* =========================
   ACCESSIBLE FOCUS STATES
   ========================= */
body.high-contrast button:focus,
body.high-contrast input:focus,
body.high-contrast select:focus,
body.high-contrast textarea:focus,
body.high-contrast a:focus {
    outline: 3px solid #FFD700 !important;
    outline-offset: 3px;
}

/* =========================
   NAVIGATION & DROPDOWNS
   ========================= */
body.high-contrast .navbar,
body.high-contrast .dropdown-menu {
    background-color: #000 !important;
    border: 1px solid #FFD700 !important;
}

body.high-contrast .nav-link,
body.high-contrast .dropdown-item {
    background-color: #000 !important;
    color: #FFD700 !important;
}

body.high-contrast .nav-link:hover,
body.high-contrast .dropdown-item:hover {
    background-color: #FFD700 !important;
    color: #000 !important;
}

/* =========================
   TABLES
   ========================= */
body.high-contrast table,
body.high-contrast th,
body.high-contrast td {
    border: 1px solid #FFD700 !important;
    background-color: #000 !important;
    color: #FFD700 !important;
}

/* =========================
   FIX FOR INLINE STYLES
   ========================= */
/* Force override for elements with inline styles like bg-grad */
body.high-contrast [style] {
    background-color: #000 !important;
    color: #FFD700 !important;
    border-color: #FFD700 !important;
}

#emblem{
    background-color: white !important;
}