@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.7t9tbfaemk.bundle.scp.css';

/* _content/StopSmack/Pages/Account/Profile.razor.rz.scp.css */
.current-plan-badge[b-esz4surdq7] {
    background-color: #990099; /* professional blue */
    color: white;
}
/* _content/StopSmack/Pages/Layout/MainLayout.razor.rz.scp.css */
/* ====== Page Structure ====== */
.page[b-tj6fem6mbw] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-tj6fem6mbw] {
    flex: 1;
}

/* ====== Logo Square ====== */
.logo-square[b-tj6fem6mbw] {
    position: absolute;
    padding: 10px;
    top: 1px;
    left: 0;
    bottom: -50px;
    width: 250px;
    height: 115px;
    background-color: #3566b1;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

    .logo-square img[b-tj6fem6mbw] {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

/* ====== Responsive Logo ====== */
@media (max-width: 768px) {
    .logo-square[b-tj6fem6mbw] {
        width: 180px;
        height: 110px;
        bottom: -35px;
        left: 10px;
    }
}

@media (max-width: 480px) {
    .logo-square[b-tj6fem6mbw] {
        width: 140px;
        height: 90px;
        bottom: -25px;
        left: 8px;
    }
}

/* ====== Mobile Collapse Menu ====== */
@media (max-width: 991.98px) {
    #navbarNav.collapse.show[b-tj6fem6mbw] {
        display: flex !important;
        flex-direction: column;
        align-items: flex-end; /* Right align links */
    }

    #navbarNav .nav-link[b-tj6fem6mbw] {
        text-align: right;
    }

    #navbarNav .dropdown-menu[b-tj6fem6mbw] {
        right: 0;
        left: auto;
    }
}

/* ---------- NAVBAR: precise selectors that win ---------- */

/* overall navbar background */
#mainNavbar[b-tj6fem6mbw] {
    background-color: #313d4f; /* dark */
    position: relative;
    z-index: 1000;
}

    /* logo square (absolute, does not affect layout flow) */
    #mainNavbar .logo-square[b-tj6fem6mbw] {
        position: absolute;
        padding: 10px;
        top: 4px;
        left: 0;
        bottom: -50px;
        width: 220px;
        height: 110px;
        background-color: #3566b1;
        border-radius: 0.50rem;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
    }

        #mainNavbar .logo-square img[b-tj6fem6mbw] {
            width: 100%;
            height: auto;
            object-fit: contain;
        }

/* responsive logo */
@media (max-width: 768px) {
    #mainNavbar .logo-square[b-tj6fem6mbw] {
        width: 170px;
        height: 100px;
        bottom: -35px;
        left: 10px;
    }
}

@media (max-width: 480px) {
    #mainNavbar .logo-square[b-tj6fem6mbw] {
        width: 140px;
        height: 85px;
        bottom: -25px;
        left: 8px;
    }
}

/* Mobile menu right-aligned */
@media (max-width: 991.98px) {
    #navbarNav.collapse.show[b-tj6fem6mbw] {
        display: flex !important;
        flex-direction: column;
        align-items: flex-end;
    }

    #navbarNav .nav-link[b-tj6fem6mbw] {
        text-align: right;
    }

    #navbarNav .dropdown-menu[b-tj6fem6mbw] {
        right: 0;
        left: auto;
    }
}

#mainNavbar.navbar #navbarNav .navbar-nav .nav-item .nav-link[b-tj6fem6mbw] {
    color: #f2f2f2 !important;
}

/* Target only nav-links inside custom-navbar */
#mainNavbar.navbar #navbarNav .navbar-nav .nav-item .nav-link[b-tj6fem6mbw] {
    color: #d3d3d3 !important; /* light grey */
    transition: color 0.3s ease;
}

    /* Hover */
    #mainNavbar.navbar #navbarNav .navbar-nav .nav-item .nav-link:hover[b-tj6fem6mbw] {
        color: #ffffff !important;
    }

    /* Active/current page */
    #mainNavbar.navbar #navbarNav .navbar-nav .nav-item .nav-link.active[b-tj6fem6mbw] {
        color: #ffd700 !important; /* yellow */
        font-weight: 600;
    }

/* Dropdown links */
.navbar .dropdown-menu .dropdown-item[b-tj6fem6mbw] {
    color: #808080 !important;
}

    .navbar .dropdown-menu .dropdown-item:hover[b-tj6fem6mbw] {
        color: #ffffff !important;
        background-color: #343a40 !important;
    }

    .navbar .dropdown-menu .dropdown-item.active[b-tj6fem6mbw] {
        color: #ffd700 !important;
        background-color: transparent !important;
    }

/* Mobile Navbar Toggler */
@media (max-width: 991.98px) {

    /* Default closed state */
    .navbar-toggler.closed[b-tj6fem6mbw] {
        border: 1px solid #d3d3d3; /* thin border */
        background-color: transparent;
        transition: border 0.2s ease, box-shadow 0.2s ease;
        padding: 0.25rem 0.5rem;
        box-shadow: none; /* remove black shadow */
    }

    /* Menu open state */
    .navbar-toggler.open[b-tj6fem6mbw] {
        border: 3px solid #d3d3d3; /* thick border */
        background-color: transparent;
        box-shadow: none; /* remove black shadow */
    }

    /* Smooth border transition 
    .navbar-toggler {
        transition: border 0.3s ease, box-shadow 0.3s ease;
    }
        */

    /* Remove focus outline entirely */
    .navbar-toggler:focus[b-tj6fem6mbw] {
        box-shadow: none !important;
        outline: none !important;
    }

    /* Hamburger lines: always light grey */
    .navbar-toggler-icon[b-tj6fem6mbw] {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23d3d3d3' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }
}

.instant-btn[b-tj6fem6mbw] {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    min-width: 180px;
    height: 60px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1.2rem;
    color: #000;
    background: linear-gradient(45deg, #ffdd00, #ff9900);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
