/* ==========================================================
   DISCRETAX - Textos, botones y tarjetas admin
   ========================================================== */

/* Botón de eliminar raro */
.btn.dx-premium-button.dx-premium-button--plus.confirm-simple-action,
button.dx-premium-button.dx-premium-button--plus.confirm-simple-action,
a.dx-premium-button.dx-premium-button--plus.confirm-simple-action {
    background: #74306c !important;
    color: #fff !important;
    border: 1px solid #74306c !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 18px rgba(116, 48, 108, .18) !important;
    font-weight: 700 !important;
}

.btn.dx-premium-button.dx-premium-button--plus.confirm-simple-action:hover,
button.dx-premium-button.dx-premium-button--plus.confirm-simple-action:hover,
a.dx-premium-button.dx-premium-button--plus.confirm-simple-action:hover {
    background: #5f2759 !important;
    border-color: #5f2759 !important;
    color: #fff !important;
}

/* Botón seleccionar todo */
.btn.from-check-all {
    background: #74306c !important;
    color: #fff !important;
    border-color: #74306c !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
}

.btn.from-check-all:hover {
    background: #5f2759 !important;
    border-color: #5f2759 !important;
    color: #fff !important;
}

/* Dropdown more */
.btn.btn-outline-primary.dropdown-toggle {
    border-color: rgba(116, 48, 108, .35) !important;
    color: #74306c !important;
    background: #fff !important;
}

.btn.btn-outline-primary.dropdown-toggle:hover {
    background: rgba(116, 48, 108, .08) !important;
    border-color: #74306c !important;
    color: #74306c !important;
}

/* Tarjetas del dashboard admin que estaban quedando blancas */
body .card:has(.fa-circle-check),
body .card:has(.fa-regular.fa-circle-check),
body .card:has(.fa-list),
body .card:has(.fa-users),
body .card:has(.fa-globe),
body .card:has(.fa-flag),
body .card:has(.fa-chart-line),
body .card:has(.fa-chart-simple) {
    background: linear-gradient(135deg, #74306c 0%, #9b4b92 55%, #c75fb8 100%) !important;
    border: 0 !important;
    color: #fff !important;
    box-shadow: 0 14px 34px rgba(116, 48, 108, .22) !important;
}

body .card:has(.fa-circle-check) .card-body,
body .card:has(.fa-regular.fa-circle-check) .card-body,
body .card:has(.fa-list) .card-body,
body .card:has(.fa-users) .card-body,
body .card:has(.fa-globe) .card-body,
body .card:has(.fa-flag) .card-body,
body .card:has(.fa-chart-line) .card-body,
body .card:has(.fa-chart-simple) .card-body {
    color: #fff !important;
}

body .card:has(.fa-circle-check) a,
body .card:has(.fa-regular.fa-circle-check) a,
body .card:has(.fa-list) a,
body .card:has(.fa-users) a,
body .card:has(.fa-globe) a,
body .card:has(.fa-flag) a,
body .card:has(.fa-chart-line) a,
body .card:has(.fa-chart-simple) a,
body .card:has(.fa-circle-check) .text-white,
body .card:has(.fa-regular.fa-circle-check) .text-white {
    color: #fff !important;
    text-decoration: none !important;
}

/* Fallback si el navegador no aplica :has correctamente */
.dx-admin-stat-card {
    background: linear-gradient(135deg, #74306c 0%, #9b4b92 55%, #c75fb8 100%) !important;
    border: 0 !important;
    color: #fff !important;
    box-shadow: 0 14px 34px rgba(116, 48, 108, .22) !important;
}

.dx-admin-stat-card a,
.dx-admin-stat-card .text-white {
    color: #fff !important;
}
