/* page-no-thue.css - Clean Orange Version */
:root {
    --primary: #f87316;
    --primary-light: #fff7ed;
    --primary-dark: #ea580c;
    --secondary: #1f2937;
    --text-main: #374151;
    --text-muted: #6b7280;
    --bg-body: #fffaf7;
    --white: #ffffff;
    --border-color: #ffedd5;
}

.no-thue-wrapper {
    background: linear-gradient(180deg, #fff7ed 0%, var(--bg-body) 100%);
    padding: 60px 20px;
    min-height: 100vh;
    font-family: 'Inter', sans-serif !important;
}

.no-thue-container {
    max-width: 950px;
    margin: 0 auto;
}

.page-intro { text-align: center; margin-bottom: 40px; }
.page-intro h1 { 
    font-size: 2.5rem; 
    font-weight: 800; 
    color: var(--secondary); 
}
.page-intro h1 span { color: var(--primary); }

.search-card {
    background: var(--white);
    padding: 12px;
    border-radius: 20px;
    display: flex;
    box-shadow: 0 10px 30px rgba(248, 115, 22, 0.15);
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.input-with-icon { flex: 1; display: flex; align-items: center; padding: 0 15px; }
.input-with-icon i { color: var(--primary); font-size: 1.2rem; }
.input-with-icon input { 
    width: 100%; border: none; padding: 12px; font-size: 1.1rem; 
    outline: none; font-weight: 600; background: transparent;
}

.search-card button {
    background: var(--primary);
    color: white; border: none; padding: 0 35px;
    border-radius: 15px; font-weight: 800; cursor: pointer;
}
.search-card button:hover { background: var(--primary-dark); }

.result-box {
    display: none;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid #f3f4f6;
    animation: fadeInUp 0.5s ease-out;
}

.result-header { 
    background: var(--secondary); 
    color: white; 
    padding: 20px 30px; 
    font-weight: 700; 
}

.result-body { padding: 35px; }

.info-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 15px; 
}

.info-item { 
    background: #fdfdfd; 
    padding: 20px; 
    border-radius: 16px; 
    border: 1px solid #f1f5f9; 
    /* Đã xóa hiệu ứng hover tại đây */
}

.full-width { grid-column: 1 / -1; }
.highlight-item { background: #fffaf7; border: 2px solid var(--border-color); }

.label { 
    font-size: 0.75rem; color: var(--text-muted); font-weight: 700; 
    text-transform: uppercase; margin-bottom: 8px; display: block; 
}
.value { font-size: 1.05rem; font-weight: 700; color: var(--secondary); line-height: 1.5; }
.value.name-title { font-size: 1.6rem; color: var(--primary); text-transform: uppercase; }

.spinner {
    width: 45px; height: 45px; border: 4px solid #fed7aa;
    border-top: 4px solid var(--primary); border-radius: 50%;
    animation: spin 1s linear infinite; margin: 0 auto;
}

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .info-grid { grid-template-columns: 1fr; }
    .search-card { flex-direction: column; padding: 10px; }
    .search-card button { padding: 15px; margin-top: 8px; }
}

/* Áp dụng cho toàn bộ wrapper để đồng bộ */
.tax-hero-section, .no-thue-wrapper {
    font-family: 'Inter', sans-serif !important;
}

/* Fix phông chữ cho tất cả các ô nhập liệu và nút bấm */
input, button, select, textarea {
    font-family: 'Inter', sans-serif !important;
}

/* Riêng nút bấm trong trang Phạt Nguội */
#phat-nguoi-button { 
    font-family: 'Inter', sans-serif !important; 
    font-weight: 800;
    text-transform: uppercase; /* Giúp chữ trông mạnh mẽ và đều hơn */
    letter-spacing: 0.5px;
}

/* Nút bấm trong trang Nợ Thuế */
#btn-search {
    font-family: 'Inter', sans-serif !important; 
    font-weight: 800;
}


.no-thue-wrapper {
    /* Thêm ảnh nền từ Unsplash liên quan đến tài chính/thuế */
    background: linear-gradient(rgba(255, 247, 237, 0.9), rgba(255, 247, 237, 0.9)), 
                url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Tạo hiệu ứng parallax nhẹ */
    padding: 60px 20px;
    min-height: 100vh;
    font-family: 'Inter', sans-serif !important;
    position: relative;
}

/* Đảm bảo nội dung luôn nổi bật trên nền */
.no-thue-container {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.global-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 115, 22, 0.05); /* Phủ một lớp cam cực nhẹ để tông xoẹt tông */
    z-index: 1;
    pointer-events: none;
}

/* --- CẬP NHẬT MỚI: HẠ LỚP PHỦ & LÀM RÕ ẢNH --- */
.no-thue-wrapper {
    /* Hạ lớp phủ xuống còn 0.6 để ảnh hiện rõ nét hơn */
    background: linear-gradient(rgba(255, 247, 237, 0.6), rgba(255, 247, 237, 0.7)), 
                url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 60px 20px;
    min-height: 100vh;
    position: relative;
}

/* Hiệu ứng kính mờ giúp nội dung tách biệt khỏi nền ảnh phía sau */
.search-card, .result-box {
    background: rgba(255, 255, 255, 0.85) !important; /* Độ trong suốt nhẹ */
    backdrop-filter: blur(12px); /* Làm mờ ảnh nền phía sau thẻ nội dung */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* Đảm bảo tiêu đề nổi bật trên nền ảnh rõ */
.page-intro h1 {
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

/* --- PHẦN HERO VÀ NỀN --- */
.tax-hero-section { 
    /* Lớp phủ 0.65 giúp ảnh hiện rõ hơn theo ý bạn */
    background: linear-gradient(rgba(255, 250, 247, 0.65), rgba(255, 250, 247, 0.75)), 
                url('https://i.pinimg.com/1200x/93/ba/02/93ba02c5e207e0be22c5396a715521a4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 60px 20px; 
    min-height: 100vh;
}

/* --- FIX PHẦN PHƯƠNG TIỆN (TABS) --- */
.vehicle-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    position: relative;
    z-index: 10;
}

.v-tab {
    padding: 14px 28px;
    border-radius: 50px;
    /* Dùng nền trắng đục và viền cam để không bị chìm vào mây trắng */
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid #f87316 !important; 
    color: #4b5563 !important;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.v-tab i {
    margin-right: 8px;
    font-size: 18px;
    color: #f87316;
}

/* Khi chọn phương tiện (Active) */
.v-tab.active {
    background: #f87316 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(248, 115, 22, 0.4);
    transform: translateY(-3px);
}

.v-tab.active i {
    color: #ffffff;
}

/* --- BOX TRA CỨU --- */
.search-main-box {
    background: rgba(255, 255, 255, 0.98) !important;
    border-radius: 24px;
    border: 2px solid #f87316 !important;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #1f2937; /* Màu xám đen cho chữ "Tra cứu" */
    margin-bottom: 15px;
    text-transform: none;
    letter-spacing: -1px;
}

.hero-title span {
    color: #f87316; /* Màu cam cho chữ "Phạt Nguội" */
    position: relative;
}

/* Thêm đổ bóng nhẹ để chữ nổi bật trên nền ảnh rõ */
.hero-title {
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.vehicle-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.v-tab {
    padding: 12px 25px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid #f87316;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
}

.v-tab.active {
    background: #f87316;
    color: white;
}

/* Vùng chứa FAQ mới */
#faq-result-wrapper {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed #f87316; /* Tạo đường kẻ ngăn cách cho đẹp */
    width: 100%;
}

/* Định dạng nội dung bên trong FAQ dựa trên hình ảnh bạn gửi */
#faq-result-wrapper .related-faq-box {
    background: #fdfdfd;
    border-radius: 12px;
    padding: 15px;
}

#faq-result-wrapper h3 {
    font-size: 1.1rem;
    color: #1f2937;
    margin-bottom: 10px;
    font-weight: 700;
}

#faq-result-wrapper ul {
    list-style: none;
    padding: 0;
}

#faq-result-wrapper ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

#faq-result-wrapper ul li::before {
    content: "❯";
    color: #f87316;
    margin-right: 10px;
    font-size: 0.8rem;
    margin-top: 4px;
}

#faq-result-wrapper a {
    color: #2563eb;
    text-decoration: none;
    transition: 0.2s;
}

#faq-result-wrapper a:hover {
    color: #f87316;
    text-decoration: underline;
}