﻿@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&display=swap');

body {
    font-family: 'Be Vietnam Pro', sans-serif !important;
}



/* --- Sticky Footer Implementation --- */
html {
    height: 100%; /* Đảm bảo html chiếm toàn bộ chiều cao */
}




body {
    display: flex; /* Bật Flexbox */
    flex-direction: column; /* Sắp xếp các thành phần con theo chiều dọc */
    min-height: 100vh; /* Chiều cao tối thiểu bằng chiều cao màn hình */
    /* hoặc min-height: 100%; nếu html đã có height: 100% */
}

/* Yêu cầu div chứa nội dung chính chiếm hết không gian thừa */
.quiz-main-container { /* Target vào div bao quanh <main> */
    flex-grow: 1;
    /* Hoặc dùng shorthand: flex: 1; */
}

/* --- Styling cho Footer đơn giản --- */
.footer-join-us {
    background-color: #343a40; /* Màu nền tối (có thể đổi) */
    color: #adb5bd; /* Màu chữ sáng (có thể đổi) */
    padding: 15px 0; /* Padding trên dưới */
    /* Quan trọng: Bỏ các thuộc tính position cũ nếu có */
    /* position: static; /* Mặc định */
    width: 100%; /* Chiếm toàn bộ chiều rộng */
    flex-shrink: 0; /* Ngăn footer bị co lại */

}

.footer-copyright {
    /* CSS cho container copyright nếu cần thêm */
    text-align: center;
    font-size: 0.85rem;
}

    .footer-copyright .container {
        /* CSS riêng cho container bên trong copyright nếu cần */
    }

    .footer-copyright a { /* Style cho link Privacy nếu bạn thêm lại */
        color: #ffffff;
        text-decoration: none;
    }

        .footer-copyright a:hover {
            color: #f0f0f0;
            text-decoration: underline;
        }

/* --- Xóa CSS cũ không cần thiết cho Footer mới này --- */
/* Xóa các style cũ cho .footer-background, .footer-content-overlay, .footer-title, .footer-description, .btn-join-us nếu chúng còn tồn tại */



.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.5rem 1rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    font-size: 1.25rem;
}

    .navbar-brand img {
        height: 36px;
        margin-right: 8px;
    }

.nav-link {
    color: #374151;
    font-weight: 500;
    margin-right: 1rem;
    transition: color 0.2s ease;
}

    .nav-link:hover {
        color: #111827;
    }

.btn-login, .btn-register {
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    margin: 0.25rem 0;
    white-space: nowrap;
}

.btn-login {
    border: 1px solid #d1d5db;
    background-color: #f9fafb;
    color: #374151;
}

    .btn-login:hover {
        background-color: #e5e7eb;
        color: #111827;
    }

.btn-register {
    background-color: #fbbf24;
    border: none;
    color: #111827;
    margin-left: 0.5rem;
}

    .btn-register:hover {
        background-color: #f59e0b;
    }

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    margin-left: 1rem;
}

@media (max-width: 576px) {
    .navbar-nav {
        text-align: center;
    }

    .d-flex.align-items-center {
        flex-direction: column;
        align-items: stretch;
        margin-top: 1rem;
    }

    .btn-register {
        margin-left: 0;
    }

    .avatar {
        margin: 1rem auto 0;
    }
}