/* ═══════════════════════════════════════════════
   COMPONENTS - Hà Nội Portal
   ═══════════════════════════════════════════════ */

/* ─── Stats Cards ─── */
.stats-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: fit-content;
    text-align: center;
    border: 1px solid rgba(150, 190, 255, 0.3);
    border-radius: 12px;
    padding: 12px 24px;
}

.stats-title {
    font-size: var(--font-size-md-display);
    font-weight: var(--font-weight-bold);
    color: var(--text-inverse);
    line-height: 1.22;
    text-align: center;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.6),
        0 4px 12px rgba(0, 0, 0, 0.35);
}

.stats-subtitle {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    color: var(--text-subtle);
    line-height: 1.5;
    text-align: center;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.5),
        0 3px 8px rgba(0, 0, 0, 0.3);
}

.stats-grid {
    display: flex;
    align-items: stretch;
    gap: 24px;
    width: 100%;
}

/* Animated border using @property + background-clip */
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes borderSpin {
    to {
        --border-angle: 360deg;
    }
}

.stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 16px;
    flex: 1;
    min-width: 0;
    border: 1.5px solid transparent;
    border-radius: 16px;
    text-align: center;
    overflow: hidden;
    background:
        linear-gradient(rgba(20, 50, 95, 0.8), rgba(20, 50, 95, 0.8)) padding-box,
        conic-gradient(from var(--border-angle),
            transparent 25%,
            rgba(96, 165, 250, 0.35) 33%,
            rgba(160, 210, 255, 0.7) 37%,
            rgba(200, 230, 255, 0.9) 40%,
            rgba(160, 210, 255, 0.7) 43%,
            rgba(96, 165, 250, 0.35) 47%,
            transparent 55%) border-box;
    animation: borderSpin 3s linear infinite;
}

/* Stagger each card's animation */
.stat-card:nth-child(2) {
    animation-delay: -0.75s;
}

.stat-card:nth-child(3) {
    animation-delay: -1.5s;
}

.stat-card:nth-child(4) {
    animation-delay: -2.25s;
}

/* ── Odometer / Digit Roller ── */
.stat-number {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    overflow: hidden;
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    color: #C0D0E8;
    line-height: 1;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    font-variant-numeric: tabular-nums;
}

.stat-digit-col {
    display: inline-block;
    height: 60px;
    overflow: hidden;
    position: relative;
    width: 0.6em;
}

.stat-digit-col .stat-digit-roll {
    display: flex;
    flex-direction: column;
    transition: transform 2s cubic-bezier(0.22, 1, 0.36, 1);
}

.stat-digit-col .stat-digit-roll span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    line-height: 60px;
}

/* Comma / separator character */
.stat-digit-sep {
    display: inline-block;
    width: 0.3em;
    text-align: center;
    font-size: 40px;
    line-height: 60px;
    vertical-align: top;
}

/* Handle large numbers gracefully */
.stat-number.stat-number--large {
    font-size: 36px;
    height: 48px;
}

.stat-number.stat-number--large .stat-digit-col {
    height: 48px;
}

.stat-number.stat-number--large .stat-digit-col .stat-digit-roll span {
    height: 48px;
    line-height: 48px;
}

.stat-number.stat-number--large .stat-digit-sep {
    font-size: 30px;
    line-height: 48px;
}

.stat-number.stat-number--xlarge {
    font-size: 28px;
    height: 40px;
}

.stat-number.stat-number--xlarge .stat-digit-col {
    height: 40px;
}

.stat-number.stat-number--xlarge .stat-digit-col .stat-digit-roll span {
    height: 40px;
    line-height: 40px;
}

.stat-number.stat-number--xlarge .stat-digit-sep {
    font-size: 22px;
    line-height: 40px;
}

.stat-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    padding: 0 8px;
}

.stat-label {
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    color: #A0B4CC;
    text-transform: uppercase;
    line-height: 1.3;
    min-height: calc(1.3em * 3);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.stat-desc {
    font-size: 12px;
    color: #7A90AA;
    line-height: 1.4;
    min-height: calc(1.4em * 2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.stat-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    filter: blur(80px);
    top: -80px;
    right: -30px;
    pointer-events: none;
}

/* ─── Ecosystem Gallery ─── */
.eco-gallery {
    margin-bottom: 48px;
}

.eco-gallery__grid {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.eco-gallery__item {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    max-width: 475px;
}

.eco-gallery__image-wrap {
    width: 100%;
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.eco-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.eco-gallery__item:hover .eco-gallery__image {
    transform: scale(1.05);
}

.eco-gallery__info-card {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 16px);
    height: 85px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.eco-gallery__item:hover .eco-gallery__info-card {
    box-shadow: 0 8px 30px rgba(0, 77, 176, 0.18);
    transform: translateX(-50%) translateY(-2px);
}

.eco-gallery__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #004DB0;
    flex-shrink: 0;
}

.eco-gallery__icon svg {
    width: 22px;
    height: 22px;
}

.eco-gallery__icon svg path,
.eco-gallery__icon svg circle {
    fill: #FFFFFF;
}

.eco-gallery__icon svg path[stroke],
.eco-gallery__icon svg line[stroke] {
    stroke: #FFFFFF;
    fill: none;
}

.eco-gallery__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.eco-gallery__title {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.eco-gallery__desc {
    font-size: 13px;
    font-weight: 400;
    color: #64748B;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.eco-gallery__number {
    font-size: 28px;
    font-weight: 800;
    color: #004DB0;
    line-height: 1;
    flex-shrink: 0;
    letter-spacing: -0.5px;
    align-self: center;
}


/* ─── Map Section ─── */
.map-section-header {
    text-align: center;
    margin-bottom: 36px;
}

.map-section-title {
    font-size: 36px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 12px;
    margin-top: 16px;
}

.map-section-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #64748B;
    margin: 0;
}

.map-section .container {
    max-width: 1472px;
    padding: 0 24px;
}

/* Single outer card */
.map-card {
    display: flex;
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Left half: Map */
.map-card-left {
    flex: 1;
    padding: 32px;
    border-right: 1px solid #E2E8F0;
}

.map-left-label {
    font-size: 15px;
    color: #334155;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-left-label i {
    color: #2563EB;
    font-size: 16px;
}

.map-container {
    position: relative;
    display: inline-block;
    width: 100%;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    max-width: 500px;
    opacity: 0.5;
}

/* Map Legend Card */
.map-legend-card {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid #C5D3E8;
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ─── Map Zoom Controls ─── */

.map-zoom-wrapper {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
    will-change: transform;
}

.map-zoom-controls {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 10;
}

.map-zoom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    color: #334155;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.map-zoom-btn:hover {
    background: #2563EB;
    color: #fff;
    border-color: #2563EB;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.map-zoom-btn:active {
    transform: scale(0.95);
}

/* ─── Map Tooltip ─── */
.map-tooltip {
    position: fixed;
    z-index: 99999;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    color: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    opacity: 0;
    transform: translateY(4px) scale(0.96);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.map-tooltip.is-visible {
    display: block !important;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.map-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 6px;
    background: #0F172A;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.map-tooltip-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 6px;
    white-space: nowrap;
}

.map-tooltip-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #94A3B8;
    line-height: 1;
}

.map-tooltip-count strong {
    font-size: 18px;
    font-weight: 700;
    color: #60A5FA;
    letter-spacing: -0.5px;
}

.map-tooltip-count .tooltip-unit {
    font-size: 11px;
    color: #94A3B8;
}

.map-legend-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #1E293B;
    line-height: 1;
}

.map-legend-items {
    display: flex;
    align-items: center;
    gap: 16px;
}

.map-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.map-legend-dot {
    display: inline-block;
    border-radius: 50%;
    flex-shrink: 0;
}

.map-legend-dot--high {
    width: 12px;
    height: 12px;
    background: rgba(59, 130, 246, 0.8);
    border: 1.5px solid #fff;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.25);
}

.map-legend-dot--medium {
    width: 10px;
    height: 10px;
    background: rgba(59, 130, 246, 0.45);
    border: 1px solid #fff;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.15);
}

.map-legend-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 10px;
    color: #475569;
    line-height: 1;
}

/* Right half: Ranking */
.map-card-right {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.map-right-title {
    font-size: 20px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

.province-ranking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.province-rank-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 12px;
    padding: 20px 24px 16px;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.province-rank-item:hover {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.18);
    transform: translateY(-3px) scale(1.02);
    border-color: #93B8F7;
    background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 100%);
}

.province-rank-item:hover .rank-badge {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.province-rank-item:hover .rank-number {
    transform: scale(1.05);
}

.rank-badge,
.rank-number {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.province-rank-item:nth-child(1) {
    opacity: 1;
}

.province-rank-item:nth-child(2) {
    opacity: 1;
}

.province-rank-item:nth-child(3) {
    opacity: 1;
}

.province-rank-item:nth-child(4) {
    opacity: 1;
}

.province-rank-item:nth-child(5) {
    opacity: 1;
}

.rank-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #2563EB;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}

.rank-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.rank-name {
    font-size: 15px;
    font-weight: 600;
    color: #0F172A;
}

.rank-kpi {
    font-size: 12px;
    color: #64748B;
}

.rank-progress {
    flex: 0 0 100%;
    height: 6px;
    background: #E8ECF2;
    border-radius: 100px;
}

@keyframes progressGrow {
    from {
        width: 0;
    }
}

.rank-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3B6FF5 0%, #5B8EF8 60%, #93C5FD 100%);
    border-radius: 100px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(59, 111, 245, 0.3);
    position: relative;
}

.rank-progress-bar.animate {
    animation: progressGrow 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.rank-count {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
}

.rank-number {
    font-size: 24px;
    font-weight: 700;
    color: #2563EB;
    line-height: 1;
}

.rank-number-total {
    font-size: 16px;
    font-weight: 400;
    color: #94A3B8;
}

.rank-label {
    font-size: 12px;
    font-weight: 500;
    color: #64748B;
}

/* Map Note */
.map-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    margin-top: 4px;
}

.map-note i {
    color: #2563EB;
    font-size: 14px;
    flex-shrink: 0;
    line-height: 1.4;
}

.map-note span {
    font-size: 13px;
    color: #64748B;
    line-height: 1.4;
}

.map-note strong {
    color: #2563EB;
}

.map-highlight-banner {
    position: relative;
    width: min(1472px, calc(100vw - 48px));
    border-radius: 40px;
    overflow: hidden;
    height: 413px;
    margin: 0 auto;
    border: 1px solid rgba(37, 99, 235, 0.22);
}

.map-highlight-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.78) 0%, rgba(2, 6, 23, 0.22) 52%, rgba(2, 6, 23, 0) 100%);
    z-index: 1;
}

.map-highlight-banner__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-highlight-banner__overlay {
    position: absolute;
    top: 50%;
    left: 72px;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #FFFFFF;
}

.map-highlight-banner__year {
    font-size: 96px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    color: #62D5FF;
}

.map-highlight-banner__title {
    margin: 0;
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    color: #FFFFFF;
}

.map-highlight-banner__subtitle {
    margin: 0;
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1px;
    color: #FFFFFF;
}

/* ─── Map Bubbles Overlay ─── */
.map-bubbles-container {
    position: relative;
    display: inline-block;
}

.map-bubbles-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.map-bubble {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    cursor: pointer;
    z-index: 6;
}

.map-bubble-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.65);
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    position: relative;
}

.map-bubble-circle::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.15);
    animation: bubblePulse 2.5s ease-in-out infinite;
    z-index: -1;
}

@keyframes bubblePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.map-bubble--lg .map-bubble-circle {
    background: rgba(59, 130, 246, 0.8);
    border-width: 2.5px;
}

.map-bubble:hover .map-bubble-circle {
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.5);
    background: rgba(59, 130, 246, 0.85);
}

.map-bubble-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    fill: #fff;
    color: #fff;
    text-align: center;
    line-height: 1;
    pointer-events: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Stagger pulse animation for visual variety */
.map-bubble:nth-child(2n) .map-bubble-circle::before {
    animation-delay: -0.5s;
}

.map-bubble:nth-child(3n) .map-bubble-circle::before {
    animation-delay: -1s;
}

.map-bubble:nth-child(4n) .map-bubble-circle::before {
    animation-delay: -1.5s;
}

.map-bubble:nth-child(5n) .map-bubble-circle::before {
    animation-delay: -2s;
}


/* ─── App Grid ─── */
.app-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.app-row {
    display: flex;
    gap: 24px;
}

.app-card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all var(--transition-normal);
}

.app-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.app-icon {
    width: 40px;
    height: 40px;
}

.app-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.app-desc {
    font-size: var(--font-size-md);
    color: var(--text-secondary);
    line-height: 1.5;
}

/* App Image Cards */
.app-img-card {
    flex: 1;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.app-img-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.app-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ─── Data Table Section ─── */
.data-search-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 0 40px;
}

.data-search-input {
    flex: 1;
    padding: 12px 24px;
    border: 1px solid var(--color-gray-300);
    border-radius: 999px;
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    background: white;
    outline: none;
}

.data-search-input::placeholder {
    color: var(--color-gray-400);
}

.data-search-input:focus {
    border-color: var(--color-primary);
}

.data-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--color-gray-300);
    border-radius: 999px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.data-filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.data-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--color-info);
    color: white;
    border: none;
    border-radius: 999px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: background var(--transition-fast);
    white-space: nowrap;
}

.data-search-btn:hover {
    background: #003d8f;
}

/* Data Table */
.data-table-wrapper {
    width: 100%;
    padding: 0 40px;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-sm);
}

.data-table thead {
    background: var(--color-info);
}

.data-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: var(--font-weight-semibold);
    color: white;
    white-space: nowrap;
    font-size: 13px;
}

.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-gray-200);
    color: var(--text-primary);
    font-size: 13px;
    vertical-align: middle;
}

.data-table tbody tr:hover {
    background: rgba(0, 77, 176, 0.04);
}

.status-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
}

.status-active {
    color: var(--color-info);
}

/* Pagination */
.data-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 40px;
}

.pagination-info {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-gray-200);
    border-radius: 999px;
    background: white;
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.page-btn:hover:not(:disabled) {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.page-btn.active {
    background: var(--color-info);
    color: white;
    border-color: var(--color-info);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-dots {
    padding: 0 4px;
    color: var(--text-muted);
}


/* ─── News Cards ─── */
.news-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 1043px;
    margin: 0 auto 40px;
    text-align: center;
}

.news-subtitle {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    color: #475467;
    line-height: 1.5;
    text-align: center;
}

.news-grid-3 {
    display: flex;
    gap: 24px;
}

.news-grid-3 .news-card {
    flex: 1;
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-row {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.news-col-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-col-right .news-card {
    flex: 1;
}

.news-card {
    background: var(--color-gray-100);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-card--large {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card--large .news-card__image {
    height: 400px;
}

.news-card__image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-card:hover .news-card__image img {
    transform: scale(1.05);
}

.news-card__body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-tag {
    font-size: var(--font-size-xs);
    color: var(--color-info);
    font-weight: var(--font-weight-medium);
}

.tag-science {
    color: var(--color-info);
}

.news-card__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    line-height: 1.4;
}

.news-card__excerpt {
    font-size: var(--font-size-md);
    color: var(--text-muted);
    line-height: 1.5;
}


/* ─── Quick Link Cards ─── */
.quick-link-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.quick-link-card h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 8px;
}

.quick-link-card p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: 0;
}


/* ═══════════════════════════════════════════════
   DỊCH VỤ HỖ TRỢ
   ═══════════════════════════════════════════════ */
.service-support-section {
    position: relative;
    z-index: var(--z-base);
    padding: var(--space-16) 0 0;
    max-width: 1440px;
    margin: 0 auto;
}

.service-support-title {
    font-size: var(--font-size-md-display);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    line-height: 1.22;
    padding-left: var(--container-padding);
    margin-bottom: var(--space-10);
}

.service-support-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.service-support-item {
    position: relative;
    height: 144px;
    border-top: 1px solid #98A2B3;
    border-bottom: 1px solid #98A2B3;
    overflow: hidden;
}

.service-support-item+.service-support-item {
    border-top: none;
}

.service-support-bar {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
}

.service-support-item--primary .service-support-bar {
    background: rgba(0, 77, 176, 0.5);
}

.service-support-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 var(--container-padding);
}

.service-support-name {
    font-size: var(--font-size-xs-display);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    line-height: 1.33;
}

.service-support-item--primary .service-support-name {
    color: var(--text-inverse);
}

.service-support-illustration {
    flex-shrink: 0;
}

.service-support-illustration svg {
    display: block;
}


/* ═══════════════════════════════════════════════
   QUY TRÌNH ĐÁNH GIÁ
   ═══════════════════════════════════════════════ */
.eval-process-section {
    padding: var(--space-16) 0;
}

.eval-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    max-width: 1043px;
    margin: 0 auto var(--space-10);
    text-align: center;
}

.eval-title {
    font-size: var(--font-size-md-display);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    line-height: 1.22;
    text-align: center;
}

.eval-subtitle {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    color: #344054;
    line-height: 1.5;
    text-align: center;
}

.eval-cards {
    display: flex;
    align-items: center;
    gap: 24px;
}

.eval-card {
    position: relative;
    width: 411px;
    flex: 1;
    height: 480px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: #F5F8FF;
    border: 2px solid #D5D5D5;
    display: flex;
    flex-direction: column;
}

.eval-card:first-child {
    background: #FFFFFF;
    border-image: linear-gradient(135deg, rgba(106, 202, 255, 1) 0%, rgba(0, 123, 229, 0) 19%, rgba(0, 123, 229, 0) 81%, rgba(1, 92, 226, 0) 100%) 1;
    border-radius: var(--radius-2xl);
    border: 2px solid #D5D5D5;
}

.eval-card__visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px;
}

.eval-card__glow {
    position: absolute;
    width: 400px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 19, 108, 1) 0%, rgba(1, 157, 248, 1) 100%);
    filter: blur(64px);
    opacity: 0.3;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.eval-card__icon {
    position: relative;
    z-index: 1;
}

.eval-card__icon svg {
    width: 200px;
    height: 200px;
}

.eval-card__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px 32px;
    text-align: center;
}

.eval-card__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.eval-card__desc {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}