@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@400;500;600;700&family=Rajdhani:wght@400;500;600;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: #e8f0fb;
    font-family: "Rajdhani", "Segoe UI", sans-serif;
    background: radial-gradient(circle at 10% 10%, #152a40 0%, #05070e 55%, #020205 100%);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 70% 20%, rgba(29, 124, 201, 0.18), transparent 55%),
        radial-gradient(circle at 20% 80%, rgba(42, 199, 175, 0.12), transparent 60%);
    pointer-events: none;
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(63, 115, 155, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(63, 115, 155, 0.12) 1px, transparent 1px);
    background-size: 90px 90px;
    opacity: 0.35;
    mask-image: radial-gradient(circle at 50% 15%, #000 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 28px 24px 50px;
}

.auth-column {
    width: 100%;
    max-width: 980px;
    display: grid;
    gap: 18px;
}

.auth-column--compact {
    max-width: 720px;
}

.auth-card {
    width: 100%;
    background: rgba(6, 12, 20, 0.95);
    border: 1px solid #2b4666;
    border-radius: 10px;
    padding: 26px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}

.auth-card::after {
    content: "";
    position: absolute;
    inset: -40% 0 auto 0;
    height: 70%;
    background: linear-gradient(120deg, transparent 0%, rgba(60, 181, 255, 0.14) 45%, transparent 100%);
    opacity: 0.5;
    animation: sweep 6s linear infinite;
    pointer-events: none;
}

@keyframes sweep {
    0% {
        transform: translateX(-40%) translateY(-30%);
    }
    100% {
        transform: translateX(60%) translateY(30%);
    }
}

.auth-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.auth-kicker {
    font-size: 12px;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #7f98b8;
    margin-bottom: 6px;
}

h1 {
    margin: 0;
    font-size: 34px;
    font-family: "Oxanium", "Rajdhani", sans-serif;
}

.subtitle {
    margin: 4px 0 0;
    color: #9eb6cf;
    font-size: 15px;
}

.auth-badge {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: 1px solid #2f4f6c;
    background: linear-gradient(140deg, #0b2235 0%, #162a3b 100%);
    display: grid;
    place-items: center;
    font-family: "Oxanium", "Rajdhani", sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    color: #43c0ff;
    box-shadow: inset 0 0 10px rgba(67, 192, 255, 0.2);
}

.auth-update {
    margin: 16px 0 22px;
    padding: 10px 12px;
    border: 1px solid #1f3b55;
    background: rgba(6, 18, 32, 0.8);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.auth-update-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: #8fb2d5;
}

.auth-update-title {
    font-size: 15px;
    color: #f0f6ff;
    font-weight: 600;
}

.auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 22px;
    position: relative;
    z-index: 1;
}

.auth-form {
    padding-right: 8px;
}

.auth-form--wide {
    padding-right: 0;
}

.error-box {
    margin-bottom: 12px;
    padding: 10px;
    border: 1px solid #7a2727;
    background: #3a1313;
    border-radius: 6px;
    color: #f2b6b6;
}

.status-box {
    margin-bottom: 12px;
    padding: 10px;
    border: 1px solid #245f39;
    background: #102b19;
    border-radius: 6px;
    color: #bde9c8;
}

label {
    display: block;
    margin: 12px 0 6px;
    font-size: 14px;
    color: #b8c9dd;
}

input {
    width: 100%;
    height: 42px;
    border: 1px solid #2c4a68;
    border-radius: 8px;
    background: #0b1827;
    color: #f3f7fd;
    padding: 0 12px;
    font-size: 15px;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

input:focus {
    outline: none;
    border-color: #4ab5ff;
    box-shadow: 0 0 0 2px rgba(74, 181, 255, 0.2);
}

.remember {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: #c0d2e6;
}

.remember input {
    width: auto;
    height: auto;
}

button {
    width: 100%;
    height: 44px;
    margin-top: 16px;
    border: 1px solid #2e6da1;
    border-radius: 8px;
    background: linear-gradient(180deg, #1f6aa9 0%, #164a78 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 14px rgba(12, 70, 120, 0.45);
}

.foot {
    margin-top: 14px;
    font-size: 14px;
    color: #a5bad3;
}

.auth-links {
    margin-top: 12px;
    font-size: 14px;
}

a {
    color: #6dc5ff;
}

.auth-brief {
    border-left: 1px solid #1f3852;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.brief-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #88a8c9;
}

.brief-list {
    margin: 0;
    padding-left: 18px;
    font-size: 15px;
    color: #d1ddee;
}

.brief-list li {
    margin: 8px 0;
}

.brief-footer {
    font-size: 12px;
    color: #6f8bad;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.news-card {
    background: rgba(5, 11, 19, 0.96);
    border: 1px solid #2b4666;
    border-radius: 10px;
    padding: 16px 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.news-list {
    margin: 0;
    padding-left: 18px;
}

.news-list li {
    margin: 6px 0;
    font-size: 16px;
    color: #d7e1ee;
}

.news-entry-head {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
}

.news-entry-title {
    font-weight: 700;
}

.news-entry-bullets {
    margin: 4px 0 0 18px;
    padding: 0;
}

.news-entry-bullets li {
    margin: 2px 0;
    font-size: 14px;
    color: #c9d7e7;
}

.news-date {
    color: #91aacc;
    margin-right: 8px;
}

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

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

    .auth-brief {
        border-left: 0;
        border-top: 1px solid #1f3852;
        padding-left: 0;
        padding-top: 14px;
    }
}

@media (max-width: 600px) {
    .auth-shell {
        padding: 20px 16px 36px;
    }

    .auth-card {
        padding: 20px;
    }

    h1 {
        font-size: 28px;
    }

    .auth-badge {
        width: 44px;
        height: 44px;
        font-size: 12px;
    }

    .news-list li {
        font-size: 14px;
    }

    .news-entry-bullets li {
        font-size: 13px;
    }
}
