/* RESPONSIVE DESIGN TWEAKS */

/* Máy tính bảng & Desktop (min-width: 768px) */
@media (min-width: 768px) {
    .top-bar .fs-8 {
        font-size: 0.95rem !important;
    }
}

/* Máy tính bảng & Mobile ngang (max-width: 991.98px) */
@media (max-width: 991.98px) {
    /* Hero Banner padding reset for smaller screens */
    .hero-section {
        padding: 0 !important;
    }

        .hero-section img {
            min-height: 200px;
            object-fit: cover;
        }
}

/* Mobile Devices (max-width: 767.98px) */
@media (max-width: 767.98px) {
    /* Info bar: Đổi thành dạng khối dọc thay vì ngang */
    .info-bar .col-md-4 {
        border-right: none !important;
        border-inline-end: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.2) !important;
        padding: 15px 0;
    }

        .info-bar .col-md-4:last-child {
            border-bottom: none !important;
        }

    /* Stats circle: Thu nhỏ hình tròn thống kê */
    .stats-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Các thẻ quản lý điều hành */
    .management-card {
        height: 160px !important;
    }

    /* Đưa footer logo ra giữa */
    footer .col-md-3.text-center.text-md-start {
        display: flex;
        justify-content: center !important;
    }
}

/* Điện thoại nhỏ (max-width: 575.98px) */
@media (max-width: 575.98px) {
    /* Logo Header */
    .navbar-brand .logo-icon {
        width: 45px !important;
        height: 45px !important;
    }

        .navbar-brand .logo-icon i {
            font-size: 1.5rem !important;
        }

    .navbar-brand h1 {
        font-size: 0.9rem !important;
    }

    .navbar-brand small {
        font-size: 0.6rem !important;
    }

    /* Cột tin tức 2x2 thành 1 cột dọc */
    .col-md-6.d-flex.gap-3 {
        width: 100%;
        margin-bottom: 10px;
    }
}
