* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #050607;
    --panel: #0c0e10;
    --panel-soft: #121518;
    --border: #25292e;

    --text: #ffffff;
    --muted: #9b9fa6;

    --gold: #d4a53d;
    --gold-light: #f0c65d;
    --gold-dark: #9e741f;

    --danger: #e26969;
}

html,
body {
    min-height: 100%;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--bg);
    color: var(--text);
}

.login-page {
    min-height: 100vh;
}

.login-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
}

.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 70px;

    border-right: 1px solid #17191c;

    background:
        radial-gradient(
            circle at 30% 40%,
            rgba(212, 165, 61, 0.10),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #050607,
            #090b0d 55%,
            #050607
        );
}

.brand-content {
    width: 100%;
    max-width: 650px;
}

.login-logo {
    width: 190px;
    height: auto;
    margin-bottom: 55px;
}

.brand-kicker {
    display: inline-block;

    color: var(--gold);

    margin-bottom: 20px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 4px;
}

.brand-text h1 {
    max-width: 650px;

    font-size: clamp(42px, 4.6vw, 70px);
    line-height: 1.03;

    font-weight: 750;

    letter-spacing: -2px;
}

.brand-text h1 span {
    color: var(--gold);
}

.brand-text p {
    max-width: 520px;

    margin-top: 28px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.75;
}

.login-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 60px 10%;

    background:
        linear-gradient(
            145deg,
            #0a0c0e,
            #050607
        );
}

.login-card {
    width: 100%;
    max-width: 520px;

    margin: auto;
}

.login-header {
    margin-bottom: 38px;
}

.login-small {
    display: inline-block;

    margin-bottom: 17px;

    color: var(--gold);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 3px;
}

.login-header h2 {
    margin-bottom: 12px;

    font-size: 40px;

    font-weight: 650;
}

.login-header p {
    color: var(--muted);

    line-height: 1.6;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;

    margin-bottom: 9px;

    color: #c7cbd0;

    font-size: 14px;
}

.form-group input {
    width: 100%;
    height: 60px;

    padding: 0 18px;

    border: 1px solid #30343a;
    border-radius: 8px;

    outline: none;

    background: #090b0d;

    color: white;

    font-size: 15px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input:focus {
    border-color: var(--gold);

    box-shadow:
        0 0 0 3px rgba(212, 165, 61, 0.08);
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 55px;
}

.show-password {
    position: absolute;

    top: 50%;
    right: 11px;

    transform: translateY(-50%);

    width: 38px;
    height: 38px;

    border: 0;
    border-radius: 6px;

    background: transparent;

    color: #aaa;

    cursor: pointer;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin: 10px 0 30px;

    font-size: 14px;
}

.remember {
    display: flex;
    align-items: center;

    gap: 9px;

    color: #777c83;
}

.remember input {
    accent-color: var(--gold);
}

.login-options a {
    color: var(--gold);

    text-decoration: none;
}

.disabled-link {
    opacity: 0.45;

    pointer-events: none;
}

.btn-login {
    width: 100%;
    height: 62px;

    border: 0;
    border-radius: 8px;

    background:
        linear-gradient(
            90deg,
            var(--gold-dark),
            var(--gold-light)
        );

    color: #111;

    font-size: 15px;
    font-weight: 750;

    letter-spacing: 1px;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        filter 0.15s ease;
}

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

    filter: brightness(1.08);
}

.security-info {
    margin-top: 27px;

    text-align: center;

    color: #5e6369;

    font-size: 12px;
}

.alert-error {
    margin-bottom: 24px;

    padding: 14px 16px;

    border: 1px solid rgba(226, 105, 105, 0.35);
    border-radius: 7px;

    background: rgba(226, 105, 105, 0.08);

    color: #ff9b9b;

    font-size: 14px;
}

.login-panel footer {
    margin-top: 45px;

    text-align: center;

    color: #50545a;

    font-size: 12px;
}

@media (max-width: 900px) {

    .login-layout {
        display: block;
    }

    .login-brand {
        padding: 42px 28px 35px;

        border-right: 0;
        border-bottom: 1px solid #17191c;
    }

    .login-logo {
        width: 125px;

        margin-bottom: 28px;
    }

    .brand-text h1 {
        font-size: 36px;

        letter-spacing: -1px;
    }

    .brand-text p {
        font-size: 15px;
    }

    .login-panel {
        padding: 45px 28px;
    }

    .login-header h2 {
        font-size: 32px;
    }

}
