/* ================================================================
   PPID DISDIKBUD PROVINSI KALIMANTAN TIMUR - DATASET MODULE STYLESHEET
   Modern GovTech Open Data UI v3.0
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Scope container */
.dataset-page-wrapper {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #334155;
    padding: 35px 0 85px 0;
}

/* ================================================================
   DATASET MODERN LANDING PAGE (UI/UX 2026 ENHANCED)
   ================================================================ */
.dataset-modern-page {
    background-color: #f8fafc;
    background-image: 
        radial-gradient(circle at 50% -10%, rgba(2, 132, 199, 0.08) 0%, rgba(248, 250, 252, 0) 65%),
        radial-gradient(rgba(148, 163, 184, 0.18) 1px, transparent 1px);
    background-size: 100% 100%, 24px 24px;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #334155;
    padding: 30px 0 80px 0;
    min-height: 85vh;
}

/* 1. Modern Hero Section */
.dataset-modern-hero {
    position: relative;
}

.dataset-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(2, 132, 199, 0.08);
    color: #0284c7;
    border: 1px solid rgba(2, 132, 199, 0.2);
    border-radius: 9999px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.06);
}

.badge-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.dataset-icon-badge {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px -4px rgba(15, 23, 42, 0.08);
    flex-shrink: 0;
}

.dataset-icon-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.dataset-modern-title {
    font-size: 2.35rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.title-gradient {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dataset-modern-desc {
    font-size: 1.02rem;
    color: #475569;
    line-height: 1.7;
    max-width: 630px;
    margin-bottom: 20px;
}

.dataset-modern-desc strong {
    color: #0f172a;
    font-weight: 700;
}

/* Format Chips */
.dataset-format-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.format-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.format-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.chip-excel {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.chip-csv {
    background: #f0f9ff;
    color: #0284c7;
    border: 1px solid #bae6fd;
}

.chip-pdf {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.chip-verified {
    background: #faf5ff;
    color: #7c3aed;
    border: 1px solid #e9d5ff;
}

/* Info Box */
.dataset-info-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    max-width: 630px;
}

.info-box-icon {
    color: #0284c7;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-box-text {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.5;
}

.info-box-link {
    color: #0284c7;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.info-box-link:hover {
    color: #0369a1;
    text-decoration: underline;
}

/* 2. Glass Card Illustration Box */
.dataset-glass-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 36px 28px;
    box-shadow: 0 20px 40px -15px rgba(2, 132, 199, 0.12), 0 0 0 1px rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 310px;
    overflow: hidden;
}

.illustration-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(2, 132, 199, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(25px);
}

.dataset-main-illustration {
    position: relative;
    z-index: 2;
    max-height: 230px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(15, 23, 42, 0.1));
    animation: floatSlow 4s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.floating-chip {
    position: absolute;
    z-index: 3;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 14px;
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.chip-top-left {
    top: 18px;
    left: 18px;
}

.chip-bottom-right {
    bottom: 18px;
    right: 18px;
}

.chip-avatar {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.bg-primary-soft { background: rgba(2, 132, 199, 0.12); }
.bg-emerald-soft { background: rgba(16, 185, 129, 0.12); }

.chip-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.chip-subtitle {
    font-size: 0.68rem;
    color: #64748b;
}

/* 3. Available Topics Section */
.dataset-topics-section {
    position: relative;
}

.section-tracker-tag {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #0284c7;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}

.dataset-section-heading {
    font-size: 1.95rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.dataset-section-sub {
    font-size: 0.92rem;
    color: #64748b;
}

.topic-count-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

/* 4. Modern Topic Card */
.dataset-modern-topic-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.dataset-modern-topic-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.1), 0 0 0 1px #cbd5e1;
}

.topic-orange-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #ff7a00 0%, #ea580c 100%);
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.topic-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.topic-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 122, 0, 0.1);
    color: #ff7a00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.dataset-modern-topic-card:hover .topic-icon-wrap {
    background: #ff7a00;
    color: #ffffff;
    transform: scale(1.05) rotate(4deg);
}

.topic-sections-badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 9999px;
}

.topic-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 10px;
}

.topic-card-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

/* Sub-sections preview pills */
.topic-subsections-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 20px;
}

.subsections-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.subsection-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
}

/* Button Modern */
.btn-lihat-dataset-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #334155;
    transition: all 0.25s ease;
}

.btn-arrow-icon {
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

.btn-lihat-dataset-modern:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border-color: #0284c7;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
    text-decoration: none;
}

.btn-lihat-dataset-modern:hover .btn-arrow-icon {
    transform: translateX(4px);
}

/* 5. Trust / Feature Strip */
.feature-strip-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    height: 100%;
    transition: transform 0.2s ease;
}

.feature-strip-item:hover {
    transform: translateY(-2px);
}

.feature-strip-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.bg-blue-subtle { background: #eff6ff; }
.bg-amber-subtle { background: #fffbeb; }

.feature-strip-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}

.feature-strip-text {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
}

/* Modern Breadcrumb */
.dataset-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.dataset-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dataset-breadcrumb a:hover {
    color: #0284c7;
}

.dataset-breadcrumb .separator {
    color: #cbd5e1;
    font-size: 0.7rem;
}

.dataset-breadcrumb .current {
    color: #0f172a;
    font-weight: 700;
}

/* Dataset Hero Banner Card */
.dataset-hero-banner {
    background: linear-gradient(135deg, #091a2b 0%, #0f2744 55%, #0284c7 100%);
    border-radius: 20px;
    padding: 36px 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.15);
}

.dataset-hero-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(2, 132, 199, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.dataset-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 5px 14px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #38bdf8;
    margin-bottom: 14px;
}

.dataset-hero-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.25;
}

.dataset-hero-desc {
    font-size: 0.98rem;
    color: #cbd5e1;
    max-width: 780px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.dataset-format-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.format-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Modern Topic Card */
.topic-card-modern {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.topic-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
    border-color: #cbd5e1;
}

.topic-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0284c7, #38bdf8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.topic-card-modern:hover::before {
    opacity: 1;
}

.topic-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.topic-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.topic-card-modern:hover .topic-icon-box {
    transform: scale(1.1) rotate(4deg);
    background: #0284c7;
    color: #ffffff;
}

.topic-count-badge {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #475569;
}

.topic-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.topic-card-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 22px;
    flex-grow: 1;
}

.btn-topic-action {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0284c7 !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.25s ease;
}

.topic-card-modern:hover .btn-topic-action {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff !important;
}

/* Sections Explorer Page Styles */
.explorer-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 991.98px) {
    .explorer-layout {
        grid-template-columns: 1fr;
    }
}

.explorer-sidebar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04);
}

.sidebar-heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    padding: 6px 12px 12px 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-tab-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    border-radius: 10px;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.sidebar-tab-item:hover {
    background: #f1f5f9;
    color: #0284c7;
    transform: translateX(3px);
}

.sidebar-tab-item.active {
    background: #0284c7;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.explorer-content-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04);
}

.section-info-header {
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.section-info-header h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.section-info-header p {
    font-size: 0.92rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.filter-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 24px;
}

.search-input-box {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.search-input-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
}

.search-input-box input {
    width: 100%;
    padding: 9px 14px 9px 38px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.88rem;
    background: #ffffff;
    transition: all 0.2s ease;
}

.search-input-box input:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.filter-select-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-select-group select {
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.85rem;
    background: #ffffff;
    font-weight: 500;
    color: #334155;
    outline: none;
}

.dataset-row-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-bottom: 12px;
}

.dataset-row-item:hover {
    border-color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08);
}

.dataset-row-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    transition: color 0.2s ease;
}

.dataset-row-item:hover .dataset-row-info h4 {
    color: #0284c7;
}

.dataset-meta-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-chip {
    font-size: 0.76rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.meta-chip.chip-blue { background: #e0f2fe; color: #0284c7; }
.meta-chip.chip-emerald { background: #d1fae5; color: #059669; }
.meta-chip.chip-amber { background: #fef3c7; color: #d97706; }

.dataset-arrow-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.dataset-row-item:hover .dataset-arrow-btn {
    background: #0284c7;
    color: #ffffff;
    transform: translateX(4px);
}

/* Dataset Detail View */
.detail-card-modern {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04);
    margin-bottom: 24px;
}

.detail-header-top {
    margin-bottom: 18px;
}

.detail-main-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 14px;
}

.detail-desc-box {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: #f8fafc;
    border-left: 4px solid #0284c7;
    border-radius: 0 10px 10px 0;
}

.meta-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

@media (max-width: 991.98px) {
    .meta-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

.meta-box-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
}

.meta-box-lbl {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.meta-box-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.detail-actions-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.btn-download-dataset {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 12px 26px;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
    transition: all 0.25s ease;
}

.btn-download-dataset:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(2, 132, 199, 0.45);
}

.btn-share-dataset {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155 !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 11px 22px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-share-dataset:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

/* Preview Box Styles */
.preview-card-modern {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04);
}

.preview-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.preview-header h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.preview-body {
    padding: 0;
    position: relative;
    background: #ffffff;
}

.excel-preview-scroll {
    max-height: 560px;
    overflow: auto;
    background: #ffffff;
}

.excel-preview-scroll table {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.88rem;
    color: #334155;
    white-space: nowrap;
}

.excel-preview-scroll th,
.excel-preview-scroll td {
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    text-align: left;
    vertical-align: middle;
}

.excel-preview-scroll th {
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 700;
    position: sticky;
    top: 0;
    z-index: 2;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.excel-preview-scroll tr:nth-child(even) {
    background-color: #f8fafc;
}

.excel-preview-scroll tr:hover {
    background-color: #f0f9ff;
}

.pdf-preview-frame {
    width: 100%;
    height: 750px;
    border: none;
    display: block;
}

.copy-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.copy-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================================
   Photo 2 Specific Styles - Clean Topic Explorer Layout
   ================================================================ */
.dataset-simple-breadcrumb {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.dataset-simple-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dataset-simple-breadcrumb a:hover {
    color: #1d4ed8;
}

.dataset-simple-breadcrumb .bc-sep {
    margin: 0 8px;
    color: #94a3b8;
}

.dataset-simple-breadcrumb .bc-current {
    color: #475569;
    font-weight: 500;
}

.dataset-topic-header {
    margin-bottom: 28px;
}

.topic-head-icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.topic-head-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.02em;
}

.topic-head-divider {
    margin: 20px 0 0 0;
    border: 0;
    border-top: 1px solid #e5e7eb;
    opacity: 1;
}

.topic-tab-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.topic-tab-btn {
    display: block;
    width: 100%;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    text-align: left;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.topic-tab-btn:hover {
    background: #f8fafc;
    color: #1d4ed8;
    border-color: #cbd5e1;
}

.topic-tab-btn.active {
    background: #1d4ed8 !important;
    color: #ffffff !important;
    border-color: #1d4ed8 !important;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.22);
}

.dataset-box-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 26px 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.section-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
}

.section-card-desc {
    font-size: 0.94rem;
    color: #4b5563;
    line-height: 1.65;
    margin-bottom: 18px;
}

.section-card-link {
    font-size: 0.92rem;
    color: #4b5563;
}

.section-card-link a {
    color: #1d4ed8;
    transition: color 0.2s ease;
}

.section-card-link a:hover {
    text-decoration: underline !important;
}

.dataset-search-box {
    padding: 11px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #1f2937;
    background: #ffffff;
}

.dataset-search-box:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.dataset-select-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 6px;
}

.dataset-select-control {
    padding: 9px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.92rem;
    color: #374151;
    background-color: #ffffff;
}

.dataset-select-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.dataset-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dataset-item-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.2s ease;
    gap: 16px;
}

.dataset-item-entry:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.dataset-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.dataset-entry-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.dataset-entry-title:hover {
    color: #1d4ed8;
}

.dataset-entry-subtags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.82rem;
    color: #64748b;
}

.subtag-sep {
    color: #cbd5e1;
}

.dataset-entry-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

