
:root {
    --auth-text: #edf7ff;
    --auth-muted: #a8c4d8;
    --auth-cyan: #28d8f2;
}

* { box-sizing: border-box; }

body.auth-page {
    margin: 0;
    min-height: 100vh;
    color: var(--auth-text);
    font-family: Arial, sans-serif;
    background:
        radial-gradient(ellipse at 78% 22%, rgba(0,145,190,.24), transparent 38%),
        radial-gradient(ellipse at 75% 85%, rgba(0,85,150,.22), transparent 40%),
        linear-gradient(115deg,#031522,#00384c 58%,#00283b);
}

.auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 35px 8%;
    position: relative;
    overflow: hidden;
}

.auth-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .35;
    background-image:
        radial-gradient(circle at 48% 28%,#10a9d7 0 3px,transparent 4px),
        radial-gradient(circle at 68% 48%,#10a9d7 0 3px,transparent 4px),
        radial-gradient(circle at 88% 25%,#10a9d7 0 4px,transparent 5px),
        linear-gradient(145deg,transparent 65%,rgba(0,160,220,.2) 65.2%,transparent 65.7%);
}

.auth-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 38px;
    border: 1px solid rgba(166,205,229,.18);
    border-radius: 24px;
    background: rgba(10,34,50,.85);
    box-shadow: 0 24px 65px rgba(0,0,0,.28);
    backdrop-filter: blur(15px);
}

.auth-logo { margin-bottom: 30px; }

.auth-logo img {
    width: 175px;
    max-height: 65px;
    object-fit: contain;
    object-position: left center;
}

.auth-title {
    margin: 0 0 10px;
    color: var(--auth-text);
    font-size: 32px;
    font-weight: 750;
}

.auth-title span { color: #55d5ed; }

.auth-subtitle {
    margin-bottom: 28px;
    color: var(--auth-cyan);
    line-height: 1.6;
}

.auth-card .form-label {
    color: #e2effa;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-card .form-control {
    min-height: 48px;
    margin-bottom: 20px;
    padding: 12px 14px;
    color: #fff;
    background: rgba(2,17,29,.75);
    border: 1px solid rgba(148,190,218,.22);
    border-radius: 7px;
}

.auth-card .form-control::placeholder { color: #829db2; }

.auth-card .form-control:focus {
    border-color: var(--auth-cyan);
    box-shadow: 0 0 0 3px rgba(0,216,245,.1);
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 25px;
    font-size: 14px;
}

.auth-link {
    color: var(--auth-cyan);
    text-decoration: none;
}

.auth-link:hover {
    color: #fff;
    text-decoration: underline;
}

.auth-check {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--auth-text);
}

.auth-check input { accent-color: #078ac3; }

.btn-auth {
    width: 100%;
    min-height: 50px;
    padding: 12px;
    color: #fff;
    font-weight: 700;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(110deg,#087eb8,#082039);
    cursor: pointer;
}

.btn-auth:hover {
    color: #fff;
    filter: brightness(1.2);
}

.auth-bottom {
    margin: 24px 0 0;
    color: var(--auth-muted);
    font-size: 14px;
}

.auth-card .alert {
    overflow-wrap: anywhere;
}

.auth-card .alert-success {
    color: #d4ffe7;
    background: #103b32;
    border-color: #226a55;
}

.auth-card .alert-danger {
    color: #ffe1e5;
    background: #48222b;
    border-color: #803744;
}

@media(max-width:600px) {
    .auth-wrap {
        justify-content: center;
        padding: 20px 14px;
    }

    .auth-card {
        padding: 27px 22px;
        border-radius: 19px;
    }

    .auth-title { font-size: 28px; }
    .auth-logo img { width: 155px; }
}