﻿:root {
    --navy: #0b1f3a;
    --gold: #b08d57;
    --muted: #475569;
    --line: #e5e7eb;
    --card: #ffffff;
    --shadow: 0 18px 50px rgba(15,23,42,.14);
    --radius: 22px;
}

.login-wrap {
    width: min(1140px, calc(100% - 36px));
    margin: 28px auto 60px;
    display: flex;
    justify-content: center;
}

.login-card {
    width: min(520px, 100%);
    background: var(--card);
    border: 1px solid rgba(229,231,235,.95);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

    .login-card::before {
        content: "";
        position: absolute;
        inset: -80px -80px auto auto;
        width: 260px;
        height: 260px;
        background: radial-gradient(circle, rgba(176,141,87,.22), transparent 60%);
        pointer-events: none;
    }

.login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 22px 14px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(11,31,58,.04), rgba(11,31,58,0));
}

.login-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(0,0,0,.10));
}

.login-brand-text h2 {
    margin: 0;
    color: var(--navy);
    font-weight: 950;
    letter-spacing: -.2px;
}

.login-brand-text p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.5;
}

.login-form {
    padding: 18px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .login-form label {
        color: rgba(15,23,42,.75);
        font-weight: 900;
        font-size: 13px;
        margin-top: 6px;
    }

.inp {
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    outline: none;
    font-size: 14.5px;
    background: #fff;
}

    .inp:focus {
        border-color: rgba(176,141,87,.95);
        box-shadow: 0 0 0 4px rgba(176,141,87,.18);
    }

.pass-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-eye {
    width: 48px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
    font-size: 16px;
}

.login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
}

.chk {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    user-select: none;
}

.link {
    color: var(--navy);
    font-weight: 900;
    text-decoration: none;
    font-size: 13px;
}

    .link:hover {
        text-decoration: underline;
    }

.btn-login {
    width: 100%;
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--navy);
    background: var(--navy);
    color: #fff;
    font-weight: 950;
    cursor: pointer;
    transition: filter .15s ease, transform .15s ease;
}

    .btn-login:hover {
        filter: brightness(1.06);
        transform: translateY(-1px);
    }

    .btn-login:active {
        transform: translateY(0);
    }

.login-foot {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12.8px;
    line-height: 1.6;
}

.login-msg {
    margin: 14px 22px 0;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(239,68,68,.35);
    background: rgba(239,68,68,.07);
    color: rgba(127,29,29,.95);
    font-weight: 900;
}

/* Responsive */
@media (max-width: 520px) {
    .login-row {
        flex-direction: column;
        align-items: flex-start;
    }
}
