/* Модальное окно авторизации */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Затемнённый фон */
.auth-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.2s ease-out;
}

/* Контент модального окна */
.auth-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 480px;
    width: 90%;
    z-index: 10000;
    animation: slideUp 0.3s ease-out;
}

/* Заголовок */
.auth-modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.auth-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
}

/* Тело */
.auth-modal-body {
    padding: 24px;
}

.auth-modal-body p {
    margin: 0;
    font-size: 16px;
    color: #4b5563;
    line-height: 1.5;
}

/* Футер с кнопками */
.auth-modal-footer {
    padding: 16px 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.auth-modal-footer .btn {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-modal-footer .btn-secondary {
    background: #f3f4f6;
    color: #4b5563;
}

.auth-modal-footer .btn-secondary:hover {
    background: #e5e7eb;
}

.auth-modal-footer .btn-primary {
    background: #3b82f6;
    color: white;
}

.auth-modal-footer .btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}
