﻿@charset "UTF-8";
/* Consolidated from inline <style> in _AccesibilityBarPartial.cshtml -> W3C-valid + CSP-clean. Order/cascade preserved. */

    .screen-reader-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        /* background-color: #a61b3c; same dark red shade */ color: #fff; /* white icon */
        width: 30px; /* same as uploaded image */
        height: 30px;
        border-radius: 50%;
        text-decoration: none;
        font-size: 20px; /* icon size */
        transition: all 0.3s ease;
    }

        .screen-reader-btn:hover {
            background-color: #8e1734; /* slightly darker on hover */
            color: #fff;
            transform: scale(1.05);
        }

    .btn-gradient {
        background-color: var(--primary-color) !important; /* solid theme color */
        color: #fff !important;
    }

        .btn-gradient:hover {
            background-color: var(--primary-color) !important; /* solid theme color */
            color: #fff !important;
        }

    /* Header consistency: the theme-palette button used a gradient (--button-primary
       -> --primary-color) and Sign In used --primary-color, so in some themes they
       differed from the screen-reader / cart icons (solid --nav-bg). Make the theme
       button (and its hover) solid --nav-bg too, so all top-bar controls share the
       exact same theme colour. */
    .theme-menu-btn,
    .theme-menu-btn:hover {
        background: var(--nav-bg) !important;
        color: #ffffff !important;
    }

    /* Wrapper */
    .dropdown-hover {
        position: relative;
        display: inline-block;
    }

    /* Dropdown box */
    .dropdown-hover-content {
        display: none;
        position: absolute;
        top: 110%;
        right: 0;
        background: #ffffff;
        min-width: 210px;
        border-radius: 4px;
        border: 1px solid #d8d8d8;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        padding: 6px 0;
        z-index: 999;
    }

    /* Show on hover / focus */
    .dropdown-hover:hover .dropdown-hover-content,
    .dropdown-hover:focus-within .dropdown-hover-content {
        display: block;
    }

    /* Header inside dropdown */
    .dropdown-header {
        background: #005A8C; /* NIC blue */
        color: #fff;
        padding: 10px;
        text-align: center;
        font-weight: 600;
        border-radius: 4px 4px 0 0;
    }

    /* Menu Item */
    .dropdown-item,
    .dropdown-card {
        display: block;
        width: 100%;
        padding: 8px 14px;
        font-size: 14px;
        color: #1b1b1b !important;
        text-decoration: none;
        /* border-bottom: 1px solid #f0f0f0; */
    }

        /* Remove last line */
        .dropdown-item:last-child {
            border-bottom: none;
        }

        /* Hover effect - professional */
        .dropdown-item:hover,
        .dropdown-card:hover {
            background: #e7f1ff;
            color: #003d66 !important;
        }

    /* Button styling */
    .dropdown-hover button {
        background: #005A8C; /* Primary Govt Blue */
        border: none;
        padding: 4px 12px;
        font-size: 14px;
        border-radius: 4px;
        color: #fff;
        height: 26px;
    }

        .dropdown-hover button:hover {
            background: #00446a;
        }



    .dropdown-hover-content {
        display: none;
        position: absolute;
        top: 110%;
        right: 0;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        padding: 8px;
        min-width: 180px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        animation: fadeIn 0.25s ease-in-out;
        border: 1px solid rgba(255,255,255,0.3);
        z-index: 999;
    }

    .dropdown-hover:hover .dropdown-hover-content,
    .dropdown-hover:focus-within .dropdown-hover-content {
        display: block;
    }

    .dropdown-item, .dropdown-card {
        border-radius: 8px;
        /* color: #fff !important; */
        transition: 0.25s;
        font-size: 14px;
    }

        .dropdown-item:hover,
        .dropdown-card:hover {
            background: rgba(255,255,255,0.25);
            transform: translateX(4px);
        }

    .bg-new-color {
        background: #0d6efd;
        color: #fff;
        padding: 6px 0;
        border-radius: 10px 10px 0 0;
    }

    .dropdown-hover button {
        background: var(--button-primary, #007bff);
        border: none;
        transition: 0.3s;
    }

        .dropdown-hover button:hover {
            opacity: 0.9;
            transform: scale(1.05);
        }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-5px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

                        /* Render UserWay widget inline (after Sign In), not fixed over theme */
                        body .uwy.userway_p1 .userway_buttons_wrapper {
                            position: static !important;
                            display: inline-flex !important;
                            top: auto !important;
                            left: auto !important;
                            transform: none !important;
                        }
                        body .uwy.userway_p1 {
                            position: static !important;
                            display: inline-block !important;
                        }

                        /* Signed-in user initial avatar — replaces the "Login" text button
                           with just the FIRST LETTER of the user's Name. */
                        .user-initial-btn {
                            width: 28px;
                            height: 28px;
                            padding: 0;
                            display: inline-flex;
                            align-items: center;
                            justify-content: center;
                            font-weight: 700;
                            font-size: 13px;
                            line-height: 1;
                            color: #ffffff;
                            background-color: var(--primary-color);
                            border: 1px solid rgba(255, 255, 255, 0.6);
                            border-radius: 50%;
                            margin-right: -10px;
                            text-transform: uppercase;
                            cursor: pointer;
                        }

                        .user-initial-btn:hover,
                        .user-initial-btn:focus-visible {
                            color: #ffffff;
                            filter: brightness(1.1);
                            outline: none;
                        }

                        #userwayAccessibilityIcon,
                        #userwayLstIcon {
                            color: #ffffff !important;
                        }
