/* Estilos generales para el panel de administración */

body {
    font-size: 0.875rem;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: 0.5rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #727272;
}

.sidebar .nav-link.active {
    color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: inherit;
}

.sidebar-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
}

[role="main"] {
    padding-top: 48px;
}

.navbar-brand {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, 0.25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25);
}

.navbar .form-control {
    padding: 0.75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.border-top {
    border-top: 1px solid #e5e5e5;
}
.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

/* Estilos para tablas */
.table-responsive {
    overflow-x: auto;
}

.table th {
    white-space: nowrap;
}

/* Estilos para tarjetas */
.card {
    margin-bottom: 1.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/* Estilos para botones */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.765625rem;
}

/* Estilos para gráficos */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Estilos para el modal de confirmación */
.modal-backdrop {
    z-index: 1040;
}

/* Estilos para los badges */
.badge {
    font-weight: 500;
}

/* Estilos para los toasts */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1100;
}

/* Estilos para el footer */
footer {
    background-color: #f8f9fa;
    padding: 1rem 0;
    margin-top: 2rem;
    border-top: 1px solid #e5e5e5;
}