.auth-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 15px;

    background: var(--light);
}


.auth-box {
    width: 100%;
    max-width: 420px;

    background: white;

    padding: 35px;

    border-radius: 20px;

    border: 1px solid var(--border);
}


.auth-logo {
    display: block;

    text-align: center;

    color: var(--dark);

    font-size: 25px;
    font-weight: 800;

    text-decoration: none;

    margin-bottom: 30px;
}


.auth-logo span {
    color: var(--primary);
}


.auth-header {
    text-align: center;

    margin-bottom: 25px;
}


.auth-header h1 {
    color: var(--dark);

    font-size: 21px;

    margin-bottom: 8px;
}


.auth-header p {
    color: var(--muted);

    font-size: 12px;
}


.auth-group {
    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-bottom: 18px;
}


.auth-group label {
    color: var(--dark);

    font-size: 12px;

    font-weight: 600;
}


.auth-group input {
    height: 48px;

    border: 1px solid var(--border);

    border-radius: 10px;

    padding: 0 12px;

    font-family: inherit;

    outline: none;
}


.auth-group input:focus {
    border-color: var(--primary);
}


.captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}


.captcha-image {
    flex: 1;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef0f3;
}


.captcha-image svg {
    width: 100%;
    height: 100%;
}


.captcha-loading,
.captcha-error {
    font-size: 12px;
    color: var(--muted);
}


.captcha-refresh {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
}


.dev-code-notice {
    background: #fff7e6;
    border: 1px solid #f0c36d;
    border-radius: 10px;
    padding: 12px;
    font-size: 12px;
    color: #7a5b00;
    margin-bottom: 16px;
    line-height: 1.9;
}


.auth-submit {
    width: 100%;

    height: 50px;

    border: 0;

    border-radius: 11px;

    background: var(--primary);

    color: white;

    font-family: inherit;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
}


.auth-switch {
    text-align: center;

    color: var(--muted);

    font-size: 12px;

    margin-top: 20px;
}


.auth-switch a {
    color: var(--primary);

    font-weight: 700;

    text-decoration: none;
}


@media (max-width: 500px) {

    .auth-box {
        padding: 25px 18px;
    }

}