:root {

    --black: #05070a;
    --black-2: #080b10;
    --panel: #0c1118;
    --panel-2: #101720;

    --blue: #0092fd;
    --blue-light: #35adff;
    --blue-dark: #006fca;

    --white: #ffffff;
    --muted: #8491a3;

    --green: #25e58a;
    --yellow: #ffbd3d;
    --red: #ff4565;

    --border: rgba(255,255,255,.075);

    --radius: 18px;
}


* {
    box-sizing: border-box;
}


html,
body {

    margin: 0;

    min-height: 100%;

    background:
        radial-gradient(
            circle at 70% -10%,
            rgba(0,146,253,.13),
            transparent 35%
        ),

        var(--black);

    color: var(--white);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;
}


body {
    min-height: 100vh;
}


button,
a {
    font-family: inherit;
}


button {
    cursor: pointer;
}


/* =========================================================
   APP
========================================================= */

.app {

    display: flex;

    min-height: 100vh;
}


/* =========================================================
   SIDEBAR
========================================================= */

.sidebar {

    width: 250px;

    position: fixed;

    left: 0;
    top: 0;
    bottom: 0;

    z-index: 100;

    display: flex;

    flex-direction: column;

    background:
        linear-gradient(
            180deg,
            #080b10,
            #05070a
        );

    border-right:
        1px solid var(--border);
}


.sidebar-logo {

    padding: 28px 28px 35px;

    display: flex;

    justify-content: center;
}


.sidebar-logo img {

    width: 165px;

    height: auto;

    display: block;
}


/* =========================================================
   NAV
========================================================= */

.sidebar-nav {

    display: flex;

    flex-direction: column;

    gap: 5px;

    padding: 0 14px;
}


.nav-item {

    width: 100%;

    display: flex;

    align-items: center;

    gap: 13px;

    position: relative;

    padding: 13px 15px;

    border: 0;

    border-radius: 12px;

    background: transparent;

    color: #8491a3;

    text-align: left;

    font-size: 14px;

    transition:
        background .2s,
        color .2s,
        transform .2s;
}


.nav-item:hover {

    background:
        rgba(0,146,253,.07);

    color: white;
}


.nav-item.active-module {

    background:
        linear-gradient(
            90deg,
            rgba(0,146,253,.16),
            rgba(0,146,253,.04)
        );

    color: white;

    box-shadow:
        inset 3px 0 0 var(--blue);
}


.nav-icon {

    width: 24px;

    text-align: center;

    font-size: 17px;
}


.nav-item small {

    margin-left: auto;

    padding: 3px 6px;

    border-radius: 5px;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .5px;

    background:
        rgba(255,255,255,.06);

    color: #596575;
}


.nav-item.disabled {

    opacity: .48;

    cursor: default;
}


.sidebar-bottom {

    margin-top: auto;

    padding: 20px;
}


.connection-status {

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 11px 12px;

    border-radius: 10px;

    background:
        rgba(255,255,255,.025);

    color: #687587;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .5px;
}


.connection-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #555;

}


.connection-dot.online {

    background: var(--green);

    box-shadow:
        0 0 10px
        rgba(37,229,138,.8);
}


.connection-dot.offline {

    background: var(--red);

    box-shadow:
        0 0 10px
        rgba(255,69,101,.8);
}


.sidebar-version {

    margin-top: 12px;

    color: #3d4653;

    font-size: 9px;

    text-align: center;

    letter-spacing: 1px;
}


/* =========================================================
   MAIN
========================================================= */

.main {

    width: calc(
        100% - 250px
    );

    margin-left: 250px;

    padding: 35px;

    max-width: 1800px;
}


/* =========================================================
   TOPBAR
========================================================= */

.topbar {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 32px;
}


.topbar-left {

    display: flex;

    align-items: center;

    gap: 15px;
}


.eyebrow {

    color: var(--blue);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 5px;
}


.topbar h1 {

    margin: 0;

    font-size: 32px;

    letter-spacing: -1px;
}


.topbar p {

    margin: 5px 0 0;

    color: var(--muted);

    font-size: 13px;
}


.topbar-right {

    display: flex;

    align-items: center;

    gap: 10px;
}


.live-badge {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 10px 13px;

    border-radius: 10px;

    border:
        1px solid
        rgba(37,229,138,.12);

    background:
        rgba(37,229,138,.05);

    color: #7fd8ad;

    font-size: 10px;

    font-weight: 800;
}


.live-badge span {

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 10px var(--green);
}


.tv-link {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 11px 15px;

    border-radius: 10px;

    background:
        rgba(0,146,253,.09);

    border:
        1px solid
        rgba(0,146,253,.2);

    color: white;

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

    transition: .2s;
}


.tv-link:hover {

    background:
        rgba(0,146,253,.18);

    border-color:
        rgba(0,146,253,.4);
}


.mobile-menu {

    display: none;

    background: transparent;

    border: 0;

    color: white;

    font-size: 24px;
}


/* =========================================================
   STATS
========================================================= */

.stats-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;

    margin-bottom: 40px;
}


.stat-card {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 18px;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.015)
        );
}


.stat-icon {

    width: 43px;

    height: 43px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    font-size: 17px;
}


.stat-icon.blue {

    background:
        rgba(0,146,253,.1);

    color: var(--blue);
}


.stat-icon.green {

    background:
        rgba(37,229,138,.09);

    color: var(--green);
}


.stat-icon.yellow {

    background:
        rgba(255,189,61,.09);

    color: var(--yellow);
}


.stat-icon.red {

    background:
        rgba(255,69,101,.09);

    color: var(--red);
}


.stat-card span {

    display: block;

    color: var(--muted);

    font-size: 11px;
}


.stat-card strong {

    display: block;

    margin-top: 3px;

    font-size: 25px;
}


/* =========================================================
   SECTION
========================================================= */

.content-section {

    width: 100%;
}


.section-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    margin-bottom: 18px;
}


.section-kicker {

    color: var(--blue);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 5px;
}


.section-header h2 {

    margin: 0;

    font-size: 21px;
}


.section-header p {

    margin: 5px 0 0;

    color: var(--muted);

    font-size: 12px;
}


.refresh-indicator {

    display: flex;

    align-items: center;

    gap: 7px;

    color: #647083;

    font-size: 10px;
}


.refresh-indicator span {

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: var(--blue);

    box-shadow:
        0 0 9px var(--blue);

    animation:
        pulse 1.5s infinite;
}


@keyframes pulse {

    0%,
    100% {
        opacity: .4;
    }

    50% {
        opacity: 1;
    }
}


/* =========================================================
   CARS GRID
========================================================= */

.cars-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;
}


/* =========================================================
   CAR CARD
========================================================= */

.car-card {

    position: relative;

    overflow: hidden;

    min-height: 310px;

    padding: 22px;

    border:
        1px solid var(--border);

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(0,146,253,.08),
            transparent 38%
        ),

        linear-gradient(
            145deg,
            #0d131b,
            #080c11
        );

    transition:
        border-color .2s,
        transform .2s,
        box-shadow .2s;
}


.car-card:hover {

    transform:
        translateY(-2px);

    border-color:
        rgba(0,146,253,.25);
}


.car-card.active {

    border-color:
        rgba(255,69,101,.22);

    box-shadow:
        0 0 35px
        rgba(255,69,101,.04);
}


.car-card.waiting {

    border-color:
        rgba(255,189,61,.25);

    box-shadow:
        0 0 35px
        rgba(255,189,61,.04);
}


.car-card-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;
}


.car-number {

    font-size: 58px;

    line-height: .85;

    font-weight: 900;

    letter-spacing: -4px;

    color: white;
}


.car-status {

    display: flex;

    align-items: center;

    gap: 7px;

    padding: 7px 9px;

    border-radius: 8px;

    background:
        rgba(255,255,255,.035);

    color: #8995a6;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .7px;
}


.status-dot {

    width: 6px;

    height: 6px;

    border-radius: 50%;
}


.status-dot.green {

    background: var(--green);

    box-shadow:
        0 0 9px var(--green);
}


.status-dot.yellow {

    background: var(--yellow);

    box-shadow:
        0 0 9px var(--yellow);
}


.status-dot.red {

    background: var(--red);

    box-shadow:
        0 0 9px var(--red);
}


/* =========================================================
   FREE
========================================================= */

.free-area {

    margin-top: 55px;
}


.duration-title {

    margin-bottom: 12px;

    color: var(--muted);

    font-size: 11px;
}


.duration-buttons {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;
}


.duration-buttons button {

    min-height: 95px;

    border:
        1px solid
        rgba(0,146,253,.18);

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(0,146,253,.1),
            rgba(0,146,253,.035)
        );

    color: white;

    transition:
        background .2s,
        border .2s,
        transform .2s,
        box-shadow .2s;
}


.duration-buttons button:hover {

    transform:
        translateY(-2px);

    background:
        linear-gradient(
            145deg,
            var(--blue),
            var(--blue-dark)
        );

    border-color:
        var(--blue);

    box-shadow:
        0 10px 25px
        rgba(0,146,253,.2);
}


.duration-buttons strong {

    display: block;

    font-size: 30px;

    line-height: 1;
}


.duration-buttons span {

    display: block;

    margin-top: 5px;

    color: #7e8b9d;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;
}


.duration-buttons button:hover span {

    color: white;
}


/* =========================================================
   ACTIVE
========================================================= */

.active-area {

    margin-top: 48px;

    text-align: center;
}


.big-timer {

    margin-bottom: 4px;
}


.big-timer .timer {

    font-size: 58px;

    font-weight: 900;

    letter-spacing: -3px;

    color: white;
}


.big-timer .timer.critical {

    color: var(--red);

    animation:
        timerPulse .8s infinite;
}


@keyframes timerPulse {

    50% {
        opacity: .5;
    }
}


.ride-label {

    color: var(--red);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;
}


.danger-button {

    width: 100%;

    margin-top: 30px;

    padding: 14px;

    border:
        1px solid
        rgba(255,69,101,.2);

    border-radius: 11px;

    background:
        rgba(255,69,101,.08);

    color: #ff7089;

    font-weight: 800;

    font-size: 11px;

    transition: .2s;
}


.danger-button:hover {

    background:
        var(--red);

    color: white;
}


/* =========================================================
   WAITING
========================================================= */

.waiting-area {

    margin-top: 37px;

    text-align: center;
}


.waiting-icon {

    width: 62px;

    height: 62px;

    margin:
        0 auto 15px;

    display: grid;

    place-items: center;

    border-radius: 18px;

    background:
        rgba(255,189,61,.08);

    border:
        1px solid
        rgba(255,189,61,.18);

    color: var(--yellow);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1px;
}


.waiting-area strong {

    display: block;

    font-size: 13px;
}


.waiting-area > span {

    display: block;

    margin-top: 6px;

    color: var(--muted);

    font-size: 10px;
}


.start-test-button {

    width: 100%;

    margin-top: 22px;

    padding: 13px;

    border-radius: 11px;

    border:
        1px solid
        rgba(0,146,253,.2);

    background:
        rgba(0,146,253,.08);

    color: var(--blue);

    font-size: 11px;

    font-weight: 800;
}


.start-test-button:hover {

    background:
        var(--blue);

    color: white;
}


.cancel-button {

    width: 100%;

    margin-top: 7px;

    padding: 9px;

    border: 0;

    background: transparent;

    color: #5f6a7a;

    font-size: 10px;
}


/* =========================================================
   TOAST
========================================================= */

.ggz-toast {

    position: fixed;

    right: 25px;

    bottom: 25px;

    z-index: 9999;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px 17px;

    border:
        1px solid var(--border);

    border-radius: 12px;

    background:
        #111820;

    box-shadow:
        0 15px 50px
        rgba(0,0,0,.4);

    color: white;

    font-size: 12px;

    opacity: 0;

    transform:
        translateY(15px);

    transition: .25s;
}


.ggz-toast.show {

    opacity: 1;

    transform:
        translateY(0);
}


.ggz-toast.success {

    border-color:
        rgba(37,229,138,.2);
}


.ggz-toast.error {

    border-color:
        rgba(255,69,101,.25);
}


.toast-icon {

    width: 25px;

    height: 25px;

    display: grid;

    place-items: center;

    border-radius: 7px;

    background:
        rgba(0,146,253,.12);

    color: var(--blue);

    font-weight: 900;
}


/* =========================================================
   GOODGAMEZONE TV
========================================================= */

/* =========================================================
   GOODGAMEZONE - TV FULLSCREEN
========================================================= */

.tv-mode {

    margin: 0;

    padding: 0;

    width: 100vw;

    height: 100vh;

    overflow: hidden;

    background: #030507;
}


/* =========================================================
   TV APP
========================================================= */

.tv-app {

    width: 100vw;

    height: 100vh;

    padding: 14px;

    background:

        radial-gradient(
            circle at 50% 50%,
            rgba(0,146,253,.08),
            transparent 60%
        ),

        #030507;
}


/* =========================================================
   6 KAFELKÓW
========================================================= */

.tv-grid {

    width: 100%;

    height: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    grid-template-rows:
        repeat(2, 1fr);

    gap: 14px;
}


/* =========================================================
   KAFEL
========================================================= */

.tv-car {

    position: relative;

    width: 100%;

    height: 100%;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #10161e,
            #070a0e
        );

    border:
        2px solid
        rgba(255,255,255,.06);

    box-shadow:
        inset 0 0 80px
        rgba(0,0,0,.3);
}


/* =========================================================
   NUMER
========================================================= */

.tv-number {
    position: absolute;
    top: 18px;
    left: 22px;

    width: clamp(64px, 5vw, 90px);
    height: clamp(64px, 5vw, 90px);

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: linear-gradient(145deg, #0b1622, #030609);
    border: 3px solid #0092FD;

    color: #fff;

    font-size: clamp(34px, 3vw, 52px);
    font-weight: 1000;
    line-height: 1;

    z-index: 2;

    box-shadow:
        0 0 0 4px rgba(0,146,253,.12),
        0 0 35px rgba(0,146,253,.35),
        inset 0 0 15px rgba(0,146,253,.12);

    text-shadow:
        0 0 12px rgba(255,255,255,.35);
}


/* =========================================================
   ŚRODEK
========================================================= */

.tv-content {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}


/* =========================================================
   WOLNY
========================================================= */

.tv-free {

    border-color:
        rgba(37,229,138,.2);

    background:

        radial-gradient(
            circle at center,
            rgba(37,229,138,.07),
            transparent 60%
        ),

        #070b0d;
}


.tv-free-text {

    color: var(--green);

    font-size:
        clamp(42px, 6vw, 100px);

    line-height: 1;

    font-weight: 900;

    letter-spacing: -3px;

    text-shadow:
        0 0 30px
        rgba(37,229,138,.15);
}


/* =========================================================
   JAZDA
========================================================= */

.tv-active {

    border-color:
        rgba(255,69,101,.3);

    background:

        radial-gradient(
            circle at center,
            rgba(255,69,101,.08),
            transparent 60%
        ),

        #0b080b;
}


.tv-timer {

    line-height: 1;
}


.tv-timer .timer {

    color: white;

    font-size:
        clamp(50px, 7vw, 120px);

    font-weight: 900;

    letter-spacing: -5px;

    font-variant-numeric:
        tabular-nums;

    text-shadow:
        0 0 35px
        rgba(255,255,255,.08);
}


.tv-timer .timer.critical {

    color: var(--red);

    text-shadow:
        0 0 40px
        rgba(255,69,101,.4);

    animation:
        timerPulse .8s infinite;
}


.tv-status {

    margin-top: 18px;

    font-size:
        clamp(13px, 1.3vw, 23px);

    font-weight: 900;

    letter-spacing:
        clamp(2px, .3vw, 5px);
}


.tv-status.active {

    color: var(--red);
}


/* =========================================================
   RFID
========================================================= */

.tv-waiting {

    border-color:
        rgba(255,189,61,.3);

    background:

        radial-gradient(
            circle at center,
            rgba(255,189,61,.08),
            transparent 60%
        ),

        #0c0b07;
}


.tv-rfid {

    width:
        clamp(100px, 12vw, 190px);

    height:
        clamp(100px, 12vw, 190px);

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    border:
        3px solid
        rgba(255,189,61,.3);

    background:
        rgba(255,189,61,.05);

    color: var(--yellow);

    font-size:
        clamp(18px, 2vw, 32px);

    font-weight: 900;

    letter-spacing: 2px;

    box-shadow:
        0 0 45px
        rgba(255,189,61,.08);

    animation:
        rfidPulse 1.5s infinite;
}


@keyframes rfidPulse {

    50% {

        box-shadow:
            0 0 70px
            rgba(255,189,61,.22);

        border-color:
            rgba(255,189,61,.55);
    }
}


.tv-status.waiting {

    color: var(--yellow);
}


/* =========================================================
   GOTOWY
========================================================= */

.tv-status.free {

    color: #75e9ae;

    opacity: .8;
}


/* =========================================================
   TIMER PULSE
========================================================= */

@keyframes timerPulse {

    50% {
        opacity: .45;
    }
}


/* =========================================================
   MAŁE EKRANY
========================================================= */

@media (max-width: 800px) {

    .tv-app {

        padding: 8px;
    }

    .tv-grid {

        gap: 8px;
    }

    .tv-car {

        border-radius: 13px;
    }

    .tv-number {

        top: 10px;

        left: 10px;

        width: 42px;

        height: 42px;

        font-size: 21px;
    }
}


/* =========================================================
   FREE
========================================================= */

.tv-free-icon {

    width:
        clamp(50px, 5vw, 75px);

    height:
        clamp(50px, 5vw, 75px);

    display: grid;

    place-items: center;

    border-radius: 50%;

    background:
        rgba(37,229,138,.07);

    border:
        2px solid
        rgba(37,229,138,.22);

    color: var(--green);

    font-size:
        clamp(24px, 2.5vw, 38px);

    font-weight: 900;

    box-shadow:
        0 0 30px
        rgba(37,229,138,.04);
}


.tv-free-text {

    margin-top: 10px;

    color: var(--green);

    font-size:
        clamp(18px, 2vw, 30px);

    font-weight: 900;

    letter-spacing: 1px;
}


/* =========================================================
   BOTTOM
========================================================= */

.tv-car-bottom {

    position: relative;

    z-index: 2;

    color: #3f4c5d;

    font-size:
        clamp(7px, .55vw, 9px);

    font-weight: 800;

    letter-spacing: 1.5px;

    text-align: center;
}


.tv-footer {

    flex: 0 0 auto;

    height:
        clamp(20px, 4vh, 35px);

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    max-width: 1700px;

    width: 100%;

    margin: 0 auto;

    color: #3e4a59;

    font-size:
        clamp(7px, .55vw, 9px);

    font-weight: 800;

    letter-spacing: 1.5px;
}


/* =========================================================
   TV 1366x768 / 28"
========================================================= */

@media (
    min-width: 1000px
) and (
    max-height: 850px
) {

    .tv-app {

        padding:
            15px 25px;
    }


    .tv-header {

        height: 70px;

        margin-bottom: 10px;
    }


    .tv-brand img {

        width: 175px;
    }


    .tv-grid {

        gap: 12px;
    }


    .tv-car {

        padding: 14px;

        border-radius: 17px;
    }


    .tv-car-number {

        width: 48px;

        height: 48px;

        font-size: 24px;
    }


    .tv-timer .timer {

        font-size: 55px;
    }


    .tv-waiting-icon,
    .tv-free-icon {

        width: 48px;

        height: 48px;
    }


    .tv-waiting-text,
    .tv-free-text {

        font-size: 18px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (
    max-width: 1100px
) {

    .sidebar {

        width: 80px;
    }


    .sidebar-logo {

        padding:
            22px 12px;
    }


    .sidebar-logo img {

        width: 52px;

        height: 52px;

        object-fit: cover;

        object-position: top;
    }


    .nav-item {

        justify-content: center;

        padding: 13px 5px;
    }


    .nav-item > span:not(.nav-icon),
    .nav-item small {

        display: none;
    }


    .main {

        width:
            calc(100% - 80px);

        margin-left: 80px;

        padding: 25px;
    }


    .stats-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .cars-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }
}


@media (
    max-width: 700px
) {

    .sidebar {

        transform:
            translateX(-100%);

        transition: .25s;
    }


    .sidebar.mobile-open {

        transform:
            translateX(0);
    }


    .main {

        width: 100%;

        margin-left: 0;

        padding: 18px;
    }


    .mobile-menu {

        display: block;
    }


    .topbar {

        align-items: flex-start;

        gap: 15px;

        flex-direction: column;
    }


    .topbar-right {

        width: 100%;
    }


    .tv-link {

        flex: 1;

        justify-content: center;
    }


    .stats-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 9px;
    }


    .stat-card {

        padding: 13px;
    }


    .stat-icon {

        width: 35px;

        height: 35px;
    }


    .cars-grid {

        grid-template-columns:
            1fr;
    }


    .section-header {

        align-items: flex-start;

        gap: 10px;

        flex-direction: column;
    }


    .refresh-indicator {

        align-self: flex-start;
    }
}


/* =========================================================
   TV SMALLER SCREENS
========================================================= */

@media (
    max-width: 900px
) {

    .tv-app {

        padding: 20px;
    }


    .tv-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }
}


@media (
    max-width: 600px
) {

    .tv-grid {

        grid-template-columns:
            1fr;
    }


    .tv-header {

        gap: 15px;

        flex-wrap: wrap;
    }


    .tv-heading {

        order: 3;

        width: 100%;
    }


    .tv-car {

        min-height: 210px;
    }


    .tv-timer {

        font-size: 55px;
    }
}

/* =========================================================
   USER / LOGOUT
========================================================= */

.user-badge {

    display: flex;

    align-items: center;

    gap: 7px;

    padding: 10px 13px;

    border-radius: 10px;

    background:
        rgba(255,255,255,.035);

    border:
        1px solid var(--border);

    color: #aeb8c6;

    font-size: 10px;

    font-weight: 700;
}


.logout-link {

    display: flex;

    align-items: center;

    gap: 7px;

    padding: 10px 13px;

    border-radius: 10px;

    color: #8b95a4;

    background:
        rgba(255,255,255,.025);

    border:
        1px solid var(--border);

    text-decoration: none;

    font-size: 10px;

    font-weight: 700;

    transition: .2s;
}


.logout-link:hover {

    color: white;

    background:
        rgba(255,69,101,.08);

    border-color:
        rgba(255,69,101,.2);
}


/* =========================================================
   LOGIN
========================================================= */

.login-page {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background:

        radial-gradient(
            circle at 50% 0%,
            rgba(0,146,253,.18),
            transparent 40%
        ),

        #030507;
}


.login-wrapper {

    width: 100%;

    max-width: 430px;
}


.login-card {

    padding:
        38px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 24px;

    background:

        linear-gradient(
            145deg,
            rgba(15,21,29,.98),
            rgba(7,10,14,.98)
        );

    box-shadow:
        0 30px 100px
        rgba(0,0,0,.5),

        0 0 60px
        rgba(0,146,253,.05);
}


.login-logo {

    display: flex;

    justify-content: center;

    margin-bottom: 30px;
}


.login-logo img {

    width: 220px;

    max-width: 80%;

    height: auto;
}


.login-heading {

    text-align: center;

    margin-bottom: 25px;
}


.login-kicker {

    color: var(--blue);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 2px;

    margin-bottom: 7px;
}


.login-heading h1 {

    margin: 0;

    font-size: 25px;

    letter-spacing: -.5px;
}


.login-heading p {

    margin:
        8px 0 0;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.5;
}


.login-card form {

    display: flex;

    flex-direction: column;

    gap: 17px;
}


.login-card label {

    display: flex;

    flex-direction: column;

    gap: 7px;
}


.login-card label span {

    color: #8995a5;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1.3px;
}


.login-card input {

    width: 100%;

    height: 50px;

    padding:
        0 15px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 11px;

    outline: none;

    background:
        #080c11;

    color: white;

    font-size: 13px;

    transition:
        border .2s,
        box-shadow .2s;
}


.login-card input::placeholder {

    color: #465161;
}


.login-card input:focus {

    border-color:
        rgba(0,146,253,.55);

    box-shadow:
        0 0 0 3px
        rgba(0,146,253,.08);
}


.login-button {

    width: 100%;

    height: 52px;

    margin-top: 5px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    border: 0;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            #0075d0
        );

    color: white;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: .7px;

    box-shadow:
        0 10px 30px
        rgba(0,146,253,.18);

    transition:
        transform .2s,
        box-shadow .2s;
}


.login-button:hover {

    transform:
        translateY(-1px);

    box-shadow:
        0 14px 35px
        rgba(0,146,253,.3);
}


.login-button span {

    font-size: 18px;
}


.login-error {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 17px;

    padding: 11px 13px;

    border-radius: 10px;

    background:
        rgba(255,69,101,.07);

    border:
        1px solid
        rgba(255,69,101,.16);

    color: #ff8095;

    font-size: 11px;
}


.login-error span {

    width: 22px;

    height: 22px;

    display: grid;

    place-items: center;

    border-radius: 6px;

    background:
        rgba(255,69,101,.12);

    font-weight: 900;
}


.login-footer {

    margin-top: 25px;

    text-align: center;

    color: #3f4a58;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


@media (
    max-width: 600px
) {

    .login-card {

        padding: 28px 22px;

        border-radius: 20px;
    }


    .login-logo img {

        width: 190px;
    }


    .user-badge {

        display: none;
    }


    .logout-link {

        font-size: 0;

        padding: 10px;
    }


    .logout-link:first-letter {

        font-size: 16px;
    }
}