/* Styles for Downloads List Widget - 584d1f84 */

.dw-584d1f84-wrapper {
    position: relative;
    width: 100%;
}

.dw-584d1f84-filters {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: nowrap;
}

.dw-584d1f84-search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.dw-584d1f84-search-icon {
    position: absolute;
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    pointer-events: none;
    z-index: 10;
}

.dw-584d1f84-search-icon svg {
    width: 16px;
    height: 16px;
}

.dw-584d1f84-search-input {
    width: 100%;
    padding-left: 36px !important;
}

.dw-584d1f84-filter-wrapper {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.dw-584d1f84-filter-wrapper select {
    width: 100%;
}

.dw-584d1f84-filters input,
.dw-584d1f84-filters select {
    font-size: 14px;
    box-sizing: border-box;
    width: 100%;
}

.dw-584d1f84-items.dw-layout-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dw-584d1f84-items.dw-layout-list {
    display: flex;
    flex-direction: column;
}

.dw-584d1f84-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 16px;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease-in-out;
}

.dw-584d1f84-thumb {
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 4px;
}

.dw-584d1f84-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.dw-584d1f84-file-icon {
    display: inline-block;
    margin-bottom: 8px;
    color: #4a5568;
}

.dw-584d1f84-file-icon svg {
    width: 24px;
    height: 24px;
}

.dw-584d1f84-card-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.dw-584d1f84-card-desc {
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.dw-584d1f84-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    margin-bottom: 16px;
}

.dw-584d1f84-meta .meta-item {
    background: #f7fafc;
    padding: 2px 6px;
    border-radius: 3px;
}

.dw-584d1f84-btn {
    display: inline-block;
    text-align: center;
    background: #0073aa;
    color: #fff;
    padding: 10px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dw-584d1f84-btn:hover {
    background: #005177;
    color: #fff;
}

.dw-584d1f84-empty {
    text-align: center;
    padding: 32px;
    color: #718096;
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    width: 100%;
}

@media (max-width: 1024px) {
    .dw-584d1f84-filters {
        flex-direction: column;
        align-items: stretch;
    }
    .dw-584d1f84-search-box {
        max-width: 100% !important;
    }
}
