                body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f8f9fa;
            color: #333;
            min-height: 100vh;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .header {
            background-color: #dc3545;
            color: white;
            padding: 20px 0;
            margin-bottom: 30px;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        .header:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        }

        .header h1 {
            font-size: 1.8rem;
            margin: 0;
            text-align: center;
        }

        .search-form {
            background-color: white;
            padding: 25px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            margin-bottom: 30px;
            transition: all 0.3s ease;
        }

        .search-form:hover {
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .form-group {
            margin-bottom: 15px;
        }

        .form-label {
            font-weight: 500;
            margin-bottom: 5px;
            display: block;
        }

        .form-control {
            width: 100%;
            padding: 10px;
            border: 1px solid #ced4da;
            border-radius: 4px;
            font-size: 1rem;
            transition: border-color 0.3s;
        }

        .form-control:focus {
            border-color: #dc3545;
            box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
        }

        .btn-primary {
            background-color: #dc3545;
            border-color: #dc3545;
            padding: 10px 20px;
            font-weight: 500;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

        .btn-primary:hover {
            background-color: #bb2d3b;
            border-color: #b02a37;
            transform: translateY(-2px);
        }

        .btn-primary:active {
            transform: translateY(0);
        }

        .btn-loading .spinner {
            display: inline-block;
        }

        .btn-loading .button-text {
            visibility: hidden;
        }

        .spinner {
            display: none;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 1s ease-in-out infinite;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
        }

        @keyframes spin {
            to { transform: translate(-50%, -50%) rotate(360deg); }
        }

        .note {
            font-size: 0.9rem;
            color: #6c757d;
            margin-top: 10px;
        }

        .results-container {
            margin-top: 30px;
            opacity: 0;
            animation: fadeIn 0.5s ease-in forwards;
        }

        @keyframes fadeIn {
            to { opacity: 1; }
        }

        .table-responsive {
            overflow-x: auto;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }

        .table th {
            background-color: #dc3545;
            color: white;
            padding: 12px;
            text-align: left;
        }

        .table td {
            padding: 12px;
            border-bottom: 1px solid #dee2e6;
            vertical-align: top;
            transition: background-color 0.2s;
        }

        .table tr:nth-child(even) {
            background-color: #f8f9fa;
        }

        .table tr:hover td {
            background-color: #81f9dc;
        }

        .no-results {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            animation: bounceIn 0.5s;
        }

        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            display: none;
        }

        .loading-content {
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }

        .loading-spinner {
            width: 50px;
            height: 50px;
            border: 5px solid #f3f3f3;
            border-top: 5px solid #dc3545;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

        .toast-container {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1100;
        }

        .toast {
            opacity: 0;
            transition: opacity 0.3s ease-in;
        }

        .toast.show {
            opacity: 1;
        }

        /* Responsive styles */
        @media (max-width: 768px) {
            .header h1 {
                font-size: 1.5rem;
            }
            
            .search-form {
                padding: 15px;
            }
            
            .table th, .table td {
                padding: 8px;
                font-size: 0.9rem;
            }
        }

@media (max-width: 576px) {

    .table td[data-label="Bắt đầu"],
    .table td[data-label="Kết thúc"] {
        background-color: #ffe8e8; 
        color: #b02a37; 
        font-weight: bold;
        border-left: 5px solid #dc3545; 
        border-radius: 3px;
    }

    .header {
        padding: 15px 0;
    }

    .header h1 {
        font-size: 1.3rem;
    }

    /* Chuyển table sang dạng card */
    .table {
        display: block;
    }

    .table thead {
        display: none;
    }

    .table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #dee2e6;
        border-radius: 5px;
        padding: 5px 0;
    }

    /* ===== FIX CĂN TRÁI ===== */
    .table td {
        display: block;
        text-align: left;              /* Canh trái nội dung */
        padding-right: 10%;            /* Chừa chỗ cho label */
        padding-left: 12px;            /* Lề trái đẹp hơn */
        position: relative;
        border-bottom: 1px solid #dee2e6;
    }

    /* Label hiển thị bên phải */
    .table td::before {
        content: attr(data-label);
        position: absolute;
        right: 10px;                  /* Đưa label sang phải */
        width: 45%;
        padding-left: 10px;
        font-weight: bold;
        text-align: right;
        color: #555;
    }

    .table td:last-child {
        border-bottom: 0;
    }
}

        
        .date-display {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #ffffff;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.date-label {
    font-weight: bold;
    margin-right: 5px;
}

.date-value {
    color: #bfffd1;
}

@media (max-width: 768px) {
    .date-display {
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }
}
.highlight {
    background-color: #fff3cd !important;
    font-weight: bold;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #ffc107;
    animation: highlightFade 1.5s ease-out;
}

@keyframes highlightFade {
    from { background-color: #ffc107; height: 100%; opacity: 0.3; }
    to { background-color: #ffc107; height: 2px; opacity: 1; }
}

/* Responsive cho ô tìm kiếm */
@media (max-width: 768px) {
    #searchKeyword {
        font-size: 0.9rem;
    }
    
    .input-group-text, #clearSearch {
        padding: 0.375rem 0.5rem;
    }
}
.bg-info {
    --bs-bg-opacity: 1;
    background-color: rgb(240 13 13) !important;
}
        .site-footer {
            background: #000;
            color: #fff;
            padding: 40px 20px 20px;
            border-radius: 20px 20px 0 0;
        }
        .footer-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 15px;
            color: #ffeb3b;
        }
        .site-footer p,
        .site-footer li,
        .site-footer a {
            font-size: .95rem;
            color: #f8f9fa;
        }
        .footer-link {
            text-decoration: none;
            color: #fff;
        }
        .footer-link:hover {
            color: #ffeb3b;
            text-decoration: underline;
        }
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, .25);
            padding-top: 15px;
            font-size: .85rem;
        }
        @media (max-width:768px) {
            .site-footer {
                text-align: center;
            }
            .footer-title {
                margin-top: 20px;
            }
        }

        /* ================= NOTI BOX ================= */

.noti-box {
    background: #e9f5ff;
    border: 1px solid #b6dcff;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
}


/* ================= TABS ================= */

.noti-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.noti-tab {
    border: none;
    background: #d0e9ff;
    padding: 5px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}

.noti-tab.active {
    background: #0d6efd;
    color: #fff;
}


/* ================= CONTENT ================= */

.noti-content {
    display: none;
}

.noti-content.active {
    display: block;
}

.noti-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.noti-content li {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 6px 8px;
    margin-bottom: 6px;
    line-height: 1.4;
}


/* ================= XEM THEM ================= */

.noti-more {
    display: none;
    margin-top: 6px;
    background: none;
    border: none;
    color: #0d6efd;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
}

.noti-more:hover {
    text-decoration: underline;
}

/* Box chính */
.stat-box{
    margin-top:12px;
    background:#fff;
    border:1px solid #ddd;
    border-radius:10px;
    padding:12px;
    font-size:14px;
    box-shadow:0 2px 6px rgba(0,0,0,0.05);
}


/* Tháng */
.stat-month{
    margin-top:10px;
}


/* Header tỉnh */
.stat-province{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:8px 10px;
    margin-top:6px;

    background:#f8f9fa;
    border-radius:6px;
    cursor:pointer;

    transition:all .2s;
}

.stat-province:hover{
    background:#e9f2ff;
}


/* Tên tỉnh */
.stat-province-title{
    font-weight:500;
}


/* Icon mũi tên */
.stat-arrow{
    transition:transform .2s;
    font-size:12px;
}


/* Khi mở */
.stat-province.active .stat-arrow{
    transform:rotate(90deg);
}


/* List MADVI */
.stat-madvi-list{
    margin-left:10px;
    margin-top:4px;
    padding-left:10px;

    border-left:2px solid #0d6efd;

    display:none;
}


/* Khi show */
.stat-madvi-list.show{
    display:block;
}


/* Item */
.stat-madvi{
    padding:3px 0;
    color:#555;
    font-size:13px;
}


/* Empty */
.stat-empty{
    color:#999;
    font-style:italic;
    padding:6px 0;
}
/* Scroll cho danh sách tỉnh */
.stat-scroll{
    max-height:260px; /* giới hạn chiều cao */
    overflow-y:auto;
    margin-top:6px;
    padding-right:4px;
}

/* Thanh scroll đẹp hơn */
.stat-scroll::-webkit-scrollbar{
    width:6px;
}

.stat-scroll::-webkit-scrollbar-thumb{
    background:#cfd8e3;
    border-radius:6px;
}

.stat-scroll::-webkit-scrollbar-thumb:hover{
    background:#9fb7dd;
}


/* Highlight tỉnh nhiều nhất */
.stat-province.top{
    background:linear-gradient(90deg,#fff7e6,#ffe8b3);
    border:1px solid #ffc107;
}

.stat-province.top .stat-province-title{
    font-weight:600;
    color:#d17a00;
}


/* Icon top */
.stat-top-badge{
    background:#ffc107;
    color:#000;
    font-size:11px;
    padding:2px 6px;
    border-radius:10px;
    margin-left:6px;
}

.form-select {
    color: #ff0000;
}

/* =========================
   GG INFO BANNER
========================= */

.gg-info-banner {
    margin: 12px 0 18px;
}

.gg-info-card {
    display: flex;
    align-items: center;
    gap: 16px;

    background: #fff;

    border-radius: 14px;
    padding: 12px 14px;

    box-shadow: 0 4px 14px rgba(0,0,0,0.08);

    border: 1px solid rgba(0,0,0,0.05);

    transition: all 0.25s ease;
}


/* Hover nhẹ */

.gg-info-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}


/* Image */

.gg-info-card img {
    width: 90px;
    height: 70px;

    object-fit: cover;

    border-radius: 10px;

    flex-shrink: 0;

    background: #f3f3f3;
}


/* Text */

.gg-info-text h3 {
    margin: 0 0 4px;

    font-size: 16px;
    font-weight: 600;

    color: #222;
}

.gg-info-text p {
    margin: 0;

    font-size: 13px;

    color: #666;
    line-height: 1.4;
}


/* Mobile */

@media (max-width: 768px) {

    .gg-info-card {
        padding: 10px;
        gap: 12px;
    }

    .gg-info-card img {
        width: 70px;
        height: 55px;
    }

    .gg-info-text h3 {
        font-size: 14px;
    }

    .gg-info-text p {
        font-size: 12px;
    }
}
/* =========================
   GG INFO NAV
========================= */

.gg-info-card {
    justify-content: space-between;
}


/* Left group */

.gg-info-left {
    display: flex;
    align-items: center;
    gap: 14px;
}


/* Navigation */

.gg-info-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}


/* Item */

.gg-nav-item {
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 6px 10px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 500;

    color: #444;
    text-decoration: none;

    background: transparent;

    transition: all 0.2s ease;
}


/* Icon */

.gg-nav-item i {
    font-size: 14px;
}


/* Hover */

.gg-nav-item:hover {
    background: rgba(13,110,253,0.08);
    color: #0d6efd;
}


/* Active */

.gg-nav-item.active {
    background: linear-gradient(135deg,#0d6efd,#0a58ca);
    color: #fff;
}


/* =========================
   MOBILE NAV
========================= */

@media (max-width: 768px) {

    .gg-info-card {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }


    .gg-info-left {
        justify-content: center;
        text-align: center;
    }


    .gg-info-nav {
        justify-content: space-around;

        border-top: 1px solid #eee;
        padding-top: 8px;
    }


    .gg-nav-item {
        flex-direction: column;
        gap: 2px;

        font-size: 11px;

        padding: 6px 4px;
    }


    .gg-nav-item i {
        font-size: 15px;
    }

}
/* =========================
   GG INFO BANNER CONTAINER FIX
========================= */

/* Tạo khoảng hở 2 bên */

.gg-info-banner {
    padding-left: 12px;
    padding-right: 12px;
}


/* Giới hạn chiều rộng + căn giữa */

.gg-info-card {
    max-width: 1200px;   /* giống container-lg */
    margin: 0 auto;     /* center */

    width: 100%;
}


/* =========================
   GG API QUOTE
========================= */

.gg-quote-wrapper {

    max-width: 1100px;
    margin: 8px auto 20px;

    padding: 14px 20px;

    background: linear-gradient(135deg,#f9fbff,#ffffff);

    border-left: 4px solid #0d6efd;

    border-radius: 12px;

    box-shadow: 0 3px 12px rgba(0,0,0,0.06);

    position: relative;

    animation: fadeInUp 0.6s ease;
}


/* Icon */

.gg-quote-wrapper i {

    position: absolute;
    top: -10px;
    left: 14px;

    font-size: 22px;

    color: #0d6efd;

    background: #fff;

    padding: 0 6px;
}


/* Text */

#gg-quote-text {

    margin: 0;

    font-size: 14px;

    line-height: 1.65;

    color: #333;

    font-style: italic;

    letter-spacing: 0.2px;
}


/* Mobile */

@media (max-width: 768px) {

    .gg-quote-wrapper {

        margin: 6px 12px 16px;

        padding: 12px 14px;
    }

    #gg-quote-text {
        font-size: 13px;
    }
}
.mark, mark {
    padding: .1875em;
    background-color: #ffc200;
}