/* ==========================================================================
   TD - Download Box Block (Document Download Cards)
   Matches exact UI design with orange pill bar, card list, icons, and "Tải ngay" button
   ========================================================================== */
.td-dl-box-wrapper {
    margin: 28px 0;
    width: 100%;
    box-sizing: border-box;
}

.td-dl-box-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.td-dl-accent-bar {
    display: inline-block;
    width: 4px;
    height: 22px;
    background-color: #F58220;
    border-radius: 4px;
    flex-shrink: 0;
}

.td-dl-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1F6F4A !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em;
}

.td-dl-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.td-dl-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    padding: 12px 20px;
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.td-dl-item:hover {
    border-color: #1F6F4A;
    background-color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(31, 111, 74, 0.08);
    transform: translateY(-1.5px);
}

.td-dl-item-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.td-dl-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.td-dl-item-icon svg {
    display: block;
    width: 42px;
    height: 42px;
}

.td-dl-item-title {
    font-size: 15px;
    font-weight: 500;
    color: #1A1A1A;
    line-height: 1.45;
    word-break: break-word;
    transition: color 0.15s ease;
}

.td-dl-item:hover .td-dl-item-title {
    color: #1F6F4A;
}

.td-dl-item-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.td-dl-divider {
    display: inline-block;
    width: 1px;
    height: 26px;
    background-color: #EAEAEA;
    flex-shrink: 0;
}

.td-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1F6F4A;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.td-dl-btn-icon {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.td-dl-item:hover .td-dl-btn-icon {
    transform: translateY(2px);
}

.td-dl-item:hover .td-dl-btn {
    color: #175337;
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 768px) {
    .td-dl-title {
        font-size: 18px !important;
    }

    .td-dl-item {
        padding: 10px 14px;
        gap: 12px;
    }

    .td-dl-item-left {
        gap: 12px;
    }

    .td-dl-item-icon {
        width: 38px;
        height: 38px;
    }

    .td-dl-item-icon svg {
        width: 38px;
        height: 38px;
    }

    .td-dl-item-title {
        font-size: 14px;
    }

    .td-dl-item-right {
        gap: 12px;
    }

    .td-dl-divider {
        height: 22px;
    }

    .td-dl-btn {
        font-size: 13px;
        gap: 6px;
    }

    .td-dl-btn-icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .td-dl-item {
        padding: 10px 12px;
    }

    .td-dl-btn-text {
        font-size: 13px;
    }
}
