/* Public Styles for Document Download Manager v3 */

.docdownman-v3-card {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    text-decoration: none !important;
    color: inherit !important;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    margin-bottom: -10px;
    max-width: 100%;
    cursor: pointer;
}

.docdownman-v3-card:hover {
    background-color: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.docdownman-v3-icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    background: #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: #ef4444; /* Rojo para PDF y genérico colorido */
}

/* Color verde para Excel */
.docdownman-v3-card .dashicons-media-spreadsheet {
    color: #10b981;
}

.docdownman-v3-icon .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
}

.docdownman-v3-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.docdownman-v3-title {
    margin: 0 0 4px 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    line-height: 1.3 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.docdownman-v3-desc {
    margin: 0 !important;
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.4 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .docdownman-v3-card {
        padding: 10px;
    }
    .docdownman-v3-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    .docdownman-v3-icon .dashicons {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
    .docdownman-v3-title {
        font-size: 15px !important;
    }
}
