body {
    background: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)), url('../img/granaderos.jpg') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

/* Panel difuminado general */
.panel-blur {
    backdrop-filter: blur(20px);
    background-color: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Header que contiene título y buscador */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 10px;
}

/* Título con ícono */
.panel-header h2 {
    font-size: 1.8rem;
    color: rgb(16, 16, 16);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.panel-header h2 i {
    font-size: 1.6rem;
    color: rgb(9, 9, 9);
}

/* Campo de búsqueda */
.panel-header .input-group input {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 6px 15px;
    border-radius: 25px;
}

.panel-header .input-group-text {
    background: transparent;
    border: none;
    color: white;
}

/* Tabla de usuarios */
table.dataTable {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    margin-top: 20px;
}

/* Botones de exportación */
.dt-button {
    background-color: #2980b9 !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    margin-right: 6px !important;
    transition: background-color 0.3s ease;
}

.dt-button:hover {
    background-color: #21618c !important;
}

/* Ajustes de texto en DataTables */
.dataTables_info,
.dataTables_paginate {
    color: rgb(4, 4, 4) !important;
}

.dataTables_filter label {
    color: rgb(11, 11, 11);
}
/* Título centrado arriba del panel */
.titulo-central {
    text-align: center;
    margin-bottom: 25px;
}

.titulo-central h2 {
    font-size: 2rem;
    color: rgb(13, 13, 13);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin: 0;
}
/* tarjetas estados */
#estadoCards .card, #cuadrosInactividad .card {
  min-height: 140px;
}
.panel-blur {
  background: rgba(255,255,255,0.6);
  border-radius: 8px;
}
#resumen-card {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 200px;
  z-index: 1050;
  background: #fff;
  border-radius: 1rem;
}

/* =======================
   MODAL: Fondo y sombra
======================= */
.modal-content {
    background-color: #f7f8fa; /* gris muy suave */
    border-radius: 1rem; 
    box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,0.18);
    transition: all 0.3s ease-in-out;
}

/* Encabezado del modal */
.modal-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #0d6efd;
    color: #fff;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

/* Títulos internos (secciones) */
.modal-body h6 {
    background-color: #e2e6ea;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Inputs, selects y textareas con sombra y transición */
.modal-body .form-control,
.modal-body .form-select,
.modal-body textarea {
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.25s;
}

.modal-body .form-control:focus,
.modal-body .form-select:focus,
.modal-body textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 8px rgba(13,110,253,0.25);
    outline: none;
}

/* Footer del modal pegajoso y suave */
.modal-footer {
    border-top: 1px solid #dee2e6;
    background-color: #f1f3f5;
    padding: 0.75rem 1rem;
}

/* Botones más “amables” y con efecto hover */
.modal-footer .btn {
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.modal-footer .btn-success:hover {
    background-color: #198754;
    transform: translateY(-2px);
}

.modal-footer .btn-secondary:hover {
    background-color: #6c757d;
    transform: translateY(-2px);
}

/* Selects de estado con color suave */
.estado-unico {
    background-color: #fefefe;
}

/* Mensaje de error más visible y suave */
#estadoErrorMsg {
    background-color: #f8d7da;
    border-color: #f5c2c7;
    color: #842029;
    border-radius: 0.5rem;
}

/* Botones de acciones en tabla: sombra leve */
.btn-action-icon {
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: transform 0.15s;
}

.btn-action-icon:hover {
    transform: scale(1.05);
}

.badge.bg-red { background-color:#dc3545; }
.badge.bg-orange { background-color:#fd7e14; }
.badge.bg-green { background-color:#198754; }
.badge.bg-blue { background-color:#0d6efd; }
.badge.bg-gray { background-color:#6c757d; }

