:root {
    --black: #050505;
    --black-soft: #101010;

    --yellow: #f4c400;
    --yellow-dark: #d9a900;

    --white: #ffffff;

    --text: #171717;
    --muted: #777777;

    --border: #e6e3da;

    --danger: #c62828;
    --danger-bg: #fff0f0;
}


* {
    box-sizing: border-box;
}


body {
    margin: 0;

    min-height: 100vh;

    font-family:
        Inter,
        Arial,
        sans-serif;

    background:
        #050505;

    color:
        var(--text);
}


.login-page {
    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 25px;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(244, 196, 0, 0.15),
            transparent 30%
        ),
        #050505;
}


.login-background {
    position: absolute;

    inset: 0;

    pointer-events: none;

    opacity: 0.22;

    background-image:
        linear-gradient(
            135deg,
            transparent 0 49%,
            rgba(244,196,0,.12) 50%,
            transparent 51%
        );

    background-size:
        260px 260px;
}


.login-card {
    width: 100%;

    max-width: 430px;

    position: relative;

    z-index: 2;

    padding: 42px;

    border-radius: 24px;

    background:
        rgba(255,255,255,0.98);

    box-shadow:
        0 35px 100px
        rgba(0,0,0,0.45);
}


.logo-wrap {
    width: 72px;
    height: 72px;

    border-radius: 50%;

    overflow: hidden;

    margin-bottom: 17px;

    border:
        3px solid
        var(--yellow);

    background:
        #050505;
}


.logo-wrap img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


.brand {
    display: flex;

    flex-direction: column;

    gap: 2px;
}


.brand strong {
    font-size: 18px;

    color: var(--black);
}


.brand span {
    font-size: 11px;

    color: var(--muted);
}


.login-heading {
    margin-top: 40px;

    margin-bottom: 25px;
}


.eyebrow {
    margin: 0 0 8px;

    color:
        var(--yellow-dark);

    text-transform:
        uppercase;

    font-size: 10px;

    font-weight: 800;

    letter-spacing:
        .12em;
}


.login-heading h1 {
    margin: 0;

    font-size: 31px;

    letter-spacing:
        -.05em;
}


.login-heading p:last-child {
    margin-top: 10px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.55;
}


form {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


label {
    margin-top: 8px;

    font-size: 11px;

    font-weight: 800;

    color:
        #333333;
}


input {
    width: 100%;

    height: 48px;

    padding:
        0
        14px;

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    outline: none;

    font-size: 13px;

    background:
        #fafaf8;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


input:focus {
    border-color:
        var(--yellow-dark);

    box-shadow:
        0 0 0 4px
        rgba(244,196,0,.12);

    background:
        #ffffff;
}


button {
    height: 50px;

    margin-top: 15px;

    border: 0;

    border-radius: 12px;

    background:
        var(--yellow);

    color:
        var(--black);

    font-size: 13px;

    font-weight: 900;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


button:hover {
    transform:
        translateY(-1px);

    box-shadow:
        0 8px 20px
        rgba(244,196,0,.25);
}


button:disabled {
    opacity: .6;

    cursor: wait;
}


.login-error {
    padding:
        11px 12px;

    margin-top: 7px;

    border-radius: 10px;

    background:
        var(--danger-bg);

    color:
        var(--danger);

    border:
        1px solid
        rgba(198,40,40,.12);

    font-size: 11px;

    font-weight: 700;
}


.hidden {
    display: none;
}


footer {
    margin-top: 34px;

    text-align: center;

    color: #999999;

    font-size: 10px;
}


@media (max-width: 520px) {

    .login-page {
        padding: 15px;
    }

    .login-card {
        padding: 30px 24px;

        border-radius: 20px;
    }

}