/* Download Page Styles */
.dl-page-wrapper {
    background: rgba(172, 172, 171, 0.1);
    border-radius: 1.25rem;
    padding: 2.5rem 0;
    margin: 3.75rem auto;
    position: relative;
}

/* Hero Section */
.dl-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5625rem;
}

.dl-eyebrow {
    font-family: "Dubai", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1rem;
    text-align: center;
    letter-spacing: 0.4375rem;
    text-transform: uppercase;
    background: var(--enaya-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.625rem;
    position: relative;
}

.dl-eyebrow::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100% + 0.5625rem);
    width: 6.375rem;
    height: 0.125rem;
    background: var(--enaya-gradient);
}

.dl-title {
    font-family: "Lexend", sans-serif;
    font-weight: 400;
    font-size: 4.375rem;
    line-height: 4.625rem;
    text-align: center;
    letter-spacing: -0.0625rem;
    color: #000000;
    max-width: 79.375rem;
    margin: 0;
}

/* Search Bar */
.dl-search-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.25rem;
    width: 41.875rem;
    height: 5rem;
    background: #ffffff;
    border-radius: 1.25rem;
    margin: 2.1875rem auto;
    margin-bottom: 3.75rem;
    box-shadow: 0px 0.25rem 1.25rem rgba(0, 0, 0, 0.05);
}

.dl-search-input {
    border: none;
    outline: none;
    width: 100%;
    font-family: "Lexend", sans-serif;
    font-size: 1.125rem;
    color: #000000;
    background: transparent;
}

.dl-search-input::placeholder {
    color: #000000;
}

.dl-search-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Content Container */
.dl-content-card {
    background: #ffffff;
    border-radius: 1.25rem;
    margin: 0 6.8125rem;
    padding: 2.8125rem;
    display: flex;
    gap: 2.8125rem;
}

.dl-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.875rem;
}

.dl-col-header {
    font-family: "Lexend", sans-serif;
    font-weight: 400;
    font-size: 2.5rem;
    line-height: 3.125rem;
    letter-spacing: -0.0625rem;
    color: #000000;
    margin-top: 0;
    padding: 0;
    margin-bottom: 0;
}

.dl-list-container {
    height: 22.0625rem;
    overflow-y: auto;
    padding-right: 0.9375rem; /* For scrollbar space */
}

/* Scrollbar Styling */
.dl-list-container::-webkit-scrollbar {
    width: 0.4375rem;
}

.dl-list-container::-webkit-scrollbar-track {
    background: rgba(172, 172, 171, 0.2);
    border-radius: 2.125rem;
}

.dl-list-container::-webkit-scrollbar-thumb {
    background: #37818d;
    border-radius: 2.125rem;
}

.dl-no-results {
    font-family: "Dubai", sans-serif;
    font-size: 1.125rem;
    color: #000000;
    margin-top: 1.25rem;
    font-weight: 500;
}

.dl-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 0.0625rem solid rgba(172, 172, 171, 0.2);
}

.dl-item:last-child {
    border-bottom: none;
}

.dl-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 30rem;
}

.dl-item-title {
    font-family: "Dubai", sans-serif;
    font-weight: 500;
    font-size: 1.375rem;
    line-height: 1.875rem;
    color: #000000;
    margin: 0;
}

.dl-item-desc {
    font-family: "Dubai", sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.25rem;
    color: #000000;
    margin: 0;
}

.dl-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5625rem;
    width: 11.625rem;
    height: 3.375rem;
    background: linear-gradient(
        90deg,
        #00818d -13.84%,
        #0b828d 3.25%,
        #288790 33.49%,
        #588e94 72.94%,
        #97989a 117.64%
    );
    border-radius: 1rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.dl-btn:hover {
    opacity: 0.9;
}

.dl-btn-text {
    font-family: "Lexend", sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    color: #ffffff;
    text-transform: capitalize;
}

.dl-btn-icon {
    width: 1.1875rem;
    height: 1.1875rem;
    background: #fff; /* Placeholder for vector icon if not SVG */
    border-radius: 50%; /* Just to make it look like a dot/icon container if needed */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsiveness */

@media (max-width: 768px) {
    .dl-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .dl-btn {
        width: 100%;
    }
}
@media (max-width: 576px) {
    .dl-content-card {
        flex-direction: column;
        padding: 1rem;
        margin: 0 1.8125rem;
    }

    .dl-title {
        font-size: 3rem;
        line-height: 1.2;
    }

    .dl-search-container {
        width: 90%;
    }
}
