/* app/static/css/auth.css */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Высота экрана минус хедер/футер, чтобы было по центру */
    min-height: calc(100vh - 140px);
    padding: 40px 20px;
    background-color: #101010; /* Фон страницы */
}

.auth-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 480px; /* Оптимальная ширина */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #ff8128;
    font-size: 2em;
    text-transform: uppercase;
}

/* Разделитель (HR) */
.auth-divider {
    border: 0;
    border-top: 1px solid #333;
    margin: 25px 0;
}

/* Футер карточки (ссылка на регистрацию) */
.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #2a2a2a;
    font-size: 0.95em;
    color: #b0b0b0;
}

.auth-footer a {
    color: #ff8128;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
    color: #fff;
}

.settings-avatar-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff8128;
    margin-bottom: 15px;
}

.file-upload-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.discord-btn-full {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 12px;
    background-color: #5865F2; /* Фирменный цвет Discord */
    color: white;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
    font-family: 'Inter', sans-serif;
}

.discord-btn-full:hover {
    background-color: #4752C4;
    color: white;
}

.discord-btn-small {
    background-color: #5865F2;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9em;
    text-decoration: none;
    font-weight: 600;
}
.discord-btn-small:hover {
    background-color: #4752C4;
    color: white;
}

@media (max-width: 600px) {
    .auth-container {
        padding: 20px 10px;
        align-items: flex-start; /* Чтобы на маленьких экранах можно было скроллить, если клавиатура вылезает */
        padding-top: 40px;
    }

    .auth-card {
        padding: 25px 20px;
        width: 100%;
    }

    .auth-card h1 {
        font-size: 1.6em;
    }
}