/* ===============================
   THEME ADP
   =============================== */

/* Gradiente header */
.bg-gradient-primary {
    background: linear-gradient(135deg, #5e5e5e, #2a436e);
}

.bg-logo-header{
    background: white;
    border-radius: 8px;
    padding: 5px;
}

.navbar-blue{
    background: #002D6B;
}

.navbar-blue .nav-link{
    color: white !important;
}

/* Tabla moderna */
.custom-table thead {
    background: #f8f9fa;
    font-weight: 600;
    color: #34495e;
}

.custom-table thead th {
    border-bottom: 2px solid #e3e6f0;
    padding: 14px;
}

.custom-table tbody tr {
    transition: all 0.2s ease;
}

.custom-table tbody tr:hover {
    background-color: #f1f5ff;
}

.custom-table td {
    padding: 14px;
    vertical-align: middle;
}

/* Badge Estatus */
.badge {
    padding: 6px 10px;
    font-weight: 500;
}

.status-proceso {
    background-color: #ffc107;
    color: #000;
}

.status-aprobado {
    background-color: #198754;
    color: #fff;
}

.status-danger {
    background-color: #dc3545;
    color: #fff;
}

.status-registrado {
    background: rgba(13, 202, 240, 0.15);
    color: #0dcaf0;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    display: inline-block;
}

/* Botones de acciones */
.btn-action {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.border-bottom-red{
    border-bottom: 3px solid #dc3545;
}

/* Base */
body {
    background-color: #f8f9fa;
    font-size: 14px;
}

.navbar-brand {
    font-weight: bold;
}

/* DataTables Buttons */
.buttons-excel,
.buttons-pdf,
.buttons-print {
    background-color: #fff;
    margin-right: 8px !important;
    border-radius: 8px !important;
}

/* Card */
.card-header{
    padding: 13px;
}

/* ===============================
   Layout app: header sticky + footer fixed
   =============================== */

/* Header sticky (navbar) */
.app-header-sticky{
    position: sticky;
    top: 0;
    z-index: 1030; /* arriba del contenido */
}

/* Separación real entre header y contenido (tu “barra gris”) */
.app-main{
    padding-top: 1rem;    /* ✅ esto es lo que te faltaba */
    padding-bottom: 110px; /* evita que el footer tape el contenido */
}

/* Footer fijo */
.app-footer-fixed{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1020;
}

/* Opcional: separación visual más elegante (sin tocar tu diseño) */
.app-header-sticky{
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}