 @import url("../NexaUI/css/grid.css");
 @import url("../NexaUI/css/form.css");
 @import url("../NexaUI/css/pagination.css");
 @import url("../NexaUI/css/select2.min.css");
 @import url("../NexaUI/css/dimensi.css");
 @import url("../NexaUI/css/button.css");
 @import url("../NexaUI/css/btngroup.css");

 
/*
@import url("../../NexaUi/css/form.css");

@import url("../../NexaUi/css/mediaobject.css");
@import url("../../NexaUi/css/table.css");
@import url("../../NexaUi/css/badge.css");
@import url("../../NexaUi/css/alerts.css");
@import url("../../NexaUi/css/pagination.css");
@import url("../../NexaUi/css/cards.css");
@import url("../../NexaUi/css/switches.css");
@import url("../../NexaUi/css/scroll.css");

@import url("../../NexaUi/css/avatar.css");
@import url("../../NexaUi/css/icon.css");
@import url("../../NexaUi/css/assistant.css");
@import url("../../NexaUi/css/editor.css");
@import url("../../NexaUi/css/dropdown.css");
@import url("../../NexaUi/css/chat.css");
@import url("../../NexaUi/css/tag.css");
@import url("../../NexaUi/css/code.css");
@import url("../../NexaUi/css/cards.css");
@import url("../../NexaUi/css/progress.css");
@import url("../../NexaUi/css/carousel.css");

@import url("../../NexaUi/css/listgroup.css");
@import url("../../NexaUi/css/btngroup.css");
@import url("../../NexaUi/css/accordion.css");
@import url("../../NexaUi/css/grid.css");
@import url("../../NexaUi/Json/jsonbundle.css");
@import url("../../NexaUi/Notifikasi/style.css");
@import url("../../NexaUi/Tabs/NexaTabs.css");
@import url("./mode-dark.css");*/


 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.6;
            color: #4a5568;
            background-color: #f7fafc;
        }
        a{
              text-decoration: none;
        }

        /* Header */
        header {
            background: white;
            color: #2d3748;
            padding: 1rem 0;
            box-shadow: 0 2px 15px rgba(220, 38, 38, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 3px solid #dc2626;
        }

        .header-container {
            max-width:100%;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 0.75rem;
        }

        .logo-content {
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            gap: 0;
        }

        .logo-main {
            font-size: 1.5rem;
            font-weight: bold;
            display: flex;
            align-items: center;
            color: #dc2626;
            line-height: 1.2;
        }

        .logo img {
            height: 45px;
            width: 45px;
            object-fit: contain;
            border-radius: 50%;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
            flex-shrink: 0;
        }

        .logo-subtitle {
            font-size: 0.75rem;
            font-weight: normal;
            color: #718096;
            margin-left: 0;
            line-height: 1;
            margin-top: 2px;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        nav a {
            color: #4a5568;
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            transition: all 0.3s;
        }

        nav a:hover {
            background: #fee2e2;
            color: #dc2626;
        }

        nav a.active {
            background: #dc2626;
            color: white;
        }

        nav a.active:hover {
            background: #b91c1c;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(173deg, #dc2626 0%, #a32727 100%);
            color: white;
            padding: 5rem 2rem 3rem 2rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
            background-size: 25px 25px;
            pointer-events: none;
            opacity: 1;
        }

        .hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                radial-gradient(circle, rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
            background-size: 30px 30px;
            background-position: 0 0;
            pointer-events: none;
            opacity: 1;
            animation: patternMove 20s linear infinite;
        }

        @keyframes patternMove {
            0% { background-position: 0 0; }
            100% { background-position: 50px 50px; }
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            50% { transform: translate(-30px, -30px) rotate(180deg); }
        }

        .hero-container {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            line-height: 1.2;
            animation: fadeInUp 0.8s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero p {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            opacity: 0.95;
            font-weight: 500;
            animation: fadeInUp 0.8s ease-out 0.2s both;
        }

        .hero .hero-subtitle {
            font-size: 1rem;
            opacity: 0.85;
            margin-bottom: 2.5rem;
            animation: fadeInUp 0.8s ease-out 0.4s both;
        }

        .search-box {
            max-width: 650px;
            margin: auto auto 30px auto;
            position: relative;
            animation: fadeInUp 0.8s ease-out 0.6s both;
        }

        .search-box input {
            width: 100%;
            padding: 1.25rem 4rem 1.25rem 2rem;
            border: none;
            border-radius: 50px;
            font-size: 1.05rem;
            box-shadow: 0 8px 30px rgba(0,0,0,0.3);
            transition: all 0.3s ease;
            background: white;
            color: #2d3748;
        }

        .search-box input:focus {
            outline: none;
            box-shadow: 0 12px 40px rgba(0,0,0,0.4);
            transform: translateY(-2px);
        }

        .search-box input::placeholder {
            color: #a0aec0;
        }

        .search-box button {
            position: absolute;
            right: 0.4rem;
            top: 50%;
            transform: translateY(-50%);
            background: #dc2626;
            border: none;
            padding: 0.9rem 2rem;
            border-radius: 50px;
            color: white;
            cursor: pointer;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
        }

        .search-box button:hover {
            background: #b91c1c;
            transform: translateY(-50%) scale(1.05);
            box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
        }

        .search-box button:active {
            transform: translateY(-50%) scale(0.98);
        }

        /* Statistics Section */
        .stats {
            background: white;
             border-bottom:1px solid rgba(72, 94, 144, 0.16);
            padding: 3rem 2rem;
            margin-top: -2rem;
        }

        .stats-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .stat-card {
            /* background: white; */
            /* color: #f8fbff; */
            padding: 2rem;
            /* border-radius: 10px; */
            text-align: center;
            /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
            /* border: 1px solid #e5e7eb; */
        }

        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
            background-size: 25px 25px;
            pointer-events: none;
            opacity: 0.5;
        }

        .stat-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                radial-gradient(circle, rgba(0, 0, 0, 0.03) 1.5px, transparent 1.5px);
            background-size: 30px 30px;
            background-position: 0 0;
            pointer-events: none;
            opacity: 0.5;
        }

        .stat-card:hover {
            transform: translateY(-5px);
            /*box-shadow: 0 4px 15px rgba(0,0,0,0.12);*/
            /*border-color: #cbd5e0;*/
            cursor: pointer;
        }

        .stat-card:nth-child(2) {
            /*background: #f8f9fa;*/
        }

        .stat-card:nth-child(3) {
            /*background: #f1f3f5;*/
        }

        .stat-card:nth-child(4) {
            /*background: #e9ecef;*/
        }
        
        .stat-number {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
            position: relative;
            z-index: 1;
            color: #ffffff;
        } 
        
        .stat-label {
            font-size: 1.4rem;
            color: #ffffff;
            font-weight: 500;
            position: relative;
            z-index: 1;
        }
        


        /* Main Content */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 3rem 2rem;
        }

        .section-title {
            font-size: 2rem;
            margin-bottom: 2rem;
            color: #dc2626;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .section-title a {
            font-size: 1rem;
            color: #ef4444;
            text-decoration: none;
            transition: color 0.3s;
        }

        .section-title a:hover {
            color: #b91c1c;
        }

        /* Data Insights */
        .insights {
            background: #ffffff00;
            padding: 2rem;
            border-radius: 10px;
            margin-bottom: 3rem;
            /*border:1px solid rgba(72, 94, 144, 0.16);*/
            /*box-shadow: 0 2px 10px rgba(0,0,0,0.05);*/
        }

        .insights-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .insight-card {
            background: #f8f9fa;
            padding: 1.5rem;
            border-radius: 8px;
            text-align: center;
            transition: all 0.3s;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            border: 2px solid #dc2626;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            min-height: 100px;
            gap: 10px;
        }

        .insight-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                radial-gradient(circle at 2px 2px, rgba(220, 38, 38, 0.12) 1px, transparent 0);
            background-size: 20px 20px;
            pointer-events: none;
            opacity: 1;
        }

        .insight-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                radial-gradient(circle at 12px 12px, rgba(220, 38, 38, 0.08) 1px, transparent 0);
            background-size: 20px 20px;
            background-position: 10px 10px;
            pointer-events: none;
            opacity: 1;
        }

        .insight-card:hover {
            background: #fee2e2;
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
            border-color: #b91c1c;
        }

        .insight-card h3 {
            font-size: 1rem;
            color: #dc2626;
            margin: 0;
            position: relative;
            z-index: 1;
            line-height: 1.4;
            text-align: left;
        }

        /* Topics */
        .topics {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1rem;
            margin-bottom: 3rem;
        }

        .topic-card {
            background: white;
            padding: 1.5rem;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            transition: all 0.3s;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            border: 2px solid #dc2626;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100px;
        }

        .topic-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                linear-gradient(rgba(220, 38, 38, 0.06) 1px, transparent 1px),
                linear-gradient(90deg, rgba(220, 38, 38, 0.06) 1px, transparent 1px);
            background-size: 30px 30px;
            pointer-events: none;
            opacity: 1;
        }

        .topic-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                radial-gradient(circle, rgba(220, 38, 38, 0.1) 1px, transparent 1px);
            background-size: 25px 25px;
            background-position: 12.5px 12.5px;
            pointer-events: none;
            opacity: 1;
        }

        .topic-card:hover {
            box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
            transform: translateY(-3px);
            background: #fee2e2;
            border-color: #b91c1c;
        }

        .topic-card h3 {
            color: #dc2626;
            font-size: 1rem;
            position: relative;
            z-index: 1;
            margin: 0;
            line-height: 1.4;
        }

        /* Dataset Cards */
        .datasets {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-bottom: 3rem;
        }

        .dataset-card {
            background: white;
            border-radius: 8px;
            padding: 1.5rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            transition: all 0.3s;
            cursor: pointer;
        }
   
        .dataset-card:hover {
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transform: translateY(-3px);
        }

        .dataset-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: 1rem;
        }

        .dataset-title {
            font-weight: 600;
            color: #dc2626;
            margin-bottom: 0.5rem;
            flex: 1;
            line-height: 1.4;
        }

        .dataset-description {
            font-size: 0.875rem;
            color: #4a5568;
            margin-bottom: 0.5rem;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .dataset-badge {
            background: #10b981;
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            margin-left: 0.5rem;
        }

        .dataset-meta {
            font-size: 0.875rem;
            color: #718096;
            margin-top: 0.5rem;
        }

        .dataset-format {
            display: flex;
            gap: 0.5rem;
            margin-top: 1rem;
            flex-wrap: wrap;
        }

        .format-badge {
            background: #edf2f7;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
            color: #718096;
        }

        .format-badge.size-badge {
            background: #dcfce7;
            color: #166534;
            font-weight: 500;
        }

        /* News Section */
        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
        }

        .news-card {
            background: white;
            border-radius: 8px;
            padding: 1.5rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            transition: all 0.3s;
        }

        .news-card:hover {
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transform: translateY(-3px);
        }

        .news-date {
            color: #718096;
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
        }

        .news-title {
            color: #dc2626;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .news-excerpt {
            color: #718096;
            font-size: 0.875rem;
            line-height: 1.5;
        }

        /* Footer */
        footer {
            background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
            color: white;
            padding: 3rem 2rem 1rem;
            margin-top: 4rem;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            margin-bottom: 1rem;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.5rem;
        }

        .footer-section a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-section a:hover {
            color: white;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.2);
            color: rgba(255,255,255,0.8);
        }

        /* Page Styles */
        .page-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }

        .page-header {
            margin-bottom: 2rem;
        }

        .back-button {
            background: #dc2626;
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 500;
            margin-bottom: 1rem;
            transition: all 0.3s;
        }

        .back-button:hover {
            background: #b91c1c;
            transform: translateX(-3px);
        }

        .page-title {
            font-size: 2.5rem;
            color: #dc2626;
            margin: 0;
            font-weight: 700;
        }

        .page-content {
            background: white;
            border-radius: 10px;
            padding: 2rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .loading-state {
            text-align: center;
            padding: 3rem;
            color: #718096;
        }

        /* Loading Spinner */
        .loading-spinner-container {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 400px;
            width: 100%;
        }

        .loading-spinner {
            text-align: center;
        }

        .spinner {
            width: 50px;
            height: 50px;
            border: 4px solid #e5e7eb;
            border-top: 4px solid #dc2626;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 1.5rem;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .loading-text {
            color: #4a5568;
            font-size: 1rem;
            font-weight: 500;
            margin: 0;
        }

        .error-message {
            background: #fee2e2;
            color: #dc2626;
            padding: 1.5rem;
            border-radius: 8px;
            text-align: center;
            border: 2px solid #dc2626;
        }

        .insight-stats,
        .topic-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .stat-item {
            background: #f8f9fa;
            padding: 1.5rem;
            border-radius: 8px;
            text-align: center;
            border: 2px solid #dc2626;
        }

        .stat-value {
            font-size: 2rem;
            font-weight: bold;
            color: #dc2626;
            margin-bottom: 0.5rem;
        }

 /*       .stat-label {
            font-size: 0.9rem;
            color: #718096;
        }*/

        .insight-datasets,
        .topic-datasets {
            margin-top: 2rem;
        }

        .insight-datasets h2,
        .topic-datasets h2 {
            color: #dc2626;
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        .datasets-list {
            margin-top: 1rem;
        }

        .topic-info {
            margin-bottom: 2rem;
        }

        .info-card {
            background: #f8f9fa;
            padding: 1.5rem;
            border-radius: 8px;
            border: 2px solid #dc2626;
        }

        .info-card h3 {
            color: #dc2626;
            margin-bottom: 0.5rem;
        }

        .info-card p {
            color: #4a5568;
            line-height: 1.6;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 1.8rem;
            }

            nav ul {
                flex-direction: column;
                gap: 1rem;
            }

            .stats-container {
                grid-template-columns: 1fr;
            }

            .page-container {
                padding: 1rem;
            }

            .page-title {
                font-size: 1.8rem;
            }

        .page-content {
            padding: 1.5rem;
        }
    }



    .empty-state {
        text-align: center;
        padding: 3rem;
        color: #718096;
    }

    .empty-state p {
        font-size: 1.1rem;
    }

 
    .section-title {
        font-size: 1.5rem;
        font-weight: 600;
        color: #dc2626;
        margin: 0 0 1.5rem 0;
    }

    .opd-contact-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .opd-contact-item {
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 8px;
        border: 2px solid #e5e7eb;
    }

    .opd-contact-item strong {
        display: block;
        color: #666;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .opd-contact-item p {
        margin: 0;
        color: #1a1a1a;
        font-size: 0.95rem;
    }

    .datasets-section {
        background: white;
        border-radius: 12px;
        padding: 2rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }

    .datasets-grid {
        display: grid;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .dataset-detail-card {
        padding: 1.5rem;
        border: 2px solid #e5e7eb;
        border-radius: 10px;
        background: #f9f9f9;
        transition: all 0.3s;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .dataset-detail-card:hover {
        border-color: #dc2626;
        box-shadow: 0 4px 15px rgba(220, 38, 38, 0.15);
        transform: translateY(-2px);
    }

    .dataset-detail-header {
        display: flex;
        gap: 1rem;
        align-items: flex-start;
        flex: 1;
        min-width: 300px;
    }

    .dataset-icon {
        width: 48px;
        height: 48px;
        object-fit: contain;
        flex-shrink: 0;
    }

    .dataset-icon-placeholder {
        width: 48px;
        height: 48px;
        background: #e0e0e0;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #999;
        font-size: 12px;
        font-weight: 600;
        flex-shrink: 0;
    }

    .dataset-detail-info {
        flex: 1;
    }

    .dataset-detail-title {
        margin: 0 0 0.5rem 0;
        font-size: 1.1rem;
        color: #1a1a1a;
        font-weight: 600;
    }

    .dataset-detail-description {
        margin: 0 0 0.75rem 0;
        font-size: 0.9rem;
        color: #666;
        line-height: 1.5;
    }

    .dataset-detail-meta {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        font-size: 0.85rem;
        color: #999;
    }

    .dataset-detail-meta span {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    .dataset-detail-meta strong {
        color: #666;
    }

    .dataset-detail-actions {
        display: flex;
        gap: 0.75rem;
        flex-direction: column;
        flex-shrink: 0;
    }

    .dataset-download-btn,
    .dataset-metadata-btn {
        padding: 0.75rem 1.5rem;
        border-radius: 6px;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        text-align: center;
        white-space: nowrap;
        transition: all 0.3s;
        display: inline-block;
    }

    .dataset-download-btn {
        background: #dc2626;
        color: white;
    }

    .dataset-download-btn:hover {
        background: #b91c1c;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
    }

    .dataset-metadata-btn {
        background: white;
        color: #dc2626;
        border: 2px solid #dc2626;
    }

    .dataset-metadata-btn:hover {
        background: #fee2e2;
        transform: translateY(-2px);
    }

    /* Dataset Detail Page Styles */
    .dataset-detail-icon {
        width: 80px;
        height: 80px;
        object-fit: contain;
        flex-shrink: 0;
    }

    .dataset-detail-icon-placeholder {
        width: 80px;
        height: 80px;
        background: #e0e0e0;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #999;
        font-size: 24px;
        font-weight: 600;
        flex-shrink: 0;
    }

    .dataset-detail-header {
        display: flex;
        gap: 1.5rem;
        align-items: flex-start;
        background: white;
        border-radius: 12px;
        padding: 2rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        margin-bottom: 2rem;
    }

    .dataset-detail-info {
        flex: 1;
    }

    .dataset-detail-title {
        font-size: 1.8rem;
        font-weight: 700;
        color: #dc2626;
        margin: 0 0 1rem 0;
        line-height: 1.3;
    }

    .dataset-detail-org {
        font-size: 1rem;
        color: #4a5568;
        margin-bottom: 0.5rem;
    }

    .dataset-detail-date {
        font-size: 0.9rem;
        color: #718096;
    }

    .dataset-detail-section {
        background: white;
        border-radius: 12px;
        padding: 2rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        margin-bottom: 2rem;
    }

    .section-subtitle {
        font-size: 1.2rem;
        font-weight: 600;
        color: #dc2626;
        margin: 0 0 1rem 0;
    }

    .dataset-detail-description-full {
        font-size: 1rem;
        color: #4a5568;
        line-height: 1.7;
        margin: 0;
    }

    .dataset-info-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .dataset-info-item {
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 8px;
        border: 2px solid #e5e7eb;
    }

    .dataset-info-item strong {
        display: block;
        color: #dc2626;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .dataset-info-item span {
        color: #4a5568;
        font-size: 0.95rem;
    }

    .dataset-formats {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        margin-top: 0.5rem;
    }

    .dataset-detail-actions-section {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        margin-top: 2rem;
    }

    .dataset-detail-download-btn,
    .dataset-detail-metadata-btn {
        padding: 1rem 2rem;
        border-radius: 8px;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s;
    }

    .dataset-detail-download-btn {
        background: #dc2626;
        color: white;
    }

    .dataset-detail-download-btn:hover {
        background: #b91c1c;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    }

    .dataset-detail-metadata-btn {
        background: white;
        color: #dc2626;
        border: 2px solid #dc2626;
    }

    .dataset-detail-metadata-btn:hover {
        background: #fee2e2;
        transform: translateY(-2px);
    }

    @media (max-width: 768px) {
        .opd-grid {
            grid-template-columns: 1fr;
        }

        .opd-stats {
            grid-template-columns: 1fr;
        }

        .opd-card-header {
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .opd-detail-header {
            flex-direction: column;
            text-align: center;
        }

        .opd-detail-logo {
            margin: 0 auto;
        }

        .opd-detail-stats {
            justify-content: center;
        }

        .dataset-detail-card {
            flex-direction: column;
        }

        .dataset-detail-actions {
            flex-direction: row;
            width: 100%;
        }

        .dataset-download-btn,
        .dataset-metadata-btn {
            flex: 1;
        }

        .dataset-detail-header {
            flex-direction: column;
            text-align: center;
        }

        .dataset-detail-icon,
        .dataset-detail-icon-placeholder {
            margin: 0 auto;
        }

        .dataset-info-grid {
            grid-template-columns: 1fr;
        }

        .dataset-detail-actions-section {
            flex-direction: column;
        }

        .dataset-detail-download-btn,
        .dataset-detail-metadata-btn {
            width: 100%;
            justify-content: center;
        }
    }

    /* Metadata Page Styles */
    .metadata-header-card {
        background: white;
        border-radius: 12px;
        padding: 2rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        margin-bottom: 2rem;
    }

    .metadata-icon-section {
        display: flex;
        gap: 1.5rem;
        align-items: center;
    }

    .metadata-icon {
        width: 80px;
        height: 80px;
        object-fit: contain;
        flex-shrink: 0;
    }

    .metadata-icon-placeholder {
        width: 80px;
        height: 80px;
        background: #e0e0e0;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #999;
        font-size: 24px;
        font-weight: 600;
        flex-shrink: 0;
    }

    .metadata-basic-info {
        flex: 1;
    }

    .metadata-title {
        font-size: 1.8rem;
        font-weight: 700;
        color: #dc2626;
        margin: 0 0 0.5rem 0;
        line-height: 1.3;
    }

    .metadata-org {
        font-size: 1rem;
        color: #4a5568;
    }

    .metadata-sections {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .metadata-section {
        background: white;
        border-radius: 12px;
        padding: 2rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }

    .metadata-section-title {
        font-size: 1.3rem;
        font-weight: 600;
        color: #dc2626;
        margin: 0 0 1.5rem 0;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .metadata-section-icon {
        font-size: 1.5rem;
    }

    .metadata-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .metadata-item {
        padding: 1.25rem;
        background: #f8f9fa;
        border-radius: 8px;
        border: 2px solid #e5e7eb;
        transition: all 0.3s;
    }

    .metadata-item:hover {
        border-color: #dc2626;
        background: #fee2e2;
    }

    .metadata-label {
        font-size: 0.85rem;
        font-weight: 600;
        color: #dc2626;
        margin-bottom: 0.5rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .metadata-value {
        font-size: 1rem;
        color: #1a1a1a;
        line-height: 1.6;
        word-break: break-word;
    }

    .metadata-badge {
        display: inline-block;
        background: #dcfce7;
        color: #166534;
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 500;
    }

    .metadata-formats {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .metadata-tags {
        display: flex;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .metadata-tag {
        background: #f0f0f0;
        color: #4a5568;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.9rem;
        border: 2px solid #e5e7eb;
        transition: all 0.3s;
    }

    .metadata-tag:hover {
        background: #fee2e2;
        border-color: #dc2626;
        color: #dc2626;
    }

    .metadata-json {
        background: #1a1a1a;
        border-radius: 8px;
        padding: 1.5rem;
        overflow-x: auto;
        border: 2px solid #333;
    }

    .metadata-json pre {
        margin: 0;
        color: #f0f0f0;
        font-family: 'Courier New', Courier, monospace;
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .metadata-json code {
        color: #f0f0f0;
    }

    .metadata-actions {
        display: flex;
        gap: 1rem;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 2px solid #e5e7eb;
    }

    .metadata-download-btn {
        padding: 1rem 2rem;
        background: #dc2626;
        color: white;
        border-radius: 8px;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s;
    }

    .metadata-download-btn:hover {
        background: #b91c1c;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    }

    @media (max-width: 768px) {
        .metadata-icon-section {
            flex-direction: column;
            text-align: center;
        }

        .metadata-icon,
        .metadata-icon-placeholder {
            margin: 0 auto;
        }

        .metadata-grid {
            grid-template-columns: 1fr;
        }

        .metadata-json {
            padding: 1rem;
        }

        .metadata-json pre {
            font-size: 0.75rem;
        }
    }

    /* Search Results Page Styles */
    .search-results-header {
        margin-bottom: 2rem;
        padding: 1.5rem;
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }

    .search-results-count {
        font-size: 1.1rem;
        color: #4a5568;
    }

    .search-results-count strong {
        color: #dc2626;
        font-size: 1.3rem;
    }

    .search-results-list {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .search-result-card {
        background: white;
        border-radius: 12px;
        padding: 2rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        transition: all 0.3s;
        border: 2px solid #e5e7eb;
    }

    .search-result-card:hover {
        border-color: #dc2626;
        box-shadow: 0 4px 15px rgba(220, 38, 38, 0.15);
        transform: translateY(-2px);
    }

    .search-result-header {
        display: flex;
        gap: 1.5rem;
        align-items: flex-start;
        margin-bottom: 1.5rem;
    }

    .search-result-icon {
        width: 60px;
        height: 60px;
        object-fit: contain;
        flex-shrink: 0;
    }

    .search-result-icon-placeholder {
        width: 60px;
        height: 60px;
        background: #e0e0e0;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #999;
        font-size: 18px;
        font-weight: 600;
        flex-shrink: 0;
    }

    .search-result-info {
        flex: 1;
    }

    .search-result-title {
        font-size: 1.3rem;
        font-weight: 700;
        color: #dc2626;
        margin: 0 0 0.5rem 0;
        line-height: 1.3;
    }

    .search-result-org {
        font-size: 0.95rem;
        color: #718096;
        margin-bottom: 0.75rem;
    }

    .search-result-description {
        font-size: 0.95rem;
        color: #4a5568;
        line-height: 1.6;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .search-result-meta {
        display: flex;
        gap: 1rem;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 1rem;
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 8px;
    }

    .search-result-formats {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .search-result-size {
        font-size: 0.9rem;
        color: #4a5568;
        font-weight: 500;
    }

    .search-result-category {
        font-size: 0.9rem;
        color: #4a5568;
        font-weight: 500;
    }

    .search-result-actions {
        display: flex;
        gap: 1rem;
    }

    .search-result-btn {
        padding: 0.75rem 1.5rem;
        background: #dc2626;
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
    }

    .search-result-btn:hover {
        background: #b91c1c;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
    }

    .search-empty-state {
        text-align: center;
        padding: 4rem 2rem;
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }

    .search-empty-icon {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }

    .search-empty-state h2 {
        font-size: 1.8rem;
        color: #dc2626;
        margin: 0 0 1rem 0;
    }

    .search-empty-state p {
        font-size: 1.1rem;
        color: #4a5568;
        margin: 0.5rem 0;
    }

    .search-suggestions {
        margin-top: 2rem;
        text-align: left;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .search-suggestions ul {
        list-style: none;
        padding: 0;
        margin: 1rem 0 0 0;
    }

    .search-suggestions li {
        padding: 0.5rem 0;
        color: #4a5568;
        border-bottom: 1px solid #e5e7eb;
    }

    .search-suggestions li:last-child {
        border-bottom: none;
    }

    @media (max-width: 768px) {
        .search-result-header {
            flex-direction: column;
        }

        .search-result-icon,
        .search-result-icon-placeholder {
            margin: 0 auto;
        }

        .search-result-meta {
            flex-direction: column;
            align-items: flex-start;
        }

        .search-result-actions {
            width: 100%;
        }

        .search-result-btn {
            width: 100%;
        }
    }




        /* Faded Icons */
        .faded-icons {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            pointer-events: none;
            overflow: hidden;
        }

        .faded-icon {
            position: absolute;
            opacity: 0.16;
            font-size: 3rem;
            color: #fff;
            /*font-family: 'Material Symbols Outlined';*/
            font-weight: normal;
            font-style: normal;
            line-height: 1;
        }
        .bicon {
            font-size: 40px;
            color: rgb(220, 38, 38);
        }
        .bgc-sect {
            background-color: rgb(220 38 38 / 4%);
        }