/* MSCORE Custom Branding Styles */
body, html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.login-wrapper, .login-container, form {
    position: relative;
}

/* Top Accent */
header, nav, .MuiAppBar-root {
    border-top: 3px solid #2563eb !important;
}

/* Hide original vector/text logos across all screens */
.menuLogoContainer > svg,
[class*="menuLogoContainer"] > svg,
.logoContainer > svg,
[class*="logoContainer"] > svg,
[class*="loginLogo"] > svg {
    display: none !important;
}

/* Hide ONLY Login Screen Promo/Footer Links */
.loginFooter,
[class*="loginFooter"],
.promoLinks,
[class*="promoLinks"] {
    display: none !important;
}

/* Ensure Authenticated Sidebar, User Menu, and Logout Button are ALWAYS Visible & Accessible */
[class*="userMenu"],
[class*="sidebarFooter"],
button[aria-label*="logout" i],
button[aria-label*="sign out" i],
a[href*="logout"],
.mscore-logo-badge,
nav button,
aside button {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Custom MSCORE Store Logo Component (Sidebar / Header) */
.mscore-logo-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 6px 4px !important;
    user-select: none !important;
    text-decoration: none !important;
}

.mscore-logo-img {
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

.mscore-logo-img.sidebar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
}

.mscore-logo-text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.mscore-logo-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    letter-spacing: 0.8px !important;
    color: #ffffff !important;
    line-height: 1 !important;
}

.mscore-logo-sub {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    letter-spacing: 2px !important;
    color: #60a5fa !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
}

/* Larger Login Screen Brand Badge */
.mscore-login-logo {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 24px !important;
    user-select: none !important;
}

.mscore-login-logo .mscore-logo-img.login {
    width: 52px !important;
    height: 52px !important;
    border-radius: 10px !important;
}

.mscore-login-logo .mscore-logo-title {
    font-size: 26px !important;
    letter-spacing: 1px !important;
}

.mscore-login-logo .mscore-logo-sub {
    font-size: 13px !important;
    letter-spacing: 3px !important;
}
