.auth {
    min-height: 100vh;
    min-height: 100dvh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(255, 255, 255, 0.75),
            transparent 40%
        );
}

.auth__card {
    width: 100%;
    max-width: 420px;

    padding: 36px;

     background: var(--surface);

    border: 1px solid rgba(22, 137, 199, 0.1);
    border-radius: 24px;

    box-shadow:
        0 20px 60px rgba(40, 100, 130, 0.1);
}

.auth__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-bottom: 36px;

    color: var(--text);

    font-size: 20px;
    font-weight: 700;
}

.auth__logo {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #1689c7;
    color: white;

    font-size: 22px;
    font-weight: 300;
}

.auth__header {
    text-align: center;
}

.auth__header h1 {
    margin: 0;

    font-size: 28px;
    line-height: 1.2;

    letter-spacing: -0.8px;
}

.auth__header p {
    margin: 10px 0 28px;

    color: var(--text-secondary);

    font-size: 15px;
}

.auth__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field label {
    font-size: 14px;
    font-weight: 600;
}

.field input {
    width: 100%;
    height: 50px;

    padding: 0 15px;

    border: 1px solid var(--input-border);
    border-radius: 13px;

    outline: none;

    background: var(--surface-soft);
    color: var(--text);

    font-family: inherit;
    font-size: 15px;

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

.field input::placeholder {
    color: var(--text-muted);
}

.field input:focus {
    background: var(--surface);
    border-color: #1689c7;

    box-shadow:
        0 0 0 3px rgba(22, 137, 199, 0.1);
}

.auth__form .button {
    min-height: 60px;

    border: 0;
    cursor: pointer;
    font-family: inherit;

    margin-top: 4px;

    background: #1689c7;
    color: white;

    border-radius: 18px;

    font-size: 16px;
    font-weight: 600;

    box-shadow:
        0 8px 20px rgba(22, 137, 199, 0.25),
        0 0 0 1px rgba(22, 137, 199, 0.08);

    transition:
        transform 0.15s ease,
        background 0.15s ease,
        box-shadow 0.15s ease;
}

.auth__form .button:hover {
    background: #117db8;
    transform: translateY(-2px);

    box-shadow:
        0 12px 26px rgba(22, 137, 199, 0.3);
}

.auth__form .button:active {
    transform: scale(0.98);
}

.auth__form .button:disabled {
    opacity: 0.6;
    cursor: default;
}

.auth__error {
    display: none;

    margin: -4px 0 0;

    color: #c0392b;

    font-size: 13px;
    line-height: 1.4;
}

.auth__error.visible {
    display: block;
}

.auth__footer {
    margin: 24px 0 0;

    text-align: center;

    color: var(--text-secondary);

    font-size: 14px;
}

.auth__footer a {
    color: #1689c7;
    font-weight: 600;
}

@media (max-width: 480px) {
    .auth {
        padding: 16px;
    }

    .auth__card {
        padding: 28px 20px;

        border-radius: 20px;
    }

    .auth__header h1 {
        font-size: 25px;
    }
}