:root {
    --bg: #0b0c10;
    --panel: #0f1117;
    --text: #f4f6ff;
    --muted: rgba(244, 246, 255, .68);
    --logo-bg: #c7c2bf;
    --line: rgba(255, 255, 255, .10);
    --bg-nav: rgba(11, 12, 16, .75);
    --shadow: 0 30px 80px rgba(0, 0, 0, .55);
    --r: 22px;
}


.auth {
    min-height: 100vh;
    background-color: var(--bg);
    color: var(--text);
    display: grid;
    place-items: center;
    padding: 28px 0;
}

.auth img {
    display: block;
    max-width: 100%;
}

.auth-grid {
    width: min(1120px, 92vw);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.auth-brand {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: radial-gradient(900px 420px at 20% 0%, rgba(255, 255, 255, .10), transparent 60%),
        rgba(255, 255, 255, .03);
    padding: 28px;
    display: grid;
    align-content: start;
    gap: 12px;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    font-size: 13px;
    width: fit-content;
}

.auth-logo img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--logo-bg);
}

.auth-brand h1 {
    margin: 6px 0 0;
    font-size: 38px;
    letter-spacing: -.03em;
    line-height: 1.15;
}

.auth-panel {
    border: 1px solid var(--line);
    border-radius: 18px;
    background-color: rgba(255, 255, 255, .03);
    padding: 22px;
    display: grid;
    align-content: center;
}

.auth-card {
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 16px;
    background-color: rgba(255, 255, 255, .03);
}

.auth-tab {
    padding: 12px 14px;
    color: var(--muted);
    background: transparent;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
}

.auth-tab.is-active {
    color: var(--bg);
    background-color: var(--text);
}

/* Form Styles  */

.auth-form {
    display: none;
    gap: 10px;
}


.auth-form.is-active {
    display: grid;
}

.auth-form label {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 6px;
}

.auth-form input {
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background-color: rgba(255, 255, 255, .04);
    color: var(--text);
    outline: none;
    font-family: inherit;
}

.auth-form input:focus {
    border-color: rgba(255, 255, 255, .22);
}

.auth-btn {
    margin-top: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 650;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .06));
    color: var(--text);
    cursor: pointer;
    font-family: inherit;
}

.auth-btn:hover {
    transform: translateY(-1px);
}

.auth-link {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    width: fit-content;
}

.auth-link:hover {
    color: var(--text);
}

.auth-fine {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.auth-fine a {
    color: var(--text);
    opacity: .9;
    text-decoration: underline;
}

.auth-fine a:hover {
    opacity: 1;
}

@media (max-width: 980px) {
    .auth-grid {
        grid-template-columns: 1fr;
    }
}