.auth-page {
    background: linear-gradient(135deg, #141922 0%, #0f141a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-container {
    background: linear-gradient(180deg, #343d50 0%, #31394a 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    max-width: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    color: #eef3fb;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    width: 100%;
}

.auth-field {
    position: relative;
    margin-bottom: 1.5rem;
    width: 100%;
}

.auth-field input {
    width: 100%;
    height: 56px;
    padding: 0 1.5rem 0 3.5rem;
    border: 2px solid rgba(105, 183, 255, 0.3);
    border-radius: 16px;
    background: #1a2230;
    color: #eef3fb;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-sizing: border-box;
    display: block;
}

.auth-field input:focus {
    outline: none;
    border-color: #69b7ff;
    box-shadow: 0 0 0 4px rgba(105, 183, 255, 0.15);
}

.auth-field svg {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #c8d2e2;
    z-index: 1;
}

.auth-submit {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #69b7ff 0%, #1e40af 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 12px 32px rgba(105, 183, 255, 0.3);
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.auth-submit:hover {
    filter: brightness(1.1);
    box-shadow: 0 16px 40px rgba(105, 183, 255, 0.4);
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #c8d2e2;
    font-size: 0.95rem;
    width: 100%;
}

.auth-link a {
    color: #69b7ff;
    text-decoration: none;
    font-weight: 600;
}

.auth-link a:hover {
    text-decoration: underline;
}

.message {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    text-align: center;
}

.message-error {
    background: rgba(216, 113, 120, 0.2);
    color: #ffb8be;
    border: 1px solid rgba(216, 113, 120, 0.4);
}

.message-success {
    background: rgba(120, 255, 120, 0.2);
    color: #f3fff6;
    border: 1px solid rgba(120, 255, 120, 0.4);
}

@media (max-width: 480px) {
    .auth-container {
        padding: 2rem 1.5rem;
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }
}