/* Display branding only. Runtime identifiers remain MoonLight. */
.app-header .dbdefense-sidebar-toggle { flex-direction: row; gap: .5rem; padding: .5rem .8rem; color: rgba(255,255,255,.9); }
.dbdefense-sidebar-toggle-icon { display: block; padding: .5rem; border: 1px solid rgba(255,255,255,.3); border-radius: .25rem; }
.app-header .dbdefense-sidebar-toggle .bar { background: currentColor; }
.dbdefense-sidebar-toggle-label { font-size: .8125rem; }
.app-header .dbdefense-sidebar-toggle:focus-visible { outline: 2px solid var(--bs-theme, #00d4c8); outline-offset: -3px; }
@media (max-width: 1199.98px) { .dbdefense-sidebar-toggle-label { display: none; } }
.app-sidebar .dbdefense-panel-label { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.app-sidebar .dbdefense-role-badge { display: table; max-width: 100%; margin-bottom: .25rem; padding: .15rem .45rem; border: 1px solid rgba(0,212,200,.3); border-radius: .25rem; background: rgba(0,212,200,.08); color: rgba(255,255,255,.85); font-size: .6875rem; font-weight: 500; line-height: 1.3; letter-spacing: 0; text-transform: none; }
.app-header .brand-logo { gap: .65rem; }
.app-header .dbdefense-header-logo { width: 35px; height: 42px; flex: 0 0 auto; object-fit: contain; }
.app-header .dbdefense-header-name { color: rgba(255,255,255,.94); font-size: 1.15rem; letter-spacing: -.025em; font-weight: 600; }
.app-header .dbdefense-header-version { color: rgba(255,255,255,.65); font-size: .6875rem; font-weight: 400; white-space: nowrap; align-self: center; }
.dbdefense-auth-hero h1 .dbdefense-version { color: var(--dbd-muted); font-size: .75rem; font-weight: 400; letter-spacing: 0; white-space: nowrap; vertical-align: baseline; }
.dbdefense-auth {
    --dbd-accent: #00d4c8;
    --dbd-background: #07131d;
    --dbd-panel: #10212e;
    --dbd-text: #edf5f8;
    --dbd-muted: #9eb3bf;
    min-height: 100vh;
    min-height: 100svh;
    color: var(--dbd-text);
    background: var(--dbd-background);
    position: relative;
    display: flex;
    flex-direction: column;
    isolation: isolate;
}
.dbdefense-auth *, .dbdefense-auth *::before, .dbdefense-auth *::after { box-sizing: border-box; }
.dbdefense-auth-top { display: flex; justify-content: flex-end; padding: 28px clamp(24px, 4vw, 68px); position: relative; z-index: 2; }
.dbdefense-auth .language-selector .form-select { width: auto; min-width: 102px; color: var(--dbd-text); background-color: var(--dbd-panel); border-color: #2a414f; }
.dbdefense-auth .language-selector i { color: var(--dbd-accent) !important; }
.dbdefense-auth-main { width: min(1120px, 100%); margin: auto; padding: 38px 48px 70px; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(48px, 7vw, 100px); position: relative; z-index: 1; }
.dbdefense-auth-hero { position: relative; min-width: 0; padding: 20px 0; }
.dbdefense-auth-hero::before { content: ''; pointer-events: none; position: absolute; inset: -90px -60px; z-index: -1; background: radial-gradient(ellipse at 35% 40%, #00d4c815, transparent 65%); }
.dbdefense-auth-orbit { width: 196px; height: 196px; position: relative; display: grid; place-items: center; margin-bottom: 34px; }
.dbdefense-auth-orbit img { width: 113px; height: 132px; object-fit: contain; position: relative; z-index: 1; }
.dbdefense-auth-orbit::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(transparent 0deg, transparent 270deg, #00d4c81a 310deg, #00d4c8aa 357deg, transparent 360deg); mask-image: radial-gradient(circle, transparent 66%, #000 67%, #000 70%, transparent 71%); -webkit-mask-image: radial-gradient(circle, transparent 66%, #000 67%, #000 70%, transparent 71%); animation: dbdefense-scan 12s linear infinite; }
.dbdefense-auth-orbit::after { content: ''; position: absolute; inset: 20px; border: 1px solid #00d4c829; border-radius: 50%; }
.dbdefense-auth-hero h1 { font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1.1; font-weight: 600; letter-spacing: -.045em; margin: 0 0 16px; color: var(--dbd-text); }
.dbdefense-auth-motto { font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.4; margin: 0; color: var(--dbd-text); }
.dbdefense-auth-description { max-width: 360px; font-size: .95rem; line-height: 1.8; color: var(--dbd-muted); margin: 24px 0 0; }
.dbdefense-auth-beacon { pointer-events: none; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--dbd-accent); animation: dbdefense-beacon 7s ease-in-out infinite; animation-delay: var(--delay, 0s); }
.dbdefense-auth-beacon-a { left: 68%; top: 8%; --delay: -2s; }
.dbdefense-auth-beacon-b { left: 88%; top: 52%; --delay: -5s; }
.dbdefense-auth-beacon-c { left: 12%; top: 91%; --delay: -1s; }
.dbdefense-auth-panel { min-width: 0; border-left: 1px solid #233b49; padding-left: clamp(32px, 4vw, 64px); }
.dbdefense-auth-form { max-width: 360px; width: 100%; margin: auto; }
.dbdefense-auth-form h2 { font-size: 1.65rem; line-height: 1.3; font-weight: 500; margin: 0 0 10px; color: var(--dbd-text); }
.dbdefense-auth-form .dbdefense-auth-caption { margin: 0 0 28px; line-height: 1.6; color: var(--dbd-muted); }
.dbdefense-auth-form .form-label { display: block; color: var(--dbd-text); font-weight: 500; margin-bottom: 9px; }
.dbdefense-auth-form .form-control { background: var(--dbd-panel); color: var(--dbd-text); border-color: #2a414f; border-radius: 8px; min-height: 48px; font-size: 1rem; }
.dbdefense-auth-form .form-control:focus { background: var(--dbd-panel); border-color: var(--dbd-accent); box-shadow: 0 0 0 .2rem #00d4c81c; }
.dbdefense-auth-form .form-control::placeholder { color: var(--dbd-muted); opacity: .75; }
.dbdefense-auth-form .dbdefense-auth-submit { background: var(--dbd-accent); border-color: var(--dbd-accent); color: #063936; border-radius: 8px; min-height: 48px; margin-top: 28px; }
.dbdefense-auth-form .dbdefense-auth-submit:hover { background: #23e0d5; border-color: #23e0d5; color: #063936; }
.dbdefense-auth-form .dbdefense-auth-submit:focus-visible { outline: 2px solid var(--dbd-text); outline-offset: 4px; }
.dbdefense-auth-form .dbdefense-auth-account { color: var(--dbd-muted); margin-top: 14px; }
.dbdefense-auth-qr { max-width: 230px; background: #fff; padding: 14px; border-radius: 8px; margin: 0 auto 22px; }
.dbdefense-auth-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 22px clamp(24px, 4vw, 68px); color: var(--dbd-muted); font-size: .8rem; position: relative; z-index: 1; }
.dbdefense-auth-paused *, .dbdefense-auth-paused *::before, .dbdefense-auth-paused *::after { animation-play-state: paused !important; }
.dbdefense-auth .toast-container { z-index: 20; top: 86px !important; }
@keyframes dbdefense-scan { to { transform: rotate(360deg); } }
@keyframes dbdefense-beacon { 0%,100% { opacity: .15; transform: scale(.6); } 50% { opacity: .8; transform: scale(1.3); } }
@media (prefers-reduced-motion: reduce) { .dbdefense-auth *, .dbdefense-auth *::before, .dbdefense-auth *::after { animation: none !important; } }
@media (max-width: 767.98px) {
    .dbdefense-auth-top { padding: 18px 24px; }
    .dbdefense-auth-main { grid-template-columns: 1fr; gap: 30px; padding: 8px 26px 34px; max-width: 490px; }
    .dbdefense-auth-hero { text-align: center; padding: 0; }
    .dbdefense-auth-hero::before { inset: -30px -20px; }
    .dbdefense-auth-orbit { width: 136px; height: 136px; margin: 0 auto 18px; }
    .dbdefense-auth-orbit img { width: 78px; height: 91px; }
    .dbdefense-auth-orbit::after { inset: 14px; }
    .dbdefense-auth-hero h1 { font-size: 2.25rem; margin-bottom: 10px; }
    .dbdefense-auth-motto { font-size: 1.1rem; }
    .dbdefense-auth-description { display: none; }
    .dbdefense-auth-panel { border-left: 0; padding: 26px 0 0; border-top: 1px solid #233b49; }
    .dbdefense-auth-form h2 { font-size: 1.4rem; }
    .dbdefense-auth-footer { justify-content: center; text-align: center; padding: 20px 24px; }
}
@media (max-width: 575.98px) { .app-header .dbdefense-header-logo { width: 30px; height: 36px; } .app-header .dbdefense-header-name { font-size: 1rem; } }
