/* =========================================================
   USUARIOS
   Sistema QR
========================================================= */


/* =========================================================
   CONTENIDO
========================================================= */

.usuarios-content {
    padding-bottom: 40px;
}


/* =========================================================
   HEADER
========================================================= */

.usuarios-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 24px;
}

.usuarios-header h2 {
    margin: 7px 0 5px;
    color: #0f172a;
    font-size: 25px;
    font-weight: 750;
}

.usuarios-header p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}


/* =========================================================
   BOTÓN NUEVO
========================================================= */

button.btn-nuevo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 40px;
    padding: 0 16px;

    border: 1px solid #021B44 !important;
    border-radius: 9px;

    background: #021B44 !important;
    background-color: #021B44 !important;
    color: #ffffff !important;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

button.btn-nuevo:hover {
    background: #0A285B !important;
    background-color: #0A285B !important;
    border-color: #0A285B !important;
    color: #ffffff !important;

    transform: translateY(-1px);

    box-shadow:
        0 5px 12px rgba(2, 27, 68, 0.18);
}


/* =========================================================
   ALERTA
========================================================= */

.alerta {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 13px;
}

.alerta.success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.alerta.error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}


/* =========================================================
   ESTADÍSTICAS
========================================================= */

.estadisticas {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(
                0,
                1fr
            )
        );

    gap: 15px;
    margin-bottom: 20px;
}

.estadistica-card {
    min-height: 82px;

    display: flex;
    align-items: center;
    gap: 13px;

    padding: 15px 17px;

    border: 1px solid #e2e8f0;
    border-radius: 12px;

    background: #ffffff;

    box-shadow:
        0 2px 7px rgba(
            15,
            23,
            42,
            0.035
        );
}

.estadistica-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 10px;
}

.estadistica-icon.total {
    background: #eff6ff;
    color: #2563eb;
}

.estadistica-icon.admin {
    background: #f5f3ff;
    color: #7c3aed;
}

.estadistica-icon.vigilancia {
    background: #fff7ed;
    color: #ea580c;
}

.estadistica-icon.encargado {
    background: #f0fdfa;
    color: #0f766e;
}

.estadistica-card div:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.estadistica-card span {
    color: #64748b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.estadistica-card strong {
    color: #0f172a;
    font-size: 21px;
    font-weight: 750;
}


/* =========================================================
   FILTROS
========================================================= */

.filtros-panel {
    padding: 18px;
    margin-bottom: 20px;

    border: 1px solid #e2e8f0;
    border-radius: 12px;

    background: #ffffff;

    box-shadow:
        0 2px 7px rgba(
            15,
            23,
            42,
            0.035
        );
}

.filtros-form {
    display: grid;

    grid-template-columns:
        minmax(
            260px,
            1.7fr
        )
        minmax(
            160px,
            0.8fr
        )
        auto;

    align-items: end;
    gap: 13px;
}

.filtros-form label {
    display: block;
    margin-bottom: 7px;

    color: #475569;
    font-size: 11px;
    font-weight: 750;
}

.input-icon {
    position: relative;
}

.input-icon svg {
    position: absolute;
    top: 50%;
    left: 12px;

    color: #94a3b8;

    transform:
        translateY(-50%);
}

.filtros-form input,
.filtros-form select {
    width: 100%;
    height: 39px;

    padding: 0 12px;

    border: 1px solid #dbe3ef;
    border-radius: 8px;

    outline: none;

    background: #ffffff;
    color: #0f172a;

    font-family: inherit;
    font-size: 12px;
}

.input-icon input {
    padding-left: 36px;
}

.filtros-form input:focus,
.filtros-form select:focus {
    border-color: #93c5fd;

    box-shadow:
        0 0 0 3px rgba(
            37,
            99,
            235,
            0.08
        );
}

.filtro-boton {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-filtrar {
    height: 39px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 0 15px;

    border: 1px solid #dbe3ef;
    border-radius: 8px;

    background: #f8fafc;
    color: #334155;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}

.btn-filtrar:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.btn-limpiar {
    height: 39px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 12px;

    border-radius: 8px;

    color: #64748b;

    font-size: 12px;
    text-decoration: none;
}

.btn-limpiar:hover {
    background: #eff6ff;
    color: #2563eb;
}


/* =========================================================
   TABLA
========================================================= */

.tabla-panel {
    overflow: hidden;

    border: 1px solid #e2e8f0;
    border-radius: 12px;

    background: #ffffff;

    box-shadow:
        0 2px 7px rgba(
            15,
            23,
            42,
            0.035
        );
}

.tabla-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;

    padding: 19px 20px;

    border-bottom: 1px solid #eef2f7;
}

.tabla-header h3 {
    margin: 6px 0 0;

    color: #0f172a;
    font-size: 16px;
    font-weight: 750;
}

.tabla-info {
    color: #64748b;
    font-size: 11px;
}

.tabla-info strong {
    color: #334155;
}

.tabla-contenedor {
    width: 100%;
    overflow-x: auto;
}

.tabla-contenedor table {
    width: 100%;
    min-width: 750px;
    border-collapse: collapse;
}

.tabla-contenedor th {
    height: 44px;

    padding: 0 16px;

    border-bottom: 1px solid #e2e8f0;

    background: #f8fafc;
    color: #64748b;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.55px;

    text-align: left;
    white-space: nowrap;
}

.tabla-contenedor td {
    height: 68px;

    padding: 10px 16px;

    border-bottom: 1px solid #f1f5f9;

    color: #475569;

    font-size: 12px;
    vertical-align: middle;
}

.tabla-contenedor tbody tr:hover {
    background: #fafcff;
}

.tabla-contenedor tbody tr:last-child td {
    border-bottom: none;
}


/* =========================================================
   USUARIO
========================================================= */

.usuario-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.usuario-avatar {
    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 10px;

    background: #eff6ff;
    color: #2563eb;

    font-size: 14px;
    font-weight: 800;
}

.usuario-info > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.usuario-info strong {
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
}

.usuario-info span {
    color: #94a3b8;
    font-size: 10px;
}


/* =========================================================
   ROLES
========================================================= */

.rol-badge {
    display: inline-flex;
    align-items: center;

    padding: 5px 9px;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 750;
}

.rol-badge.administrador {
    background: #f5f3ff;
    color: #6d28d9;
}

.rol-badge.vigilante {
    background: #fff7ed;
    color: #c2410c;
}

.rol-badge.encargado {
    background: #f0fdfa;
    color: #0f766e;
}


/* =========================================================
   FECHA
========================================================= */

.fecha-registro {
    display: flex;
    flex-direction: column;
    gap: 3px;

    color: #475569;
    font-size: 11px;
}

.fecha-registro span {
    color: #94a3b8;
    font-size: 10px;
}


/* =========================================================
   ACCIONES
========================================================= */

.acciones {
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-accion {
    margin: 0;
}

.accion {
    width: 31px;
    height: 31px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid #e2e8f0;
    border-radius: 7px;

    background: #ffffff;
    color: #64748b;

    text-decoration: none;

    cursor: pointer;
}

.accion.editar:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #2563eb;
}

.accion.eliminar:hover {
    border-color: #fecaca;
    background: #fef2f2;
    color: #dc2626;
}


/* =========================================================
   SIN REGISTROS
========================================================= */

.sin-registros {
    height: 250px !important;
    text-align: center;
}

.sin-registros > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sin-registros-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;

    border-radius: 12px;

    background: #f8fafc;
    color: #94a3b8;
}

.sin-registros strong {
    color: #334155;
    font-size: 14px;
}

.sin-registros p {
    margin: 5px 0 0;

    color: #94a3b8;
    font-size: 11px;
}


/* =========================================================
   PAGINACIÓN
========================================================= */

.paginacion {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    padding: 17px;

    border-top: 1px solid #eef2f7;
}

.pagina-btn,
.pagina-numero {
    width: 31px;
    height: 31px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e2e8f0;
    border-radius: 7px;

    background: #ffffff;
    color: #64748b;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;
}

.pagina-numero.active {
    border-color: #2563eb;
    background: #2563eb;
    color: #ffffff;
}

.pagina-btn:hover,
.pagina-numero:not(.active):hover {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #2563eb;
}

.pagina-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}


/* =========================================================
   MODAL
========================================================= */

.modal {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.modal.mostrar {
    visibility: visible;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(
        15,
        23,
        42,
        0.62
    );

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-contenido {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 570px;

    max-height:
        calc(
            100vh - 40px
        );

    overflow-y: auto;

    padding: 28px;

    border: 1px solid #e2e8f0;
    border-radius: 17px;

    background: #ffffff;

    box-shadow:
        0 25px 60px rgba(
            15,
            23,
            42,
            0.25
        );

    transform:
        translateY(20px)
        scale(0.97);

    transition:
        transform 0.25s ease;
}

.modal.mostrar .modal-contenido {
    transform:
        translateY(0)
        scale(1);
}

.modal-cerrar {
    position: absolute;

    top: 13px;
    right: 13px;

    width: 34px;
    height: 34px;

    border: none;
    border-radius: 8px;

    background: #f1f5f9;
    color: #64748b;

    font-size: 25px;

    cursor: pointer;
}

.modal-cerrar:hover {
    background: #e2e8f0;
    color: #0f172a;
}


/* =========================================================
   MODAL HEADER
========================================================= */

.modal-header {
    padding-right: 35px;
    margin-bottom: 22px;
}

.modal-header h3 {
    margin: 6px 0;

    color: #0f172a;

    font-size: 21px;
    font-weight: 750;
}

.modal-header p {
    margin: 0;

    color: #64748b;

    font-size: 12px;
}


/* =========================================================
   AVATAR FORMULARIO
========================================================= */

.usuario-form-avatar {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 21px;
    padding: 13px;

    border: 1px solid #e2e8f0;
    border-radius: 10px;

    background: #f8fafc;
}

.avatar-grande {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 11px;

    background: #eff6ff;
    color: #2563eb;

    font-size: 18px;
    font-weight: 800;
}

.usuario-form-avatar div:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.usuario-form-avatar strong {
    color: #334155;
    font-size: 12px;
}

.usuario-form-avatar span {
    color: #94a3b8;
    font-size: 10px;
}


/* =========================================================
   FORMULARIO
========================================================= */

.form-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    gap: 15px;
}

.campo label {
    display: block;

    margin-bottom: 7px;

    color: #475569;

    font-size: 11px;
    font-weight: 750;
}

.campo input,
.campo select {
    width: 100%;
    height: 40px;

    padding: 0 11px;

    border: 1px solid #dbe3ef;
    border-radius: 8px;

    outline: none;

    background: #ffffff;
    color: #0f172a;

    font-family: inherit;
    font-size: 12px;
}

.campo input:focus,
.campo select:focus {
    border-color: #93c5fd;

    box-shadow:
        0 0 0 3px rgba(
            37,
            99,
            235,
            0.08
        );
}


/* =========================================================
   PASSWORD
========================================================= */

.password-input {
    position: relative;
}

.password-input input {
    padding-right: 42px;
}

.btn-ver-password {
    position: absolute;

    top: 50%;
    right: 8px;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;
    border-radius: 6px;

    background: transparent;
    color: #94a3b8;

    cursor: pointer;

    transform:
        translateY(-50%);
}

.btn-ver-password:hover {
    background: #f1f5f9;
    color: #2563eb;
}


/* =========================================================
   NOTA
========================================================= */

.form-nota {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    margin-top: 17px;
    padding: 11px 13px;

    border-radius: 8px;

    background: #eff6ff;
    color: #1e40af;

    font-size: 10px;
    line-height: 1.5;
}

.form-nota svg {
    flex-shrink: 0;
    margin-top: 1px;
}


/* =========================================================
   BOTONES
========================================================= */

.form-botones {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;

    margin-top: 23px;
    padding-top: 18px;

    border-top: 1px solid #eef2f7;
}

.btn-cancelar,
.btn-guardar {
    min-height: 39px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 0 15px;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}

.btn-cancelar {
    border: 1px solid #dbe3ef;

    background: #ffffff;
    color: #64748b;
}

.btn-cancelar:hover {
    background: #f8fafc;
    color: #334155;
}

.btn-guardar {
    border: 1px solid #2563eb;

    background: #2563eb;
    color: #ffffff;
}

.btn-guardar:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}


/* =========================================================
   BLOQUEAR SCROLL
========================================================= */

body.modal-abierto {
    overflow: hidden;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .estadisticas {
        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );
    }

}


@media (max-width: 800px) {

    .filtros-form {
        grid-template-columns:
            1fr;
    }

}


@media (max-width: 700px) {

    .usuarios-header {
        align-items: stretch;
        flex-direction: column;
    }

    .btn-nuevo {
        width: 100%;
    }

    .form-grid {
        grid-template-columns:
            1fr;
    }

}


@media (max-width: 520px) {

    .estadisticas {
        grid-template-columns:
            1fr;
    }

    .usuarios-header h2 {
        font-size: 21px;
    }

    .tabla-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .modal {
        padding: 12px;
    }

    .modal-contenido {
        padding: 22px;

        max-height:
            calc(
                100vh - 24px
            );
    }

}


/* =========================================================
   ICONO DEL BOTÓN NUEVO USUARIO
========================================================= */

button.btn-nuevo svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* =========================================================
   TEMA VISUAL UNIFICADO CON PERSONAS.CSS
   Negro, blanco y gris
========================================================= */

/* COLORES GENERALES */
.usuarios-header h2,
.tabla-header h3,
.estadistica-card strong,
.usuario-info strong,
.modal-header h3 {
    color: #17181C !important;
}

.usuarios-header p,
.estadistica-card span,
.tabla-info,
.usuario-info span,
.fecha-registro span,
.modal-header p {
    color: #777B85 !important;
}

/* BOTÓN NUEVO */
button.btn-nuevo {
    background: #111111 !important;
    background-color: #111111 !important;
    border: 1px solid #111111 !important;
    color: #FFFFFF !important;
    border-radius: 9px !important;
    transition: 0.2s ease !important;
}

button.btn-nuevo:hover {
    background: #2A2A2A !important;
    background-color: #2A2A2A !important;
    border-color: #2A2A2A !important;
    color: #FFFFFF !important;
}

button.btn-nuevo svg {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

/* ESTADÍSTICAS */
.estadistica-card {
    border-color: #E1E2E5 !important;
    border-radius: 14px !important;
    box-shadow: none !important;
}

.estadistica-card:hover {
    border-color: #DFE1E6 !important;
}

.estadistica-icon,
.estadistica-icon.total,
.estadistica-icon.admin,
.estadistica-icon.vigilancia,
.estadistica-icon.encargado {
    background: #F4F5F7 !important;
    color: #17181C !important;
}

/* PANEL DE FILTROS */
.filtros-panel,
.tabla-panel {
    border-color: #E1E2E5 !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    background: #FFFFFF !important;
}

.filtros-form label,
.campo label {
    color: #555960 !important;
}

.filtros-form input,
.filtros-form select,
.campo input,
.campo select {
    border-color: #DCDDDF !important;
    border-radius: 8px !important;
    background: #FFFFFF !important;
    color: #17181C !important;
}

.filtros-form input:focus,
.filtros-form select:focus,
.campo input:focus,
.campo select:focus {
    border-color: #BFC2C8 !important;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.04) !important;
    outline: none !important;
}

.filtros-form input::placeholder,
.campo input::placeholder {
    color: #A0A3AA !important;
}

/* BOTÓN FILTRAR */
.btn-filtrar {
    background: #111111 !important;
    border: 1px solid #111111 !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    transition: 0.2s ease !important;
}

.btn-filtrar:hover {
    background: #2A2A2A !important;
    border-color: #2A2A2A !important;
    color: #FFFFFF !important;
}

/* BOTÓN LIMPIAR */
.btn-limpiar {
    background: #FFFFFF !important;
    border: 1px solid #E1E2E5 !important;
    color: #777B85 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: 0.2s ease !important;
}

.btn-limpiar:hover {
    background: #F4F5F7 !important;
    border-color: #E1E2E5 !important;
    color: #17181C !important;
}

/* ENCABEZADO Y FILAS DE LA TABLA */
.tabla-header {
    border-bottom-color: #E1E2E5 !important;
}

.tabla-contenedor th {
    background: #FAFAFA !important;
    color: #888C95 !important;
    border-bottom-color: #E1E2E5 !important;
}

.tabla-contenedor td {
    color: #17181C !important;
    border-bottom-color: #F0F1F3 !important;
}

.tabla-contenedor tbody tr {
    transition: 0.15s ease !important;
}

.tabla-contenedor tbody tr:hover {
    background: #FAFBFC !important;
}

/* AVATARES */
.usuario-avatar,
.avatar-grande {
    background: #F0F1F3 !important;
    color: #17181C !important;
}

/* ROLES: CONSERVAR SUS DIFERENCIAS, SIN AZUL */
.rol-badge.administrador {
    background: #F1F2F4 !important;
    color: #44474D !important;
}

.rol-badge.vigilante {
    background: #F4F5F7 !important;
    color: #555960 !important;
}

.rol-badge.encargado {
    background: #F0F1F3 !important;
    color: #555960 !important;
}

/* BOTONES DE ACCIONES */
.accion {
    border-color: transparent !important;
    border-radius: 7px !important;
    background: transparent !important;
    color: #777B85 !important;
    transition: 0.2s ease !important;
}

.accion.editar:hover {
    background: #F1F2F4 !important;
    border-color: transparent !important;
    color: #111111 !important;
}

.accion.eliminar:hover {
    background: #FEF2F2 !important;
    border-color: transparent !important;
    color: #DC2626 !important;
}

/* PAGINACIÓN */
.paginacion {
    border-top-color: #E1E2E5 !important;
}

.pagina-btn,
.pagina-numero {
    background: #FFFFFF !important;
    border: 1px solid #E1E2E5 !important;
    color: #555960 !important;
    border-radius: 7px !important;
    transition: 0.2s ease !important;
}

.pagina-numero.active {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #FFFFFF !important;
}

.pagina-btn:hover,
.pagina-numero:not(.active):hover {
    background: #F1F2F4 !important;
    border-color: #DCDDDF !important;
    color: #111111 !important;
}

/* SIN REGISTROS */
.sin-registros-icon {
    background: #F4F5F7 !important;
    color: #888C95 !important;
    border-radius: 50% !important;
}

.sin-registros strong {
    color: #17181C !important;
}

.sin-registros p {
    color: #888C95 !important;
}

/* MODAL */
.modal-contenido {
    border-color: #E1E2E5 !important;
    border-radius: 14px !important;
    background: #FFFFFF !important;
}

.modal-cerrar {
    background: transparent !important;
    color: #777B85 !important;
}

.modal-cerrar:hover {
    background: #F1F2F4 !important;
    color: #111111 !important;
}

/* AVATAR DEL FORMULARIO */
.usuario-form-avatar {
    border-color: #E1E2E5 !important;
    background: #FAFAFA !important;
}

.usuario-form-avatar strong {
    color: #17181C !important;
}

.usuario-form-avatar span {
    color: #888C95 !important;
}

/* CAMPOS DEL FORMULARIO */
.campo input,
.campo select {
    font-family: Arial, Helvetica, sans-serif !important;
}

.btn-ver-password {
    color: #888C95 !important;
}

.btn-ver-password:hover {
    background: #F1F2F4 !important;
    color: #111111 !important;
}

/* NOTA INFORMATIVA */
.form-nota {
    background: #F4F5F7 !important;
    color: #555960 !important;
}

/* BOTÓN CANCELAR */
.btn-cancelar {
    background: #FFFFFF !important;
    border: 1px solid #DCDDDF !important;
    color: #555960 !important;
    border-radius: 8px !important;
}

.btn-cancelar:hover {
    background: #F4F5F7 !important;
    color: #17181C !important;
}

/* BOTÓN GUARDAR */
.btn-guardar {
    background: #111111 !important;
    border: 1px solid #111111 !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    transition: 0.2s ease !important;
}

.btn-guardar:hover {
    background: #2A2A2A !important;
    border-color: #2A2A2A !important;
    color: #FFFFFF !important;
}

/* BORDES DE SEPARACIÓN DEL FORMULARIO */
.form-botones {
    border-top-color: #E1E2E5 !important;
}

/* MANTENER ICONOS LEGIBLES */
.btn-nuevo svg,
.btn-filtrar svg,
.btn-guardar svg {
    color: #FFFFFF !important;
    stroke: currentColor;
}

/* RESPONSIVE: CONSERVAR EL DISEÑO ORIGINAL */
@media (max-width: 700px) {
    .btn-nuevo {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .tabla-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .modal-contenido {
        max-height: calc(100vh - 24px);
    }
}

/* LOGO */
.logo {
    width: 100%;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    margin-bottom: 25px;
    flex-shrink: 0;
    overflow: hidden;
}
.logo-image {
    display: block;
    width: 115px;
    height: 115px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}