body,
html,
.app-header,
h1, h2, h3, h4, h5, h6,
.form-control,
.btn,
.nav-link,
.badge {
    font-family: 'Public Sans', -apple-system, sans-serif !important;
    font-weight: 500 !important;
}

/* Chỉ khóa cuộn ngang trên các lớp bao ngoài, không khóa con cái để tránh mất viền */
html, body, .search-card {
    overflow-x: hidden !important;
}

.ps__rail-v, .ps__rail-h, 
.template-customizer-open-btn, 
.template-customizer-panel, 
.layout-customizer-button, 
.buy-now, .scrollToTop,
[class*="template-customizer"],
[class*="layout-customizer"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

html {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

body {
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh !important;
    scrollbar-width: thin !important;
    scrollbar-color: #cbd5e1 #f1f5f9 !important;
    background-color: #fff;
}

/* ✅ FIX THANH CUỘN LÊN ĐỈNH TRANG (CHỈ CHO TRANG CHỦ) */
#trang-tra-cuu {
    overflow: visible !important;
}

#trang-tra-cuu .layout-wrapper, 
#trang-tra-cuu .layout-container, 
#trang-tra-cuu .layout-page, 
#trang-tra-cuu .content-wrapper {
    overflow: visible !important;
    height: auto !important;
}

/* Chỉ ẩn thanh cuộn của các thành phần phụ, không ẩn toàn cục */
.ps__rail-v, .ps__rail-h {
    display: none !important;
}

/* Định dạng thanh cuộn cho Chrome, Edge, Safari */
html::-webkit-scrollbar {
    width: 8px !important;
    background: #f1f5f9 !important;
}

html::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 4px !important;
    border: 2px solid #f1f5f9 !important;
}

html::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}

/* Đảm bảo các wrapper không chặn cuộn */
.authentication-wrapper, 
.authentication-inner, 
.layout-wrapper, 
.layout-container, 
.layout-page, 
.content-wrapper {
    overflow: visible !important;
    min-height: auto !important;
}

.landing-hero, #hero-animation {
    padding-top: 0 !important;
    margin-top: 0px !important;
}

#landingFeatures {
    padding-top: 2.5rem !important;
}

.hero-tucked {
    margin-top: -132px !important;
    padding-top: 180px !important;
}

@media (max-width: 991.98px) {
    .hero-tucked {
        margin-top: -74px !important;
        padding-top: 110px !important;
    }
}

.app-header.layout-navbar {
    block-size: auto !important;
    overflow: visible !important;
}

#template-customizer, 
.template-customizer-open-btn, 
.template-customizer-panel, 
.layout-customizer-button,
[class*="template-customizer"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 991.98px) {
    .container-m {
        padding: 0 15px !important;
        /* Sửa lỗi tràn màn hình do Bootstrap Row */
    }
}

.header-menu .menu-item a {
    font-family: 'Public Sans', -apple-system, sans-serif !important;
    font-weight: 550 !important;
}

.header-menu .menu-item a iconify-icon {
    font-size: 1.2rem !important;
    color: #64748b;
    transition: all 0.2s ease;
}

.header-menu .menu-item:hover a iconify-icon,
.header-menu .menu-item.active a iconify-icon {
    color: #dc2626 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Public Sans', -apple-system, sans-serif !important;
    font-weight: 600 !important;
}

.auth-btn {
    border-radius: var(--radius) !important;
}

.auth-btn.blue-btn {
    background: #0084ff !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    padding: 10px 18px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: background-color 0.2s;
    text-decoration: none !important;
}

.auth-btn.blue-btn:hover {
    background: #006ee6 !important;
}

.auth-btn.gold-btn {
    background: linear-gradient(135deg, #ff9f43 0%, #ff7e00 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 750 !important;
    font-size: 0.8rem !important;
    padding: 10px 18px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(255, 159, 67, 0.2);
}

.auth-btn.gold-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(255, 159, 67, 0.3);
    color: #ffffff !important;
}

:root {
    --bg-color: #ffffff;
    --section-bg: #f1f5f9;
    --text-main: #0f172a;
    --text-body: #334155;
    --text-muted: #475569;
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --border-color: #d1d5db;
    --border-soft: #e2e8f0;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

#landingHero {
    background-color: #f1f5f9 !important;
    background-image:
        radial-gradient(at 50% 0%, rgba(220, 38, 38, 0.1) 0px, transparent 40%),
        radial-gradient(at 10% 20%, rgba(79, 70, 229, 0.08) 0px, transparent 35%) !important;
    padding: 6.5rem 0 5rem !important;
}

#landingHero .badge.bg-label-primary {
    background: rgba(220, 38, 38, 0.06) !important;
    color: #dc2626 !important;
    padding: 9px 20px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    margin-bottom: 1.5rem !important;
    border: 1px solid rgba(220, 38, 38, 0.12) !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.04);
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: 3rem !important;
    margin-bottom: 0.85rem !important;
    font-weight: 850 !important;
    letter-spacing: -0.05em !important;
    color: #0f172a !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

.hero-title .text-highlight {
    background: none !important;
    -webkit-text-fill-color: #dc2626 !important;
    color: #dc2626 !important;
}

.hero-sub-title {
    font-size: 1rem !important;
    color: #475569 !important;
    max-width: 540px !important;
    margin: 0 auto 1.5rem !important;
    line-height: 1.6 !important;
    opacity: 0.95;
}

/* Professional Search Interface */
.container-m {
    max-width: 1300px !important;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}

.search-card {
    background: #fff !important;
    border: 1px solid rgba(15, 23, 42, 0.2) !important;
    border-radius: 0px !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08) !important;
    padding: 1rem 1.25rem 0.5rem 1.25rem !important;
    margin-top: -5rem !important;
    max-width: 820px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative;
    z-index: 10;
}

.nav-m-pills {
    background: #f1f5f9;
    padding: 2px !important;
    border-radius: 0px;
    margin-bottom: 0.65rem !important;
    display: flex !important;
    overflow: hidden !important;
}

.nav-m-pills .nav-link {
    border-radius: 8px;
    padding: 10px !important;
    color: #64748b !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent !important;
    border: none !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.nav-m-pills .nav-link img {
    height: 22px !important;
    width: auto !important;
    object-fit: contain !important;
}

#csgt-tab.active {
    background: rgba(220, 38, 38, 0.06) !important;
    color: #dc2626 !important;
    border: 1.2px solid rgba(220, 38, 38, 0.35) !important;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.04) !important;
}

#cdk-tab.active {
    background: rgba(37, 99, 235, 0.06) !important;
    color: #2563eb !important;
    border: 1.2px solid rgba(37, 99, 235, 0.35) !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.04) !important;
}

/* MODULAR VERTICAL LAYOUT FORMS */
.form-label-m {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem !important;
    display: block;
}

.input-m-wrapper {
    background: #fff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.input-m-wrapper:focus-within {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08) !important;
}

.input-m-wrapper .form-control,
.input-m-wrapper .form-select {
    color: #0f172a !important;
    font-size: 0.92rem !important;
    padding: 0.72rem 1rem !important;
    font-weight: 500 !important;
    border: none !important;
    background: transparent !important;
    width: 100%;
}

.form-control::placeholder {
    color: #94a3b8 !important;
    font-weight: 500;
}

.btn-search-m {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border: none !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.22) !important;
    transition: all 0.2s ease;
    color: #ffffff !important;
    letter-spacing: 0.03em;
    text-transform: none !important;
}

.btn-search-m:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.28) !important;
    opacity: 0.95;
}

/* Content Sections */
.section-py {
    padding: 3rem 0 !important;
}

.bg-white {
    background: #f1f5f9 !important;
}

.card.stat-card {
    padding: 30px 20px !important;
}

.viethoa {
    text-transform: uppercase !important;
}

.stat-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.15) !important;
    border-radius: 16px !important;
    padding: 1.2rem 1rem !important;
    /* Giảm padding một chút để có nhiều khoảng trống hơn */
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02) !important;
    transition: all 0.25s ease;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    position: relative;
    gap: 1rem;
    /* Giảm gap nhẹ */
    height: 100% !important;
    /* Đảm bảo chiều cao bằng nhau */
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06) !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
}

.stat-icon {
    width: 48px !important;
    /* Giảm icon một chút */
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    font-size: 1.25rem !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

/* Màu sắc từng icon */
.stat-icon.csgt {
    color: #8b5cf6 !important;
    background: rgba(139, 92, 246, 0.08) !important;
}

.stat-icon.dangkiem {
    color: #10b981 !important;
    background: rgba(16, 185, 129, 0.08) !important;
}

.stat-icon.oto {
    color: #0284c7 !important;
    background: rgba(2, 132, 199, 0.08) !important;
}

.stat-icon.xe-may {
    color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.08) !important;
}

.stat-info {
    text-align: left;
}

.stat-number {
    font-size: 1.5rem !important;
    font-weight: 850 !important;
    color: #0f172a !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 0px !important;
    font-family: 'Public Sans', sans-serif !important;
}

.stat-label {
    font-size: 0.75rem !important;
    color: #64748b !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 2px;
    /* Loại bỏ white-space: nowrap để tự động rớt dòng đẹp mắt */
}

:root {
    --radius: 8px !important;
}

.card {
    border-radius: var(--radius) !important;
}

.nav-m-pills {
    border-radius: var(--radius) !important;
}

.nav-item.flex-fill>.nav-link {
    display: flex !important;
    gap: 10px !important;
    border-radius: var(--radius);
}

.nav-item.flex-fill>.nav-link>img {
    height: 25px !important;
}

.nav-item.flex-fill>.nav-link>span {
    margin-left: 0px !important;
    font-size: 17px !important;
    text-transform: uppercase !important;
}

.btn {
    border-radius: var(--radius) !important;
}

/* VEHICLE SELECTOR BUTTONS */
.vehicle-selector-group {
    display: flex;
    gap: 20px;
    margin: 10px 0px 8px 0px;
    justify-content: space-between;
}

.btn-select-vehicle {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: var(--radius) !important;
    padding: 25px 0px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    font-size: 17px !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    width: 100%;
}

.form-control {
    border-radius: var(--radius) !important;
}

.input-m-wrapper {
    border-radius: var(--radius) !important;
    margin-bottom: 12px !important;
}

.btn-select-vehicle:hover {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border-color: #cbd5e1 !important;
}

.btn-select-vehicle[data-value="1"].active {
    background: rgba(99, 102, 241, 0.05) !important;
    border-color: #6366f1 !important;
    color: #4f46e5 !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08) !important;
}

.btn-select-vehicle[data-value="2"].active {
    background: rgba(16, 185, 129, 0.05) !important;
    border-color: #10b981 !important;
    color: #059669 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08) !important;
}

.btn-select-vehicle[data-value="3"].active {
    background: rgba(6, 182, 212, 0.05) !important;
    border-color: #06b6d4 !important;
    color: #0891b2 !important;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.08) !important;
}

.btn-select-vehicle.btn-select-color[data-value="T"].active {
    background: #f8fafc !important;
    border-color: #64748b !important;
    color: #1e293b !important;
}

.btn-select-vehicle.btn-select-color[data-value="V"].active {
    background: rgba(245, 158, 11, 0.05) !important;
    border-color: #f59e0b !important;
    color: #d97706 !important;
}

.btn-select-vehicle.btn-select-color[data-value="X"].active {
    background: rgba(59, 130, 246, 0.05) !important;
    border-color: #3b82f6 !important;
    color: #2563eb !important;
}

/* Hide Native Swiper Arrows */
#landingReviews .swiper-button-next,
#landingReviews .swiper-button-prev {
    display: none !important;
}

/* CTA Banner dark styling */
#landingCTA {
    background: linear-gradient(135deg, #0b1120 0%, #111b33 100%) !important;
    /* deep slate dark navy */
    padding: 2.25rem 0 !important;
    /* boosted height */
    border-top: 1px solid rgba(255, 255, 255, 0.03) !important;
}

.cta-banner-box .cta-content p {
    margin-bottom: 0.75rem !important;
}

#landingCTA .btn-danger {
    background: #e11d48 !important;
    border: none !important;
    border-radius: var(--radius) !important;
    padding: 0.85rem 1.8rem !important;
    font-size: 0.95rem !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25) !important;
}

#landingCTA .btn-danger:hover {
    transform: translateY(-2px) !important;
    background: #f43f5e !important;
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.4) !important;
}

@media (max-width: 767px) {
    .cta-banner-box {
        flex-direction: column !important;
        text-align: left !important;
        align-items: flex-start !important;
        gap: 1.5rem !important;
    }
}

.badge.bg-label-primary {
    background-color: #fff1f2 !important;
    /* super soft pinkish red */
    color: #ef4444 !important;
    /* vibrant red */
}

.icon-right {
    display: none !important;
}

.mobile-right>.icon-left {
    display: flex !important;
}

@media (min-width: 992px) {
    .header-bottom .container-m {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
}

/* BACKDROP OVERLAY CHO SIDEBAR */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(2px);
    z-index: 1050 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease-in-out;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 991.98px) {
    .header-bottom {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 280px !important;
        height: 100vh !important;
        background: #ffffff !important;
        z-index: 1060 !important;
        transform: translateX(-101%) !important;
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 95px 15px 30px 15px !important;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.08) !important;
        border-radius: var(--radius) !important;
    }

    .header-bottom.show {
        transform: translateX(0) !important;
    }

    /* USER SIDEBAR HEADER */
    .header-bottom .sidebar-user-header {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        /* màu nhạt từ mẫu @auth */
        padding: 22px 18px !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        border-bottom: 1px solid #f1f5f9;
        margin-bottom: 20px !important;
    }

    .header-bottom .sidebar-user-header.guest-header {
        background: #ffffff !important;
        justify-content: center !important;
        /* CĂN GIỮA LOGO */
        padding: 22px 0 !important;
    }

    .sidebar-user-header.guest-header .sidebar-logo {
        max-width: 150px !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .sidebar-user-header .user-avatar img {
        width: 45px !important;
        height: 45px !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        border: 2px solid #ffffff !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    }

    .sidebar-user-header .user-info .user-name {
        font-weight: 750 !important;
        font-size: 16px !important;
        color: #1e293b !important;
    }

    .sidebar-user-header .user-info .user-role {
        font-weight: 600 !important;
        font-size: 13px !important;
        color: #64748b !important;
    }

    .header-bottom .container-m {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .header-bottom .header-menu {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        gap: 5px !important;
        /* THƯA VỪA PHẢI */
    }

    .header-menu .menu-item {
        width: 100% !important;
    }

    .header-menu .menu-item a {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        padding: 10px 15px !important;
        background: transparent !important;
        /* BỎ TRẮNG GIỜ LÀ TRANSPARENT */
        border-radius: 8px !important;
        font-weight: 650 !important;
        /* NÓI KHÔNG GẮT PHÔNG */
        color: #475569 !important;
        transition: all 0.2s !important;
    }

    .header-menu .menu-item.active a {
        color: #dc2626 !important;
        background: rgba(220, 38, 38, 0.03) !important;
    }

    .header-menu .menu-item.active::after {
        display: none !important;
    }

    .header-menu .menu-item a iconify-icon {
        font-size: 1.35rem !important;
        color: #64748b !important;
    }

    .header-menu .menu-item.active a iconify-icon {
        color: #dc2626 !important;
    }

    /* AUTH ACTIONS IN MENU SỬA ĐẸP LẠI */
    .header-bottom-auth {
        border-top: 1px solid #f1f5f9 !important;
        margin-top: 25px !important;
        padding-top: 20px !important;
        width: 100% !important;
        flex-direction: column !important;
        gap: 12px !important;
        justify-content: flex-start !important;
    }

    .header-bottom-auth .auth-btn {
        background: #dc2626 !important;
        /* TRẢ LẠI NÚT ĐẶC */
        padding: 12px 20px !important;
        border-radius: 12px !important;
        /* BIÊN BO CỰC MƯỢT */
        width: 100% !important;
        justify-content: center !important;
        box-shadow: 0 4px 15px rgba(220, 38, 38, 0.1) !important;
        color: #ffffff !important;
        border: none !important;
        font-weight: 700 !important;
        margin-left: 0px !important;
    }

    .header-bottom-auth .auth-btn.blue-btn {
        background: #2563eb !important;
        /* XANH ROYAL SANG TRỌNG */
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1) !important;
    }

    .header-bottom-auth .auth-btn span {
        font-size: 14.5px !important;
    }

    .header-bottom-auth .auth-btn iconify-icon {
        color: #ffffff !important;
        font-size: 1.3rem !important;
    }

    .cta-action {
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }
}

/* Kiểu dáng cho Badge tiêu đề Kết quả Tra cứu */
.badge-result-title {
    color: #1e293b !important;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 0.65rem 2.2rem;
    border-radius: var(--radius);
    letter-spacing: 1px;
    display: inline-block;
    text-transform: uppercase;
    margin-block-end: 10px;
}

.badge {
    border-radius: var(--radius) !important;
}

.btn-premium-solver {
    border-radius: var(--radius) !important;
}

/* HIGHLY PREMIUM RESULT CARD */
.premium-result-card {
    background: #ffffff;
    border-radius: var(--radius) !important;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    margin-bottom: 1.8rem;
    border: 1px solid #cbd5e1 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100% !important;
}

.premium-result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.08);
}

.btn-search-m:disabled {
    box-shadow: 0 10px 25px rgba(241, 107, 107, 0.28) !important;
    opacity: 0.95 !important;
}

.btn-search-m:hover {
    box-shadow: 0 10px 25px rgba(241, 107, 107, 0.28) !important;
    opacity: 0.95 !important;
}

/* FINE AMOUNT MODAL (MỨC PHẠT) */
.modal-content.background-theme-vip {
    border-radius: var(--radius) !important;
    border: 1px solid rgba(226, 232, 240, 1) !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12) !important;
    overflow: hidden;
    background: #ffffff !important;
}

.modal-content.background-theme-vip .modal-header {
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.25rem 1.5rem;
}

.modal-content.background-theme-vip .modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-content.background-theme-vip .modal-title i {
    color: #f59e0b; /* Admin-like yellow icon */
}

.modal-content.background-theme-vip .modal-body {
    padding: 1.5rem !important;
}

.penalty-result-box {
    background: #fffafa; /* Very light pink/red */
    border: 1px solid #ffbcbc; /* Soft red border */
    border-radius: 10px;
    padding: 1.25rem;
    margin-top: 1rem;
}

.penalty-result-box h6 {
    color: #00796b !important;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.penalty-result-box h6 i {
    font-size: 1.1rem;
    opacity: 0.9;
}

#answerReponse {
    display: block;
    color: #263238 !important;
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 500;
}

#resultReponse {
    background: transparent !important;
    border: none !important;
    padding: 0;
    margin-top: 0;
    box-shadow: none !important;
}

#resultReponse h6.color-theme-vip {
    display: none;
}

#answerReponse {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #064e3b !important;
    font-weight: 700;
    display: block;
}

.premium-header {
    padding: 8px 15px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #cbd5e1 !important;
}

.premium-header .left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.premium-header .circle-idx {
    width: 22px !important;
    height: 22px !important;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
}

.premium-header .vPlate {
    font-size: 1.12rem !important;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0px;
}

.premium-header .badge {
    font-size: 0.78rem !important;
    padding: 0.35rem 0.65rem !important;
    font-weight: 700 !important;
}

.premium-body {
    padding: 1rem;
    text-align: left !important;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.75rem;
    color: #475569;
    font-size: 0.95rem;
}

.info-item i {
    color: #7367f0;
    margin-top: 3px;
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.info-item b {
    color: #1e293b;
    font-weight: 700;
    border-bottom: none !important;
    margin-inline-end: 4px;
}

.info-item .val {
    color: #334155;
    font-weight: 500;
    flex: 1;
}


.info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.6rem;
    color: #475569;
    font-size: 0.95rem;
}

.info-item i {
    color: #7367f0;
    margin-top: 3px;
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.info-item b {
    color: #1e293b;
    font-weight: 700;
    border-bottom: none !important;
    margin-inline-end: 4px;
}

.info-item .val {
    color: #334155;
    font-weight: 500;
    flex: 1;
}

.error-banner {
    background: #fff5f5; /* Nền đỏ nhạt */
    border: 1px solid #ffbcbc; /* Viền đỏ mềm mại */
    border-radius: var(--radius) !important;
    padding: 0.9rem 1.1rem;
    margin: 1rem 0;
}

.banner-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: #b91c1c;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}

.behavior-txt {
    font-size: 1.05rem;
    font-weight: 800;
    color: #7f1d1d;
    line-height: 1.5;
    margin: 0 0 10px 0;
    letter-spacing: -0.2px;
}

.btn-premium-solver {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff !important;
    border: none;
    padding: 0.3rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: var(--radius) !important;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-premium-solver:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 15px rgba(220, 38, 38, 0.25);
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.6rem;
    font-size: 0.88rem;
    color: #64748b;
}

.info-row span {
    font-weight: 500;
}

.info-row b {
    color: #1e293b;
    font-weight: 600;
    text-align: right;
    max-width: 60%;
}



@media (max-width: 991.98px) {
    .header-bottom-auth {
        gap: 5px !important;
        margin: 10px 0px !important;
        padding: 0 5px !important;
        width: 100% !important;
        justify-content: end !important;
    }

    .header-bottom-auth .auth-btn {
        height: auto !important;
        padding: 10px 15px !important;
        justify-content: center !important;
        border-radius: var(--radius) !important;
    }

    .header-bottom-auth .auth-btn span {
        display: inline !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
    }

    .header-bottom-auth .auth-btn iconify-icon {
        font-size: 1.4rem !important;
    }
}

@media (max-width: 768px) {
    .vehicle-selector-group {
        gap: 7px !important;
    }

    .btn-select-vehicle {
        flex: 1;
        text-align: center;
        padding: 20px 0px !important;
        font-size: 16px !important;
    }

    .mobile-right {
        justify-content: right !important;
        text-align: right !important;
    }

    .icon-right {
        display: flex !important;
    }

    .mobile-right>.icon-left {
        display: none !important;
    }

    .container-m.header-wrapper {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .header-toggler {
        background: none !important;
        font-size: 22px !important;
    }
}

/* REVIEWS SECTION CAROUSEL */
#landingReviews {
    background: #f8fafc !important;
    /* soft background */
    padding: 60px 0 !important;
}

.swiper-reviews-carousel {
    position: relative;
    padding-bottom: 30px;
}

#landingReviews .card {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid rgba(15, 23, 42, 0.04) !important;
    box-shadow: 0 10px 30px rgba(71, 66, 122, 0.04) !important;
    transition: all 0.3s ease !important;
}

/* Accordion FAQ Styling */
#landingFAQ {
    background: #fdfdfd !important;
}

#landingFAQ .accordion-item {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.05) !important;
    border-radius: 14px !important;
    margin-bottom: 14px !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03) !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

#landingFAQ .accordion-item {
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

#landingFAQ .accordion-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.05) !important;
    border-color: rgba(239, 68, 68, 0.15) !important;
}

#landingFAQ .accordion-button {
    background: #ffffff !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    padding: 0.8rem 1.25rem !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
}

#landingFAQ .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-size: 1.2rem !important;
    transition: transform 0.3s ease !important;
    transform: rotate(0deg) !important;
}

#landingFAQ .accordion-button:not(.collapsed) {
    color: #ef4444 !important;
    /* accentuate title */
    background: #fffafa !important;
    /* soft red warning backwash */
}

#landingFAQ .accordion-button:not(.collapsed)::after {
    transform: rotate(90deg) !important;
    /* point down on expand */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

#landingFAQ .accordion-body {
    padding: 0.8rem 1.25rem 1.25rem !important;
    color: #475569 !important;
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    background: #ffffff !important;
}

.faq-image {
    transition: transform 0.3s ease !important;
}

.faq-image:hover {
    transform: scale(1.02) !important;
}

@media (max-width: 991px) {
    #landingFAQ .row {
        flex-direction: column-reverse !important;
    }

    .faq-image {
        margin-top: 2rem !important;
        max-width: 300px !important;
    }
}

#landingReviews .swiper-slide {
    display: flex !important;
    height: auto !important;
    /* allows swiper row stretch */
}

#landingReviews .card {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    border-radius: 16px !important;
}

#landingReviews .card-body {
    padding: 0.8rem 1.2rem !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

#landingReviews .card-body p {
    font-size: 0.88rem !important;
    line-height: 1.7 !important;
    color: #475569 !important;
    margin-bottom: 0.75rem !important;
    flex-grow: 1 !important;
    /* push footer reviewers down to bottom rigid */
}

#landingReviews .card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 35px rgba(113, 103, 240, 0.06) !important;
}

.client-logo {
    max-width: 100px !important;
    /* restrict giant size */
    height: auto !important;
    opacity: 0.85 !important;
    transition: opacity 0.2s ease !important;
}

#landingReviews .card:hover .client-logo {
    opacity: 1 !important;
}

#landingReviews .card-body {
    padding: 0.8rem 1.2rem !important;
}

#landingReviews .card-body p {
    font-size: 0.9rem !important;
    line-height: 1.7 !important;
    color: #475569 !important;
    font-style: italic !important;
    margin-bottom: 0.75rem !important;
}

.text-warning {
    color: #ff9f43 !important;
    /* brighter gold stars */
}

/* Reviewer Info */
.reviewer-avatar {
    border: 2px solid #ffffff !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08) !important;
    border-radius: 50% !important;
}

#landingReviews h6 {
    color: #1e1b4b !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    margin-bottom: 2px !important;
}

#landingReviews .small.text-body-secondary {
    font-size: 0.75rem !important;
    color: #64748b !important;
}

/* Nav Buttons */
.landing-reviews-btns {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}

.reviews-btn {
    background: #ffffff !important;
    border: 1px solid rgba(113, 103, 240, 0.15) !important;
    color: #111111 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(113, 103, 240, 0.06) !important;
}

.reviews-btn:hover {
    background: #ff3333 !important;
    color: #ffffff !important;
    border-color: #ff3333 !important;
    transform: scale(1.05) !important;
}

/* FEATURES SECTION CARDIFY */
.features-icon-box {
    background: #ffffff !important;
    border-radius: 4px !important;
    padding: 1.2rem 1rem !important;
    box-shadow: 0 4px 15px rgba(71, 66, 122, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid rgba(15, 23, 42, 0.15) !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
    overflow: hidden !important;
}

.features-icon-box:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(113, 103, 240, 0.08) !important;
    border-color: rgba(113, 103, 240, 0.15) !important;
}

.features-icon-box svg {
    padding: 14px !important;
    border-radius: 50% !important;
    /* Circle like example 2 */
    width: 60px !important;
    height: 60px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-bottom: 0.5rem !important;
}

/* Multi-color styling for each card sequentially */
.features-icon-wrapper> :nth-child(1) .features-icon-box svg {
    color: #8b5cf6 !important;
    background: rgba(139, 92, 246, 0.1) !important;
}

.features-icon-wrapper> :nth-child(1) .features-icon-box {
    border-top: 3px solid #8b5cf6 !important;
}

.features-icon-wrapper> :nth-child(2) .features-icon-box svg {
    color: #10b981 !important;
    background: rgba(16, 185, 129, 0.1) !important;
}

.features-icon-wrapper> :nth-child(2) .features-icon-box {
    border-top: 3px solid #10b981 !important;
}

.features-icon-wrapper> :nth-child(3) .features-icon-box svg {
    color: #06b6d4 !important;
    background: rgba(6, 182, 212, 0.1) !important;
}

.features-icon-wrapper> :nth-child(3) .features-icon-box {
    border-top: 3px solid #06b6d4 !important;
}

.features-icon-wrapper> :nth-child(4) .features-icon-box svg {
    color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.1) !important;
}

.features-icon-wrapper> :nth-child(4) .features-icon-box {
    border-top: 3px solid #f59e0b !important;
}

.features-icon-wrapper> :nth-child(5) .features-icon-box svg {
    color: #3b82f6 !important;
    background: rgba(59, 130, 246, 0.1) !important;
}

.features-icon-wrapper> :nth-child(5) .features-icon-box {
    border-top: 3px solid #3b82f6 !important;
}

.features-icon-wrapper> :nth-child(6) .features-icon-box svg {
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1) !important;
}

.features-icon-wrapper> :nth-child(6) .features-icon-box {
    border-top: 3px solid #ef4444 !important;
}

/* Dynamic hover effects without hardcoded red rotation */
.features-icon-box:hover svg {
    transform: translateY(-4px) scale(1.08) !important;
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.08) !important;
}

.features-icon-wrapper> :nth-child(1) .features-icon-box:hover svg {
    background: #8b5cf6 !important;
    color: #ffffff !important;
}

.features-icon-wrapper> :nth-child(2) .features-icon-box:hover svg {
    background: #10b981 !important;
    color: #ffffff !important;
}

.features-icon-wrapper> :nth-child(3) .features-icon-box:hover svg {
    background: #06b6d4 !important;
    color: #ffffff !important;
}

.features-icon-wrapper> :nth-child(4) .features-icon-box:hover svg {
    background: #f59e0b !important;
    color: #ffffff !important;
}

.features-icon-wrapper> :nth-child(5) .features-icon-box:hover svg {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

.features-icon-wrapper> :nth-child(6) .features-icon-box:hover svg {
    background: #ef4444 !important;
    color: #ffffff !important;
}

.features-icon-box h5 {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #1e1b4b !important;
    margin-top: 1.2rem !important;
    margin-bottom: 0.5rem !important;
    font-family: 'Public Sans', sans-serif !important;
}

.features-icon-description {
    font-size: 0.78rem !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
    text-align: center !important;
}

/* SEARCH INPUT NO INNER BORDER STYLES */
.search-card .form-control {
    border: none !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    padding-top: 9px !important;
    padding-bottom: 9px !important;
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    color: #0f172a !important;
    transition: all 0.2s ease !important;
}

.search-card .form-control:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1) !important;
    background: #fff !important;
}

.search-card button[type="submit"] {
    height: 44px !important;
    padding: 0 1.25rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-search-m, #btn-tra-cuu, #tra-cuu-ttdk {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    min-width: 140px !important;
    height: 38px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    letter-spacing: 0.2px !important;
    text-transform: none !important;
}

/* Reviews section clean-up */
.landing-reviews .card {
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.3s ease !important;
    background: #ffffff !important;
}

.landing-reviews .card:hover {
    border-color: rgba(15, 23, 42, 0.25) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08) !important;
}

/* Eliminate large gap below reviews */
.landing-reviews .swiper-logo-carousel {
    padding-block-end: 1rem !important;
}