/********** 🌈 TEMPLATE CSS FULL RESPONSIVE **********/
:root {
    --primary: #009CFF;
    --light: #F3F6F9;
    --dark: #191C24;
}

/* 🔝 Back To Top */
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

/*** Layout ***/
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    height: 100vh;
    overflow-y: auto;
    background: var(--light);
    transition: 0.5s;
    z-index: 999;
}

.content {
    margin-left: 250px;
    min-height: 100vh;
    background: #FFFFFF;
    transition: 0.5s;
}

/*** Desktop view (≥992px) ***/
@media (min-width: 992px) {
    .sidebar {
        margin-left: 0;
    }

    .sidebar.open {
        margin-left: -250px;
    }

    .content {
        width: calc(100% - 250px);
    }

    .content.open {
        width: 100%;
        margin-left: 0;
    }
}

/*** Tablet and below (≤991.98px) ***/
@media (max-width: 991.98px) {
    .sidebar {
        margin-left: -250px;
    }

    .sidebar.open {
        margin-left: 0;
    }

    .content {
        width: 100%;
        margin-left: 0;
    }
}

/*** Navbar ***/
.sidebar .navbar .navbar-nav .nav-link {
    padding: 7px 20px;
    color: var(--dark);
    font-weight: 500;
    border-left: 3px solid var(--light);
    border-radius: 0 30px 30px 0;
    outline: none;
}

.sidebar .navbar .navbar-nav .nav-link:hover,
.sidebar .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    background: #FFFFFF;
    border-color: var(--primary);
}

.sidebar .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 40px;
}

.sidebar .navbar .navbar-nav .nav-link:hover i,
.sidebar .navbar .navbar-nav .nav-link.active i {
    background: var(--light);
}

.sidebar .navbar .dropdown-toggle::after {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.sidebar .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.sidebar .navbar .dropdown-item {
    padding-left: 25px;
    border-radius: 0 30px 30px 0;
}

.content .navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 12px 0;
    color: var(--dark);
    outline: none;
}

.content .navbar .navbar-nav .nav-link:hover,
.content .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.content .navbar .sidebar-toggler,
.content .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 40px;
}

.content .navbar .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.content .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 575.98px) {
    .content .navbar .navbar-nav .nav-link {
        margin-left: 15px;
    }
}

/*** Date Picker ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}

/*** Progress bar animation ***/
.progress .progress-bar {
    width: 0px;
    transition: 2s;
}

/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 5px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--dark);
    border-color: var(--primary);
}
/*** Container full width ***/
.container {
    max-width: 100% !important;
}
/*** Logo tỉnh thành ***/
.logo-tinh {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background-color: #f8f9fa;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/*** Tiêu đề và card tỉnh thành ***/
.tinhthanh-section h2 {
    font-size: 2rem;
    color: #5b3cc4;
}

.tinhthanh-section .card:hover {
    transform: translateY(-5px);
    transition: 0.3s ease;
}

/* 🧩 Responsive kích thước tinh-item & logo */
.tinh-item {
  width: 200px;
}
.tinh-card img {
  height: 100px;
}

/* TV 4K và màn cực lớn */
@media (min-width: 1600px) {
  .tinh-item { width: 260px; }
  .tinh-card img { height: 130px; }
}

/* Laptop lớn */
@media (max-width: 1400px) {
  .tinh-item { width: 220px; }
  .tinh-card img { height: 110px; }
}

/* Laptop thường */
@media (max-width: 1200px) {
  .tinh-item { width: 200px; }
  .tinh-card img { height: 100px; }
}

/* Tablet ngang */
@media (max-width: 992px) {
  .tinh-item { width: 180px; }
  .tinh-card img { height: 90px; }
}

/* Tablet dọc */
@media (max-width: 768px) {
  .tinh-item { width: 160px; }
  .tinh-card img { height: 80px; }
}

/* Mobile vừa */
@media (max-width: 600px) {
  .tinh-item { width: 150px; }
  .tinh-card img { height: 75px; }
}

/* Mobile nhỏ */
@media (max-width: 480px) {
  .tinh-item { width: 140px; }
  .tinh-card img { height: 70px; }
}

/* Nokia hoặc feature phone */
@media (max-width: 360px) {
  .tinh-item { width: 120px; }
  .tinh-card img { height: 60px; }
  .logo-tinh { width: 80px; height: 80px; }
}

@media (max-width: 320px) {
  .tinh-item { width: 100px; }
  .tinh-card img { height: 50px; }
  .tinhthanh-section h2 { font-size: 1.2rem; }
  .logo-tinh { width: 70px; height: 70px; }
}
.btn-user {
    background: #c07090;
    border: 1px solid #d0d8e3;
    color: #12101260;
}

.btn-user:hover {
    background: #e2ef24;
}

.dropdown-menu {
    padding: 10px 0;
    border-radius: 14px !important;
}

.dropdown-item {
    padding: 10px 18px;
    font-size: 15px;
}
/* 🔵 Vòng tròn theo chuột + tâm nhỏ */
.cursor-circle {
    position: fixed;
    top: 0;
    left: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;

    /* Vòng ngoài */
    border: 2px solid rgba(79, 70, 229, 0.95);        /* xanh tím đậm */
    background-color: rgba(79, 70, 229, 0.08);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.12),
        0 0 18px rgba(79, 70, 229, 0.6);

    opacity: 0;
    transition:
        transform 0.08s ease-out,
        width 0.18s ease-out,
        height 0.18s ease-out,
        border-color 0.18s ease-out,
        background-color 0.18s ease-out,
        box-shadow 0.18s ease-out,
        opacity 0.18s ease-out;
}

/* Tâm nhỏ ở giữa */
.cursor-circle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 23, 42, 0.95);               /* chấm đen đậm */
}

/* Khi hover lên link / button – to hơn & đổi màu hồng */
.cursor-circle--active {
    width: 40px;
    height: 40px;
    border-color: rgba(236, 72, 153, 1);              /* hồng đậm */
    background-color: rgba(236, 72, 153, 0.16);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.18),
        0 0 22px rgba(236, 72, 153, 0.75);
}

/* Ẩn trên mobile / cảm ứng */
@media (max-width: 768px) {
    .cursor-circle {
        display: none;
    }
}


