/* Nền cho toàn bộ trang Đăng nhập */
.auth-page-body {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/img/menu_img/bandner.png') center/cover no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 40px; /* Chừa khoảng trống cho thanh Nav */
}

.auth-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tabs */
.auth-tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.auth-tab.active {
    color: #e31837;
    border-bottom: 3px solid #e31837;
}

/* Forms */
.auth-form-wrapper {
    display: none;
}

.auth-form-wrapper.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.auth-title {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
}

.input-group input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #e31837;
    outline: none;
}

.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #555;
}

.forgot-pwd {
    color: #e31837;
    text-decoration: none;
    font-weight: 600;
}

.btn-auth-submit {
    width: 100%;
    padding: 15px;
    background-color: #e31837;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(227, 24, 55, 0.3);
    font-family: 'Montserrat', sans-serif;
}

.btn-auth-submit:hover {
    background-color: #c2152f;
    transform: translateY(-2px);
}

/* --- RESPONSIVE CHO ĐIỆN THOẠI --- */
@media screen and (max-width: 768px) {
    .auth-wrapper {
        padding: 100px 15px 30px;
    }
    .auth-container {
        padding: 30px 20px;
    }
    .auth-title {
        font-size: 1.5rem;
    }
}