/* ==================== MODERN BUTTON SYSTEM - ESTILO LOGIN (COMPACTO) ==================== */

/* ==================== BUTTONS BASE ==================== */
.btn {
    border-radius: 10px; /* kit con form-controls-rounded / buscador POS */
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #FFF;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.3px;
}

/* ==================== EFECTO SHIMMER UNIVERSAL ==================== */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* ==================== BUTTON PRIMARY (PÚRPURA) ==================== */
.btn-primary { 
    background: linear-gradient(135deg, #6D28D9 0%, #8B5CF6 100%);
    box-shadow: 
        0 3px 8px rgba(109, 40, 217, 0.25),
        0 6px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover { 
    background: linear-gradient(135deg, #4B1C71 0%, #6D28D9 100%);
    box-shadow: 
        0 4px 12px rgba(109, 40, 217, 0.35),
        0 8px 20px rgba(0, 0, 0, 0.15);
    color: #FFF;
}

.btn-primary:active,
.btn-primary:focus {
    background: linear-gradient(135deg, #4B1C71 0%, #6D28D9 100%);
    color: #FFF;
}

/* ==================== BUTTON SUCCESS (VERDE) ==================== */
.btn-success { 
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    box-shadow: 
        0 3px 8px rgba(16, 185, 129, 0.25),
        0 6px 15px rgba(0, 0, 0, 0.1);
}

.btn-success:hover { 
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    box-shadow: 
        0 4px 12px rgba(16, 185, 129, 0.35),
        0 8px 20px rgba(0, 0, 0, 0.15);
    color: #FFF;
}

.btn-success:active,
.btn-success:focus {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: #FFF;
}

/* ==================== BUTTON DANGER (ROJO) ==================== */
.btn-danger { 
    background: linear-gradient(135deg, #EF4444 0%, #F87171 100%);
    box-shadow: 
        0 3px 8px rgba(239, 68, 68, 0.25),
        0 6px 15px rgba(0, 0, 0, 0.1);
}

.btn-danger:hover { 
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
    box-shadow: 
        0 4px 12px rgba(239, 68, 68, 0.35),
        0 8px 20px rgba(0, 0, 0, 0.15);
    color: #FFF;
}

.btn-danger:active,
.btn-danger:focus {
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
    color: #FFF;
}

/* ==================== BUTTON WARNING (AMARILLO/NARANJA) ==================== */
.btn-warning { 
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    box-shadow: 
        0 3px 8px rgba(245, 158, 11, 0.25),
        0 6px 15px rgba(0, 0, 0, 0.1);
}

.btn-warning:hover { 
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    box-shadow: 
        0 4px 12px rgba(245, 158, 11, 0.35),
        0 8px 20px rgba(0, 0, 0, 0.15);
    color: #FFF;
}

.btn-warning:active,
.btn-warning:focus {
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    color: #FFF;
}

/* ==================== BUTTON INFO (AZUL) ==================== */
.btn-info { 
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
    box-shadow: 
        0 3px 8px rgba(59, 130, 246, 0.25),
        0 6px 15px rgba(0, 0, 0, 0.1);
}

.btn-info:hover { 
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    box-shadow: 
        0 4px 12px rgba(59, 130, 246, 0.35),
        0 8px 20px rgba(0, 0, 0, 0.15);
    color: #FFF;
}

.btn-info:active,
.btn-info:focus {
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    color: #FFF;
}

/* ==================== BUTTON DEFAULT (GRIS) ==================== */
.btn-default { 
    background: linear-gradient(135deg, #6B7280 0%, #9CA3AF 100%);
    box-shadow: 
        0 3px 8px rgba(107, 114, 128, 0.25),
        0 6px 15px rgba(0, 0, 0, 0.1);
}

.btn-default:hover { 
    background: linear-gradient(135deg, #4B5563 0%, #6B7280 100%);
    box-shadow: 
        0 4px 12px rgba(107, 114, 128, 0.35),
        0 8px 20px rgba(0, 0, 0, 0.15);
    color: #FFF;
}

.btn-default:active,
.btn-default:focus {
    background: linear-gradient(135deg, #4B5563 0%, #6B7280 100%);
    color: #FFF;
}

/* ==================== BUTTON LIGHT (BLANCO) ==================== */
.btn-light { 
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
    color: #374151;
    box-shadow: 
        0 3px 8px rgba(0, 0, 0, 0.1),
        0 6px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5E7EB;
}

.btn-light:hover { 
    background: linear-gradient(135deg, #F3F4F6 0%, #F9FAFB 100%);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.12),
        0 8px 20px rgba(0, 0, 0, 0.08);
    color: #374151;
}

.btn-light::before {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
}

/* ==================== BUTTON DARK (NEGRO) ==================== */
.btn-dark { 
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
    box-shadow: 
        0 3px 8px rgba(0, 0, 0, 0.3),
        0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn-dark:hover { 
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.25);
    color: #FFF;
}

/* ==================== BUTTON SIZES ==================== */
.btn-xs {
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 5px;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 6px;
}

.btn-md,
.btn {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 8px;
}

.btn-lg {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 9px;
}

.btn-big,
.btn-xl {
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 10px;
    line-height: 1.3333333;
}

/* ==================== BUTTON SPECIAL - LOGIN STYLE ==================== */
.btn-login {
    width: 100%;
    height: 50px;
    padding: 6px 52px !important;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================== BUTTON BLOCK ==================== */
.btn-block {
    display: flex;
    width: 100%;
}

/* ==================== BUTTON FLAT (SIN SOMBRA) ==================== */
.btn-flat {
    box-shadow: none !important;
}

.btn-flat:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

/* ==================== BUTTON ICONS ==================== */
.btn > i,
.btn > .fas, 
.btn > .fab,
.btn > .far,
.btn > .fal {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn:hover > i,
.btn:hover > .fas, 
.btn:hover > .fab,
.btn:hover > .far,
.btn:hover > .fal {
    transform: scale(1.1);
}

.btn-app > .fas, 
.btn-app > .fab {
    font-size: 18px;
    display: block;
}

/* ==================== BUTTON DISABLED STATE ==================== */
.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn:disabled::before,
.btn.disabled::before {
    display: none;
}

/* ==================== BUTTON LOADING STATE ==================== */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    top: 50%;
    left: 50%;
    margin-left: -7px;
    margin-top: -7px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

/* ==================== BUTTON GROUPS ==================== */
.btn-group .btn {
    border-radius: 0;
    margin: 0;
}

.btn-group .btn:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.btn-group .btn:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* ==================== BUTTON OUTLINE VARIANTS ==================== */
.btn-outline-primary {
    background: transparent;
    border: 2px solid #6D28D9;
    color: #6D28D9;
    box-shadow: none;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #6D28D9 0%, #8B5CF6 100%);
    color: #FFF;
    border-color: #6D28D9;
}

.btn-outline-success {
    background: transparent;
    border: 2px solid #10B981;
    color: #10B981;
    box-shadow: none;
}

.btn-outline-success:hover {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    color: #FFF;
    border-color: #10B981;
}

.btn-outline-danger {
    background: transparent;
    border: 2px solid #EF4444;
    color: #EF4444;
    box-shadow: none;
}

.btn-outline-danger:hover {
    background: linear-gradient(135deg, #EF4444 0%, #F87171 100%);
    color: #FFF;
    border-color: #EF4444;
}

.btn-outline-warning {
    background: transparent;
    border: 2px solid #F59E0B;
    color: #F59E0B;
    box-shadow: none;
}

.btn-outline-warning:hover {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    color: #FFF;
    border-color: #F59E0B;
}

/* ==================== NAV TABS MEJORADOS ==================== */
.nav-tabs > li > a {
    font-size: 15px;
    font-weight: 600;
    color: #6B7280;
    border-radius: 8px 8px 0 0;
    padding: 10px 16px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
}


/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .btn {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .btn-lg {
        padding: 7px 14px;
        font-size: 13px;
    }
    
    .btn-big,
    .btn-xl {
        padding: 9px 18px;
        font-size: 14px;
    }
}

/* Solo color del icono en botones "agregar" (plus) – sin tocar layout ni input-group */
.input-group .input-group-btn .btn-modal i.fa-plus-circle,
.input-group .input-group-btn .add_new_customer i.fa-plus-circle,
.input-group .input-group-btn .pos_add_quick_product i.fa-plus-circle {
    color: #6d28d9 !important;
}

/* ==================== GLOBAL BUTTON OVERRIDES ==================== */
.btn:not(.btn-link):not(.swal2-styled) {
    border-radius: 12px !important;
    min-height: 40px;
    padding: 9px 16px;
    font-weight: 700;
    letter-spacing: 0.015em;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    border: 1px solid transparent;
}

.btn:not(.btn-link):not(.swal2-styled)::before {
    display: none;
}

.btn-primary,
.btn-primary i,
.btn-primary span,
.btn-success,
.btn-success i,
.btn-success span,
.btn-danger,
.btn-danger i,
.btn-danger span,
.btn-info,
.btn-info i,
.btn-info span {
    color: #ffffff !important;
}

.btn:not(.btn-link):not(.swal2-styled):hover {
    transform: translateY(-1px);
    filter: saturate(1.03);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
}

.btn:not(.btn-link):not(.swal2-styled):focus,
.btn:not(.btn-link):not(.swal2-styled):active {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(24, 90, 219, 0.18),
        0 10px 24px rgba(15, 23, 42, 0.12);
}

.btn-primary {
    background: linear-gradient(135deg, #185adb 0%, #2f80ed 100%) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #ffffff !important;
}

.btn-success {
    background: linear-gradient(135deg, #0f9f6e 0%, #16c784 100%) !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    color: #ffffff !important;
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    color: #ffffff !important;
}

.btn-warning {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;
}

.btn-warning,
.btn-warning i,
.btn-warning span,
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    color: #1f1300 !important;
}

.btn-info {
    background: linear-gradient(135deg, #0f5ad7 0%, #38bdf8 100%) !important;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active {
    color: #ffffff !important;
}

.btn-default,
.btn-secondary {
    background: var(--ui-neutral-button-bg, linear-gradient(180deg, #eef4fb 0%, #dfe8f3 100%)) !important;
    color: #102132 !important;
    border: 1px solid var(--ui-neutral-button-border, #bfd0e2) !important;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background: var(--ui-neutral-button-bg, linear-gradient(180deg, #e6eef8 0%, #d6e1ee 100%)) !important;
    color: #0f1d2f !important;
    border-color: var(--ui-neutral-button-border, #afc2d7) !important;
}

.btn-light {
    background: linear-gradient(180deg, #f8fbff 0%, #edf3f9 100%) !important;
    color: #122033 !important;
    border: 1px solid #d0dceb !important;
}

.btn-light i,
.btn-light span,
.btn-default i,
.btn-default span,
.btn-secondary i,
.btn-secondary span,
.btn-light:hover,
.btn-light:focus,
.btn-light:active {
    color: #122033 !important;
}

.btn-default .fa,
.btn-default .fas,
.btn-default .glyphicon,
.btn-secondary .fa,
.btn-secondary .fas,
.btn-secondary .glyphicon,
.btn-light .fa,
.btn-light .fas,
.btn-light .glyphicon,
.btn-outline-secondary,
.btn-outline-secondary i,
.btn-outline-secondary span,
.btn-outline-secondary .fa,
.btn-outline-secondary .fas,
.btn-outline-secondary .glyphicon {
    color: #122033 !important;
}

.btn-link {
    font-weight: 700;
    color: #185adb;
}

.btn-group .btn {
    min-height: 40px;
}

.page-header .btn,
.content-header .btn,
.box-header .btn,
.modal-footer .btn {
    min-height: 42px;
}

/* ==================== NEUTRAL BUTTON READABILITY FIX ==================== */
.btn-default,
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-light,
.btn-light:hover,
.btn-light:focus,
.btn-light:active,
.btn-outline-secondary,
.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active,
.btn-flat.btn-default,
.btn-flat.btn-default:hover,
.btn-flat.btn-default:focus,
.btn-flat.btn-default:active,
.dataTables_wrapper .dt-buttons .btn,
.dataTables_wrapper .dt-buttons .btn:hover,
.dataTables_wrapper .dt-buttons .btn:focus,
.dataTables_wrapper .dt-buttons .btn:active,
.dataTables_wrapper .dt-buttons .dt-button,
.dataTables_wrapper .dt-buttons .dt-button:hover,
.dataTables_wrapper .dt-buttons .dt-button:focus,
.dataTables_wrapper .dt-buttons .dt-button:active,
.dataTables_wrapper .dt-buttons .buttons-copy,
.dataTables_wrapper .dt-buttons .buttons-csv,
.dataTables_wrapper .dt-buttons .buttons-excel,
.dataTables_wrapper .dt-buttons .buttons-pdf,
.dataTables_wrapper .dt-buttons .buttons-print,
.dataTables_wrapper .dt-buttons .buttons-colvis {
    background: var(--ui-neutral-button-bg, linear-gradient(180deg, #eef4fb 0%, #dfe8f3 100%)) !important;
    border: 1px solid var(--ui-neutral-button-border, #bfd0e2) !important;
    color: #102132 !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08) !important;
}

.btn-default *,
.btn-secondary *,
.btn-light *,
.btn-outline-secondary *,
.btn-flat.btn-default *,
.dataTables_wrapper .dt-buttons .btn *,
.dataTables_wrapper .dt-buttons .dt-button *,
.dataTables_wrapper .dt-buttons .buttons-copy *,
.dataTables_wrapper .dt-buttons .buttons-csv *,
.dataTables_wrapper .dt-buttons .buttons-excel *,
.dataTables_wrapper .dt-buttons .buttons-pdf *,
.dataTables_wrapper .dt-buttons .buttons-print *,
.dataTables_wrapper .dt-buttons .buttons-colvis * {
    color: inherit !important;
}

.btn-default .fa,
.btn-default .fas,
.btn-default .glyphicon,
.btn-secondary .fa,
.btn-secondary .fas,
.btn-secondary .glyphicon,
.btn-light .fa,
.btn-light .fas,
.btn-light .glyphicon,
.btn-outline-secondary .fa,
.btn-outline-secondary .fas,
.btn-outline-secondary .glyphicon,
.dataTables_wrapper .dt-buttons .btn .fa,
.dataTables_wrapper .dt-buttons .btn .fas,
.dataTables_wrapper .dt-buttons .btn .glyphicon,
.dataTables_wrapper .dt-buttons .dt-button .fa,
.dataTables_wrapper .dt-buttons .dt-button .fas,
.dataTables_wrapper .dt-buttons .dt-button .glyphicon {
    color: #1f2d3d !important;
}

.btn-default[disabled],
.btn-default.disabled,
.btn-secondary[disabled],
.btn-secondary.disabled,
.btn-light[disabled],
.btn-light.disabled,
.dataTables_wrapper .dt-buttons .btn.disabled,
.dataTables_wrapper .dt-buttons .dt-button.disabled {
    opacity: 0.65;
    color: #6b7a8c !important;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%) !important;
    border-color: #d7e0ea !important;
}

/* ==================== DATATABLES BUTTONS MODERN ==================== */
.dataTables_wrapper .dt-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.dataTables_wrapper .dt-buttons .btn,
.dataTables_wrapper .dt-buttons .dt-button,
.dataTables_wrapper .dt-buttons .buttons-copy,
.dataTables_wrapper .dt-buttons .buttons-csv,
.dataTables_wrapper .dt-buttons .buttons-excel,
.dataTables_wrapper .dt-buttons .buttons-pdf,
.dataTables_wrapper .dt-buttons .buttons-print,
.dataTables_wrapper .dt-buttons .buttons-colvis {
    min-height: 44px;
    padding: 10px 16px !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, #f7fbff 0%, #e7f0fb 100%) !important;
    border: 1px solid #bfd2e8 !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
    color: #1f3247 !important;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.dataTables_wrapper .dt-buttons .btn:hover,
.dataTables_wrapper .dt-buttons .btn:focus,
.dataTables_wrapper .dt-buttons .dt-button:hover,
.dataTables_wrapper .dt-buttons .dt-button:focus,
.dataTables_wrapper .dt-buttons .buttons-copy:hover,
.dataTables_wrapper .dt-buttons .buttons-copy:focus,
.dataTables_wrapper .dt-buttons .buttons-csv:hover,
.dataTables_wrapper .dt-buttons .buttons-csv:focus,
.dataTables_wrapper .dt-buttons .buttons-excel:hover,
.dataTables_wrapper .dt-buttons .buttons-excel:focus,
.dataTables_wrapper .dt-buttons .buttons-pdf:hover,
.dataTables_wrapper .dt-buttons .buttons-pdf:focus,
.dataTables_wrapper .dt-buttons .buttons-print:hover,
.dataTables_wrapper .dt-buttons .buttons-print:focus,
.dataTables_wrapper .dt-buttons .buttons-colvis:hover,
.dataTables_wrapper .dt-buttons .buttons-colvis:focus {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #ffffff 0%, #eef5fe 100%) !important;
    border-color: #9fbddb !important;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12) !important;
    color: #16283a !important;
}

.dataTables_wrapper .dt-buttons .btn .fa,
.dataTables_wrapper .dt-buttons .btn .fas,
.dataTables_wrapper .dt-buttons .btn .far,
.dataTables_wrapper .dt-buttons .btn .glyphicon,
.dataTables_wrapper .dt-buttons .dt-button .fa,
.dataTables_wrapper .dt-buttons .dt-button .fas,
.dataTables_wrapper .dt-buttons .dt-button .far,
.dataTables_wrapper .dt-buttons .dt-button .glyphicon {
    font-size: 15px;
    margin-right: 2px;
}

.dataTables_wrapper .dt-buttons .buttons-copy i,
.dataTables_wrapper .dt-buttons .buttons-copy svg,
.dataTables_wrapper .dt-buttons .buttons-copy .fa,
.dataTables_wrapper .dt-buttons .buttons-copy .fas,
.dataTables_wrapper .dt-buttons .buttons-copy .far,
.dataTables_wrapper .dt-buttons .buttons-copy .fal,
.dataTables_wrapper .dt-buttons .buttons-copy .fab,
.dataTables_wrapper .dt-buttons .buttons-copy .fa-solid,
.dataTables_wrapper .dt-buttons .buttons-copy .fa-regular,
.dataTables_wrapper .dt-buttons .buttons-copy .glyphicon,
.dataTables_wrapper .dt-buttons .buttons-copy .fa-file,
.dataTables_wrapper .dt-buttons .buttons-copy .fa-copy,
.dataTables_wrapper .dt-buttons .buttons-copy .fa-files-o {
    color: #7c3aed !important;
    fill: #7c3aed !important;
}

.dataTables_wrapper .dt-buttons .buttons-csv i,
.dataTables_wrapper .dt-buttons .buttons-csv svg,
.dataTables_wrapper .dt-buttons .buttons-csv .fa,
.dataTables_wrapper .dt-buttons .buttons-csv .fas,
.dataTables_wrapper .dt-buttons .buttons-csv .far,
.dataTables_wrapper .dt-buttons .buttons-csv .fal,
.dataTables_wrapper .dt-buttons .buttons-csv .fab,
.dataTables_wrapper .dt-buttons .buttons-csv .fa-solid,
.dataTables_wrapper .dt-buttons .buttons-csv .fa-regular,
.dataTables_wrapper .dt-buttons .buttons-csv .glyphicon,
.dataTables_wrapper .dt-buttons .buttons-csv .fa-file-csv {
    color: #0f766e !important;
    fill: #0f766e !important;
}

.dataTables_wrapper .dt-buttons .buttons-excel i,
.dataTables_wrapper .dt-buttons .buttons-excel svg,
.dataTables_wrapper .dt-buttons .buttons-excel .fa,
.dataTables_wrapper .dt-buttons .buttons-excel .fas,
.dataTables_wrapper .dt-buttons .buttons-excel .far,
.dataTables_wrapper .dt-buttons .buttons-excel .fal,
.dataTables_wrapper .dt-buttons .buttons-excel .fab,
.dataTables_wrapper .dt-buttons .buttons-excel .fa-solid,
.dataTables_wrapper .dt-buttons .buttons-excel .fa-regular,
.dataTables_wrapper .dt-buttons .buttons-excel .glyphicon,
.dataTables_wrapper .dt-buttons .buttons-excel .fa-file-excel {
    color: #15803d !important;
    fill: #15803d !important;
}

.dataTables_wrapper .dt-buttons .buttons-pdf i,
.dataTables_wrapper .dt-buttons .buttons-pdf svg,
.dataTables_wrapper .dt-buttons .buttons-pdf .fa,
.dataTables_wrapper .dt-buttons .buttons-pdf .fas,
.dataTables_wrapper .dt-buttons .buttons-pdf .far,
.dataTables_wrapper .dt-buttons .buttons-pdf .fal,
.dataTables_wrapper .dt-buttons .buttons-pdf .fab,
.dataTables_wrapper .dt-buttons .buttons-pdf .fa-solid,
.dataTables_wrapper .dt-buttons .buttons-pdf .fa-regular,
.dataTables_wrapper .dt-buttons .buttons-pdf .glyphicon,
.dataTables_wrapper .dt-buttons .buttons-pdf .fa-file-pdf {
    color: #dc2626 !important;
    fill: #dc2626 !important;
}

.dataTables_wrapper .dt-buttons .buttons-print i,
.dataTables_wrapper .dt-buttons .buttons-print svg,
.dataTables_wrapper .dt-buttons .buttons-print .fa,
.dataTables_wrapper .dt-buttons .buttons-print .fas,
.dataTables_wrapper .dt-buttons .buttons-print .far,
.dataTables_wrapper .dt-buttons .buttons-print .fal,
.dataTables_wrapper .dt-buttons .buttons-print .fab,
.dataTables_wrapper .dt-buttons .buttons-print .fa-solid,
.dataTables_wrapper .dt-buttons .buttons-print .fa-regular,
.dataTables_wrapper .dt-buttons .buttons-print .glyphicon,
.dataTables_wrapper .dt-buttons .buttons-print .fa-print {
    color: #1d4ed8 !important;
    fill: #1d4ed8 !important;
}

.dataTables_wrapper .dt-buttons .buttons-colvis i,
.dataTables_wrapper .dt-buttons .buttons-colvis svg,
.dataTables_wrapper .dt-buttons .buttons-colvis .fa,
.dataTables_wrapper .dt-buttons .buttons-colvis .fas,
.dataTables_wrapper .dt-buttons .buttons-colvis .far,
.dataTables_wrapper .dt-buttons .buttons-colvis .fal,
.dataTables_wrapper .dt-buttons .buttons-colvis .fab,
.dataTables_wrapper .dt-buttons .buttons-colvis .fa-solid,
.dataTables_wrapper .dt-buttons .buttons-colvis .fa-regular,
.dataTables_wrapper .dt-buttons .buttons-colvis .glyphicon,
.dataTables_wrapper .dt-buttons .buttons-colvis .fa-columns,
.dataTables_wrapper .dt-buttons .buttons-colvis .fa-table-columns {
    color: #b45309 !important;
    fill: #b45309 !important;
}

@media (max-width: 767px) {
    .dataTables_wrapper .dt-buttons {
        gap: 8px;
    }

    .dataTables_wrapper .dt-buttons .btn,
    .dataTables_wrapper .dt-buttons .dt-button,
    .dataTables_wrapper .dt-buttons .buttons-copy,
    .dataTables_wrapper .dt-buttons .buttons-csv,
    .dataTables_wrapper .dt-buttons .buttons-excel,
    .dataTables_wrapper .dt-buttons .buttons-pdf,
    .dataTables_wrapper .dt-buttons .buttons-print,
    .dataTables_wrapper .dt-buttons .buttons-colvis {
        width: 100%;
        justify-content: flex-start;
        padding: 10px 14px !important;
        border-radius: 14px !important;
    }
}

/* ==================== GLOBAL ACTION SEMANTICS ==================== */
.ui-btn-standard {
    min-width: 112px;
}

.modal-footer .ui-btn-standard,
.box-tools .ui-btn-standard,
.content-header .ui-btn-standard,
.page-header .ui-btn-standard {
    min-height: 42px;
}

.btn-semantic-primary,
.btn-semantic-primary:hover,
.btn-semantic-primary:focus,
.btn-semantic-primary:active {
    background: linear-gradient(135deg, #185adb 0%, #2f80ed 100%) !important;
    border-color: rgba(24, 90, 219, 0.44) !important;
    color: #ffffff !important;
}

.btn-semantic-info,
.btn-semantic-info:hover,
.btn-semantic-info:focus,
.btn-semantic-info:active {
    background: linear-gradient(135deg, #0f5ad7 0%, #38bdf8 100%) !important;
    border-color: rgba(15, 90, 215, 0.34) !important;
    color: #ffffff !important;
}

.btn-semantic-warning,
.btn-semantic-warning:hover,
.btn-semantic-warning:focus,
.btn-semantic-warning:active {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;
    border-color: rgba(180, 83, 9, 0.34) !important;
    color: #1f1300 !important;
}

.btn-semantic-neutral,
.btn-semantic-neutral:hover,
.btn-semantic-neutral:focus,
.btn-semantic-neutral:active {
    background: var(--ui-neutral-button-bg, linear-gradient(180deg, #eef4fb 0%, #dfe8f3 100%)) !important;
    border-color: var(--ui-neutral-button-border, #bfd0e2) !important;
    color: #102132 !important;
}

.btn-semantic-cancel,
.btn-semantic-cancel:hover,
.btn-semantic-cancel:focus,
.btn-semantic-cancel:active {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
    border-color: rgba(185, 28, 28, 0.42) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(220, 38, 38, 0.18) !important;
}

.btn-semantic-primary *,
.btn-semantic-info *,
.btn-semantic-cancel *,
.btn-semantic-warning *,
.btn-semantic-neutral * {
    color: inherit !important;
}
