/**
 * DataTables Buttons - Clean Professional Style
 */

/* Reset all DataTables button styles */
.dt-buttons,
.dt-buttons .btn,
.dt-buttons .dt-button,
.dt-button,
.buttons-csv,
.buttons-excel,
.buttons-print,
.buttons-pdf,
.buttons-copy,
.buttons-colvis,
.buttons-collection {
    all: unset !important;
    box-sizing: border-box !important;
}

/* Container */
.dt-buttons {
    display: inline-flex !important;
    flex-direction: row !important;
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}

/* Buttons */
.dt-buttons .btn,
.dt-buttons .dt-button,
.dt-button,
.buttons-csv,
.buttons-excel,
.buttons-print,
.buttons-pdf,
.buttons-copy,
.buttons-colvis,
.buttons-collection {
    display: inline-block !important;
    background: #f8f8f8 !important;
    color: #444 !important;
    border: none !important;
    border-right: 1px solid #ccc !important;
    padding: 10px 18px !important;
    font-family: 'Cairo', Tahoma, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    white-space: nowrap !important;
    line-height: 1.4 !important;
}

.dt-buttons .btn:last-child,
.dt-buttons .dt-button:last-child {
    border-right: none !important;
}

/* Hover */
.dt-buttons .btn:hover,
.dt-buttons .dt-button:hover {
    background: #e8e8e8 !important;
}

/* Icons inside buttons */
.dt-buttons .btn i,
.dt-buttons .dt-button i {
    margin-left: 6px !important;
    font-size: 13px !important;
}

/* Responsive */
@media (max-width: 768px) {
    .dt-buttons .btn,
    .dt-buttons .dt-button {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
}
