:root {
    color-scheme: dark;
    --bcw-bg: #020709;
    --bcw-bg-2: #061116;
    --bcw-panel: rgba(5, 18, 23, .94);
    --bcw-panel-soft: rgba(8, 27, 33, .72);
    --bcw-line: #18343d;
    --bcw-line-soft: rgba(39, 76, 86, .58);
    --bcw-gold: #dfb131;
    --bcw-gold-bright: #f7d777;
    --bcw-green: #43e68a;
    --bcw-cyan: #4fd7e8;
    --bcw-red: #ff665e;
    --bcw-orange: #f59c48;
    --bcw-text: #dce8ea;
    --bcw-muted: #7e979e;
    --bcw-shadow: rgba(0, 0, 0, .56);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 77% 13%, rgba(11, 104, 84, .18), transparent 30%),
        radial-gradient(circle at 12% 86%, rgba(161, 116, 13, .11), transparent 31%),
        linear-gradient(145deg, #010507, #041014 58%, #02080b);
    color: var(--bcw-text);
    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.bcw-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: .22;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(60, 113, 124, .15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(60, 113, 124, .15) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at 50% 50%, black 4%, transparent 82%);
}

.bcw-scanline {
    position: fixed;
    inset: -120% 0 auto;
    z-index: 0;
    height: 40%;
    pointer-events: none;
    background: linear-gradient(
        transparent,
        rgba(79, 215, 232, .018),
        rgba(79, 215, 232, .07),
        rgba(79, 215, 232, .018),
        transparent
    );
    animation: bcwScan 9s linear infinite;
}

@keyframes bcwScan {
    to {
        transform: translateY(600%);
    }
}

.bcw-kicker {
    margin: 0 0 7px;
    color: var(--bcw-gold);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.bcw-auth-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 36px 18px;
}

.bcw-auth-card {
    position: relative;
    width: min(100%, 540px);
    padding: 26px;
    overflow: hidden;
    border: 1px solid var(--bcw-line);
    border-top-color: rgba(223, 177, 49, .58);
    border-radius: 12px;
    background:
        linear-gradient(160deg, rgba(10, 29, 35, .97), rgba(2, 9, 12, .98)),
        var(--bcw-panel);
    box-shadow:
        0 28px 90px var(--bcw-shadow),
        inset 0 1px 0 rgba(255, 255, 255, .025);
}

.bcw-auth-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 130px;
    height: 1px;
    background: linear-gradient(90deg, var(--bcw-gold), transparent);
}

.bcw-auth-card-wide {
    width: min(100%, 820px);
}

.bcw-auth-brand {
    display: flex;
    align-items: center;
    gap: 19px;
    padding-bottom: 23px;
    border-bottom: 1px solid var(--bcw-line);
}

.bcw-auth-brand img {
    width: 112px;
    max-height: 80px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 0 18px rgba(223, 177, 49, .13));
}

.bcw-auth-brand h1 {
    margin: 0;
    color: #f4f8f9;
    font-size: clamp(23px, 4vw, 31px);
    font-weight: 620;
    line-height: 1.06;
    letter-spacing: -.025em;
}

.bcw-auth-brand p:last-child {
    margin: 8px 0 0;
    color: var(--bcw-muted);
    font-size: 12px;
    line-height: 1.55;
}

.bcw-section {
    margin-top: 21px;
    padding: 18px;
    border: 1px solid var(--bcw-line);
    border-radius: 8px;
    background: rgba(3, 14, 18, .72);
}

.bcw-section-title {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 17px;
}

.bcw-section-title > span {
    display: grid;
    place-items: center;
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(223, 177, 49, .55);
    border-radius: 6px;
    background: rgba(223, 177, 49, .06);
    color: var(--bcw-gold);
    font-size: 10px;
    font-weight: 950;
}

.bcw-section-title h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 760;
}

.bcw-section-title p {
    margin: 5px 0 0;
    color: var(--bcw-muted);
    font-size: 11px;
    line-height: 1.45;
}

.bcw-form {
    padding-top: 17px;
}

.bcw-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.bcw-field-span-2 {
    grid-column: 1 / -1;
}

.bcw-form label {
    display: block;
    margin-bottom: 14px;
}

.bcw-form-grid label {
    margin: 0;
}

.bcw-form label > span,
.bcw-form-grid label > span {
    display: block;
    margin-bottom: 7px;
    color: #abc0c5;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bcw-form input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #294750;
    border-radius: 6px;
    outline: none;
    padding: 0 12px;
    background: #031014;
    color: #f1f6f7;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.bcw-form input::placeholder {
    color: #526b72;
}

.bcw-form input:focus {
    border-color: var(--bcw-gold);
    background: #041317;
    box-shadow: 0 0 0 3px rgba(223, 177, 49, .095);
}

.bcw-form input:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.bcw-primary-btn,
.bcw-primary-link,
.bcw-guest-btn {
    width: 100%;
    min-height: 47px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 900;
    letter-spacing: .075em;
    transition:
        transform .15s ease,
        filter .15s ease,
        box-shadow .15s ease;
}

.bcw-primary-btn,
.bcw-primary-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 19px;
    border: 1px solid #e8c15b;
    padding: 0 15px;
    background:
        linear-gradient(180deg, #ebc85f, #a97812);
    color: #071014;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(183, 132, 19, .14);
}

.bcw-primary-link {
    justify-content: center;
}

.bcw-primary-btn b {
    font-size: 17px;
}

.bcw-primary-btn:hover:not(:disabled),
.bcw-primary-link:hover,
.bcw-guest-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 10px 30px rgba(183, 132, 19, .21);
}

.bcw-primary-btn:disabled,
.bcw-guest-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.bcw-back-link {
    display: block;
    margin-top: 18px;
    color: var(--bcw-gold);
    text-align: center;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .025em;
}

.bcw-password-note {
    margin-top: 12px;
    color: var(--bcw-muted);
    font-size: 10px;
    line-height: 1.5;
}

.bcw-honeypot {
    position: absolute !important;
    left: -10000px !important;
}

.bcw-alert {
    margin-top: 16px;
    padding: 11px 13px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.5;
}

.bcw-alert-error {
    border: 1px solid rgba(255, 102, 94, .45);
    background: rgba(105, 21, 20, .28);
    color: #ffaaa5;
}

.bcw-alert-info,
.bcw-alert-success {
    border: 1px solid rgba(67, 230, 138, .38);
    background: rgba(18, 92, 55, .23);
    color: #91f5bc;
}

.bcw-alert-warning {
    border: 1px solid rgba(223, 177, 49, .42);
    background: rgba(101, 73, 11, .23);
    color: #f4d77f;
}

/* Futuristic login */

.bcw-login-stage {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow: hidden;
}

.bcw-orbit {
    position: fixed;
    z-index: 0;
    border: 1px solid rgba(79, 215, 232, .09);
    border-radius: 50%;
    pointer-events: none;
}

.bcw-orbit::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bcw-gold);
    box-shadow: 0 0 18px var(--bcw-gold);
}

.bcw-orbit-one {
    width: 680px;
    height: 680px;
    right: -290px;
    top: -270px;
    animation: bcwOrbit 21s linear infinite;
}

.bcw-orbit-two {
    width: 460px;
    height: 460px;
    left: -250px;
    bottom: -160px;
    animation: bcwOrbit 31s linear reverse infinite;
}

@keyframes bcwOrbit {
    to {
        transform: rotate(360deg);
    }
}

.bcw-login-console {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(390px, .9fr);
    width: min(100%, 1180px);
    min-height: 690px;
    overflow: hidden;
    border: 1px solid var(--bcw-line);
    border-top-color: rgba(223, 177, 49, .58);
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(4, 16, 21, .97), rgba(2, 9, 12, .985));
    box-shadow:
        0 34px 110px rgba(0, 0, 0, .64),
        0 0 0 1px rgba(255, 255, 255, .012) inset;
}

.bcw-login-console::before,
.bcw-login-console::after {
    content: "";
    position: absolute;
    z-index: 3;
    pointer-events: none;
}

.bcw-login-console::before {
    top: 0;
    left: 0;
    width: 190px;
    height: 2px;
    background: linear-gradient(90deg, var(--bcw-gold), transparent);
}

.bcw-login-console::after {
    right: 0;
    bottom: 0;
    width: 230px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bcw-cyan));
}

.bcw-login-identity {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 46px 48px 32px;
    overflow: hidden;
    border-right: 1px solid var(--bcw-line);
    background:
        linear-gradient(135deg, rgba(9, 35, 40, .54), rgba(2, 9, 12, .15)),
        radial-gradient(circle at 50% 55%, rgba(29, 110, 104, .16), transparent 43%);
}

.bcw-login-identity::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .18;
    pointer-events: none;
    background-image:
        linear-gradient(30deg, transparent 49.5%, rgba(79, 215, 232, .15) 50%, transparent 50.5%),
        linear-gradient(-30deg, transparent 49.5%, rgba(79, 215, 232, .08) 50%, transparent 50.5%);
    background-size: 82px 82px;
}

.bcw-brand-lockup {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 23px;
}

.bcw-brand-lockup img {
    width: 145px;
    max-height: 98px;
    object-fit: contain;
    object-position: left top;
    filter:
        drop-shadow(0 0 22px rgba(223, 177, 49, .14))
        drop-shadow(0 8px 18px rgba(0, 0, 0, .35));
}

.bcw-brand-lockup h1 {
    max-width: 520px;
    margin: 0;
    color: #f4f9fa;
    font-size: clamp(31px, 4.2vw, 54px);
    font-weight: 560;
    line-height: .98;
    letter-spacing: -.047em;
}

.bcw-hero-copy {
    max-width: 570px;
    margin: 17px 0 0;
    color: #91a8ae;
    font-size: 13px;
    line-height: 1.7;
}

.bcw-system-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 17px;
    padding: 5px 8px;
    border: 1px solid rgba(67, 230, 138, .35);
    border-radius: 4px;
    background: rgba(67, 230, 138, .055);
    color: #8af3b7;
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .13em;
}

.bcw-system-chip i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bcw-green);
    box-shadow: 0 0 12px var(--bcw-green);
}

.bcw-intelligence-map {
    position: relative;
    z-index: 2;
    flex: 1;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(170px, .58fr);
    align-items: center;
    gap: 28px;
    margin-top: 31px;
}

.bcw-radar {
    position: relative;
    justify-self: center;
    width: min(31vw, 320px);
    aspect-ratio: 1;
    border: 1px solid rgba(79, 215, 232, .24);
    border-radius: 50%;
    background:
        linear-gradient(rgba(79, 215, 232, .15), rgba(79, 215, 232, .15)) center / 1px 100% no-repeat,
        linear-gradient(90deg, rgba(79, 215, 232, .15), rgba(79, 215, 232, .15)) center / 100% 1px no-repeat,
        repeating-radial-gradient(
            circle,
            transparent 0 20%,
            rgba(79, 215, 232, .12) 20.5% 21%,
            transparent 21.5% 40%
        ),
        radial-gradient(circle, rgba(18, 96, 94, .14), transparent 66%);
    box-shadow:
        0 0 60px rgba(26, 124, 116, .11),
        inset 0 0 50px rgba(8, 71, 72, .12);
}

.bcw-radar::before,
.bcw-radar::after {
    content: "";
    position: absolute;
    inset: 14%;
    border: 1px dashed rgba(223, 177, 49, .15);
    border-radius: 50%;
}

.bcw-radar::after {
    inset: 31%;
    border-style: solid;
    border-color: rgba(79, 215, 232, .15);
}

.bcw-radar-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 13px;
    transform: translate(-50%, -50%);
    border: 2px solid var(--bcw-gold);
    border-radius: 50%;
    box-shadow:
        0 0 0 8px rgba(223, 177, 49, .06),
        0 0 25px rgba(223, 177, 49, .58);
}

.bcw-radar-sweep {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 50%;
    animation: bcwRadar 4.2s linear infinite;
}

.bcw-radar-sweep::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;
    transform-origin: left top;
    background: linear-gradient(
        42deg,
        rgba(79, 215, 232, .22),
        rgba(79, 215, 232, .03) 52%,
        transparent 53%
    );
}

@keyframes bcwRadar {
    to {
        transform: rotate(360deg);
    }
}

.bcw-radar-point {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--bcw-cyan);
    box-shadow: 0 0 12px var(--bcw-cyan);
    animation: bcwPoint 1.7s ease-in-out infinite alternate;
}

.bcw-radar-point.point-a {
    top: 24%;
    left: 63%;
}

.bcw-radar-point.point-b {
    top: 67%;
    left: 27%;
    background: var(--bcw-gold);
    box-shadow: 0 0 12px var(--bcw-gold);
    animation-delay: .5s;
}

.bcw-radar-point.point-c {
    top: 74%;
    left: 72%;
    animation-delay: 1s;
}

@keyframes bcwPoint {
    to {
        opacity: .35;
        transform: scale(.65);
    }
}

.bcw-signal-list {
    display: grid;
    gap: 10px;
}

.bcw-signal-list div {
    padding: 11px 12px;
    border: 1px solid rgba(38, 73, 82, .65);
    border-left-color: rgba(223, 177, 49, .52);
    border-radius: 5px;
    background: rgba(2, 13, 17, .58);
}

.bcw-signal-list span,
.bcw-signal-list strong {
    display: block;
}

.bcw-signal-list span {
    color: #6f8990;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .12em;
}

.bcw-signal-list strong {
    margin-top: 5px;
    color: #cfe0e3;
    font-size: 10px;
    letter-spacing: .05em;
}

.bcw-login-motto {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 23px;
    color: #607a81;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .13em;
}

.bcw-login-motto i {
    width: 4px;
    height: 4px;
    transform: rotate(45deg);
    background: var(--bcw-gold);
}

.bcw-access-terminal {
    position: relative;
    padding: 38px 38px 29px;
    background:
        linear-gradient(180deg, rgba(4, 17, 21, .96), rgba(2, 9, 12, .99));
}

.bcw-access-terminal::before {
    content: "";
    position: absolute;
    inset: 18px;
    z-index: 0;
    pointer-events: none;
    border: 1px solid rgba(40, 77, 86, .15);
    border-radius: 7px;
}

.bcw-access-terminal > * {
    position: relative;
    z-index: 1;
}

.bcw-terminal-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 17px;
    padding-bottom: 19px;
    border-bottom: 1px solid var(--bcw-line);
}

.bcw-terminal-head h2 {
    margin: 0;
    color: #f1f7f8;
    font-size: 25px;
    font-weight: 620;
    letter-spacing: -.025em;
}

.bcw-terminal-code {
    padding: 6px 8px;
    border: 1px solid rgba(79, 215, 232, .28);
    border-radius: 4px;
    color: #71c8d4;
    font-family: Consolas, "Courier New", monospace;
    font-size: 8px;
    letter-spacing: .08em;
}

.bcw-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-top: 19px;
    padding: 4px;
    border: 1px solid var(--bcw-line);
    border-radius: 7px;
    background: #020b0e;
}

.bcw-auth-tabs button {
    min-height: 38px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #668087;
    cursor: pointer;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .08em;
}

.bcw-auth-tabs button.active {
    background:
        linear-gradient(180deg, rgba(223, 177, 49, .17), rgba(223, 177, 49, .065));
    color: var(--bcw-gold-bright);
    box-shadow: inset 0 0 0 1px rgba(223, 177, 49, .24);
}

.bcw-auth-tab-panel {
    display: none;
}

.bcw-auth-tab-panel.active {
    display: block;
    animation: bcwTabIn .2s ease;
}

@keyframes bcwTabIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
}

.bcw-input-shell {
    position: relative;
}

.bcw-input-shell input {
    padding-left: 45px;
    padding-right: 67px;
}

.bcw-input-icon {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 13px;
    transform: translateY(-50%);
    color: var(--bcw-gold);
    font-family: Consolas, monospace;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
}

.bcw-input-shell::after {
    content: "";
    position: absolute;
    top: 9px;
    bottom: 9px;
    left: 34px;
    width: 1px;
    background: #234149;
}

.bcw-password-toggle {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 9px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--bcw-gold);
    cursor: pointer;
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .08em;
}

.bcw-register-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    margin-top: 15px;
    padding: 13px;
    border: 1px solid var(--bcw-line);
    border-radius: 6px;
    background: rgba(5, 22, 27, .68);
}

.bcw-register-callout strong,
.bcw-register-callout span {
    display: block;
}

.bcw-register-callout strong {
    color: #d9e6e8;
    font-size: 11px;
}

.bcw-register-callout span {
    margin-top: 4px;
    color: var(--bcw-muted);
    font-size: 9px;
    line-height: 1.35;
}

.bcw-register-callout a {
    color: var(--bcw-gold);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .08em;
    text-decoration: none;
}

.bcw-guest-warning {
    margin-top: 17px;
    padding: 13px;
    border: 1px solid rgba(79, 215, 232, .22);
    border-left-color: var(--bcw-cyan);
    border-radius: 6px;
    background: rgba(11, 50, 57, .18);
}

.bcw-guest-warning strong {
    color: #88dde7;
    font-size: 9px;
    letter-spacing: .09em;
}

.bcw-guest-warning p {
    margin: 7px 0 0;
    color: #7d969d;
    font-size: 10px;
    line-height: 1.5;
}

.bcw-consent {
    display: grid !important;
    grid-template-columns: 18px 1fr;
    align-items: flex-start;
    gap: 9px;
    margin-top: 2px;
    padding: 10px 11px;
    border: 1px solid var(--bcw-line-soft);
    border-radius: 6px;
    background: rgba(2, 13, 17, .6);
    cursor: pointer;
}

.bcw-consent input {
    min-height: 0;
    width: 15px;
    height: 15px;
    margin-top: 1px;
    accent-color: var(--bcw-gold);
}

.bcw-consent span {
    margin: 0 !important;
    color: #80979d !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    line-height: 1.45;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.bcw-guest-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    border: 1px solid #315863;
    padding: 0 14px;
    background:
        linear-gradient(180deg, rgba(15, 59, 68, .56), rgba(5, 25, 31, .88));
    color: #d7e5e8;
}

.bcw-guest-btn b {
    color: var(--bcw-green);
    font-size: 12px;
}

.bcw-terminal-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 21px;
    padding-top: 14px;
    border-top: 1px solid var(--bcw-line);
    color: #526b72;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .1em;
}

.bcw-terminal-foot span:first-child {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bcw-terminal-foot i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bcw-green);
    box-shadow: 0 0 10px var(--bcw-green);
}

/* Admin */

.bcw-admin-shell {
    min-height: 100vh;
}

.bcw-admin-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--bcw-line);
    background: rgba(2, 10, 13, .96);
    box-shadow: 0 7px 24px rgba(0, 0, 0, .22);
    backdrop-filter: blur(12px);
}

.bcw-admin-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bcw-admin-brand img {
    width: 82px;
    max-height: 52px;
    object-fit: contain;
}

.bcw-admin-brand h1 {
    margin: 0;
    color: #f4f8f9;
    font-size: 20px;
    font-weight: 650;
}

.bcw-admin-header nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.bcw-admin-header nav a {
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 5px;
    color: #81999f;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .075em;
    text-decoration: none;
}

.bcw-admin-header nav a:hover,
.bcw-admin-header nav a.active {
    border-color: rgba(223, 177, 49, .28);
    background: rgba(223, 177, 49, .075);
    color: var(--bcw-gold);
}

.bcw-admin-main {
    width: min(calc(100% - 34px), 1540px);
    margin: 0 auto;
    padding: 24px 0 50px;
}

.bcw-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.bcw-stat-grid-five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bcw-stat-grid a {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 82px;
    overflow: hidden;
    padding: 15px;
    border: 1px solid var(--bcw-line);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(8, 26, 32, .92), rgba(3, 13, 17, .95));
    color: var(--bcw-text);
    text-decoration: none;
}

.bcw-stat-grid a::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--bcw-gold);
    transition: transform .17s ease;
}

.bcw-stat-grid a:hover::after,
.bcw-stat-grid a.active::after {
    transform: scaleX(1);
}

.bcw-stat-grid a.active {
    border-color: rgba(223, 177, 49, .56);
}

.bcw-stat-grid span {
    color: var(--bcw-muted);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .09em;
}

.bcw-stat-grid strong {
    color: var(--bcw-gold);
    font-size: 29px;
    font-weight: 550;
}

.bcw-admin-panel {
    margin-top: 16px;
    overflow: hidden;
    border: 1px solid var(--bcw-line);
    border-radius: 8px;
    background: rgba(3, 14, 18, .88);
}

.bcw-admin-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px;
    border-bottom: 1px solid var(--bcw-line);
    background: rgba(8, 26, 31, .48);
}

.bcw-admin-panel-head h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.bcw-filter-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.bcw-filter-links a,
.bcw-filter-links button {
    min-height: 30px;
    border: 1px solid #284750;
    border-radius: 4px;
    padding: 0 9px;
    background: #06171c;
    color: #94abb1;
    cursor: pointer;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .06em;
    line-height: 28px;
    text-decoration: none;
}

.bcw-filter-links a:hover,
.bcw-filter-links button:hover {
    border-color: rgba(223, 177, 49, .55);
    color: var(--bcw-gold);
}

.bcw-table-wrap {
    overflow-x: auto;
}

.bcw-user-table {
    width: 100%;
    min-width: 1180px;
    border-collapse: collapse;
}

.bcw-user-table th,
.bcw-user-table td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--bcw-line);
    text-align: left;
    vertical-align: top;
}

.bcw-user-table th {
    background: rgba(4, 18, 22, .64);
    color: #6f878e;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .09em;
}

.bcw-user-table td {
    color: #bccdd1;
    font-size: 10px;
    line-height: 1.45;
}

.bcw-user-table td > strong,
.bcw-user-table td > span,
.bcw-user-table td > small {
    display: block;
}

.bcw-user-table td > strong {
    color: #e2ecee;
    font-size: 11px;
}

.bcw-user-table td > span,
.bcw-user-table td > small {
    margin-top: 4px;
    color: #718a91;
}

.bcw-status {
    display: inline-flex !important;
    width: max-content;
    margin: 0 4px 4px 0 !important;
    padding: 4px 7px;
    border: 1px solid currentColor;
    border-radius: 4px;
    background: rgba(255, 255, 255, .025);
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .06em;
}

.bcw-status-pending {
    color: var(--bcw-gold) !important;
}

.bcw-status-active,
.bcw-status-member,
.bcw-status-approved {
    color: var(--bcw-green) !important;
}

.bcw-status-inactive,
.bcw-status-suspended {
    color: var(--bcw-orange) !important;
}

.bcw-status-rejected,
.bcw-status-revoked,
.bcw-status-expired {
    color: var(--bcw-red) !important;
}

.bcw-status-admin {
    color: var(--bcw-cyan) !important;
}

.bcw-status-guest {
    color: var(--bcw-gold-bright) !important;
}

.bcw-online-state {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    width: max-content;
    color: #70888f;
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .08em;
}

.bcw-online-state i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #566d73;
}

.bcw-online-state.is-online {
    color: var(--bcw-green);
}

.bcw-online-state.is-online i {
    background: var(--bcw-green);
    box-shadow: 0 0 10px var(--bcw-green);
}

.bcw-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bcw-actions form {
    margin: 0;
}

.bcw-actions button {
    min-height: 31px;
    border-radius: 4px;
    padding: 0 9px;
    cursor: pointer;
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .045em;
}

.bcw-btn-approve {
    border: 1px solid rgba(67, 230, 138, .52);
    background: rgba(67, 230, 138, .1);
    color: var(--bcw-green);
}

.bcw-btn-suspend {
    border: 1px solid rgba(245, 156, 72, .52);
    background: rgba(245, 156, 72, .1);
    color: var(--bcw-orange);
}

.bcw-btn-reject,
.bcw-btn-revoke {
    border: 1px solid rgba(255, 102, 94, .52);
    background: rgba(255, 102, 94, .1);
    color: var(--bcw-red);
}

.bcw-btn-role {
    border: 1px solid rgba(79, 215, 232, .46);
    background: rgba(79, 215, 232, .085);
    color: var(--bcw-cyan);
}

.bcw-reject-form {
    display: flex;
    gap: 6px;
}

.bcw-reject-form input {
    width: 130px;
    min-height: 31px;
    border: 1px solid #2a4851;
    border-radius: 4px;
    outline: none;
    padding: 0 8px;
    background: #041115;
    color: #dbe7e9;
    font-size: 9px;
}

.bcw-empty-state {
    padding: 52px 20px;
    color: var(--bcw-muted);
    text-align: center;
    font-size: 11px;
}

.bcw-monitor-note {
    padding: 10px 15px;
    border-bottom: 1px solid var(--bcw-line);
    background: rgba(79, 215, 232, .035);
    color: #769098;
    font-size: 9px;
    line-height: 1.45;
}

.bcw-session-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
}

.bcw-session-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--bcw-line);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(7, 25, 31, .93), rgba(3, 13, 17, .97));
}

.bcw-session-card.is-online {
    border-color: rgba(67, 230, 138, .35);
}

.bcw-session-card.is-online::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 110px;
    height: 2px;
    background: linear-gradient(90deg, var(--bcw-green), transparent);
}

.bcw-session-card > header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 13px;
    padding: 14px;
    border-bottom: 1px solid var(--bcw-line);
}

.bcw-session-card h3 {
    margin: 5px 0 0;
    color: #e2edef;
    font-size: 14px;
    font-weight: 680;
}

.bcw-session-card header p {
    margin: 4px 0 0;
    color: #6f888f;
    font-size: 9px;
}

.bcw-session-card dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 0;
    padding: 8px 14px 13px;
}

.bcw-session-card dl div {
    min-width: 0;
    padding: 8px 8px 8px 0;
    border-bottom: 1px solid rgba(24, 52, 61, .55);
}

.bcw-session-card dl .bcw-session-wide {
    grid-column: 1 / -1;
}

.bcw-session-card dt {
    color: #5d777e;
    font-size: 7px;
    font-weight: 950;
    letter-spacing: .08em;
}

.bcw-session-card dd {
    margin: 4px 0 0;
    overflow: hidden;
    color: #b9cbd0;
    font-size: 9px;
    line-height: 1.4;
    text-overflow: ellipsis;
    word-break: break-word;
}

.bcw-session-card form {
    padding: 0 14px 14px;
}

.bcw-session-revoke {
    width: 100%;
    min-height: 34px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .07em;
}

/* Responsive */

@media (max-width: 1120px) {
    .bcw-login-console {
        grid-template-columns: 1fr 430px;
    }

    .bcw-login-identity {
        padding: 38px 34px 28px;
    }

    .bcw-brand-lockup {
        flex-direction: column;
    }

    .bcw-brand-lockup img {
        width: 125px;
    }

    .bcw-radar {
        width: min(34vw, 280px);
    }

    .bcw-session-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bcw-stat-grid-five {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .bcw-login-stage {
        padding: 12px;
    }

    .bcw-login-console {
        display: block;
        min-height: 0;
    }

    .bcw-login-identity {
        min-height: 440px;
        border-right: 0;
        border-bottom: 1px solid var(--bcw-line);
    }

    .bcw-brand-lockup {
        flex-direction: row;
    }

    .bcw-intelligence-map {
        grid-template-columns: minmax(230px, 1fr) minmax(170px, .55fr);
    }

    .bcw-radar {
        width: min(42vw, 290px);
    }

    .bcw-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bcw-stat-grid-five {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bcw-admin-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .bcw-admin-header nav {
        flex-wrap: wrap;
    }
}

@media (max-width: 680px) {
    .bcw-auth-card,
    .bcw-auth-card-wide {
        padding: 19px;
    }

    .bcw-auth-brand {
        align-items: flex-start;
    }

    .bcw-auth-brand img {
        width: 85px;
    }

    .bcw-form-grid {
        grid-template-columns: 1fr;
    }

    .bcw-field-span-2 {
        grid-column: auto;
    }

    .bcw-login-identity {
        min-height: 0;
        padding: 28px 22px 23px;
    }

    .bcw-brand-lockup {
        flex-direction: column;
        gap: 14px;
    }

    .bcw-brand-lockup img {
        width: 105px;
    }

    .bcw-brand-lockup h1 {
        font-size: 35px;
    }

    .bcw-intelligence-map {
        display: block;
    }

    .bcw-radar {
        width: min(76vw, 280px);
        margin: 8px auto 23px;
    }

    .bcw-login-motto {
        flex-wrap: wrap;
    }

    .bcw-access-terminal {
        padding: 28px 20px 22px;
    }

    .bcw-terminal-head h2 {
        font-size: 21px;
    }

    .bcw-register-callout {
        align-items: flex-start;
        flex-direction: column;
    }

    .bcw-terminal-foot {
        align-items: flex-start;
        flex-direction: column;
    }

    .bcw-session-grid {
        grid-template-columns: 1fr;
    }

    .bcw-admin-main {
        width: min(calc(100% - 20px), 1540px);
    }
}

@media (max-width: 450px) {
    .bcw-stat-grid,
    .bcw-stat-grid-five {
        grid-template-columns: 1fr;
    }

    .bcw-auth-tabs {
        grid-template-columns: 1fr;
    }

    .bcw-session-card dl {
        grid-template-columns: 1fr;
    }

    .bcw-session-card dl .bcw-session-wide {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
    }
}
