.auth-container {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    background-color: #f4f6f8;
}

.auth-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 400px;
    height: 400px;
    margin-top: 50px;
}

.auth-title {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-field label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: #555;
}

.auth-field input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.3s;
}

.auth-field input:focus {
    border-color: #0444a1;
    outline: none;
}

.auth-button {
    padding: 12px;
    background-color: #0444a1;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.auth-button:hover {
    background-color: #0056b3;
}

.auth-message.error {
    background-color: #f8d7da;
    color: #842029;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
}

/* Плавная анимация */
.fade-in {
    animation: fade-in 0.5s ease-in-out;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
