/* Main Container */
.uw-datasets-container {
    max-width: 1000px;
    margin: 50px auto;
    font-family: 'Inter', sans-serif; /* Assuming a modern font */
    color: #333;
}

/* Page Header */
.uw-datasets-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.uw-datasets-header h2 {
    font-size: 32px;
    color: #1a7eb4; /* Brand Blue guess */
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.uw-datasets-header h2 i {
    color: #ff4d4f !important;
}

/* Filter Form */
.uw-year-filter-form select {
    padding: 10px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    min-width: 200px;
    font-size: 16px;
    background-color: #fff;
    cursor: pointer;
}

/* Dataset Item Wrapper */
.uw-dataset-item {
    margin-bottom: 60px;
}

/* Main Title: National Assessment */
.uw-dataset-title {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    color: #000;
    margin-bottom: 30px;
    position: relative;
    padding-left: 15px;
}

.uw-red-bar {
    display: none; /* Using CSS border instead */
}

.uw-dataset-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 6px;
    background-color: #ff4d4f; /* Red Bar */
}

.uw-title-line {
    flex-grow: 1;
    height: 2px;
    background-color: #ff4d4f;
    margin-left: 20px;
    opacity: 0.6;
}

/* Section Group: CODEBOOK, DATA, etc */
.uw-dataset-section {
    margin-bottom: 30px;
}

.uw-section-title {
    font-size: 14px;
    text-transform: uppercase;
    color: #16658b;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

/* Files List */
.uw-files-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.uw-files-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.uw-files-list li:last-child {
    border-bottom: none;
}

.uw-file-name {
    font-size: 16px;
    font-weight: 500;
    color: #444;
}

/* Download Button */
.uw-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #d1f7c4; /* Pale Green */
    border-radius: 50%;
    color: #28a745; /* Dark Green */
    text-decoration: none;
    transition: background-color 0.2s;
}

.uw-download-btn:hover {
    background-color: #bdf0ad;
    color: #1e7e34;
}

.uw-download-btn i {
    font-size: 14px;
}

/* Responsive */
@media (max-width: 600px) {
    .uw-dataset-title {
        font-size: 20px;
    }
    .uw-title-line {
        display: none;
    }
}
