/* Estilos personalizados para Sistema de Gestión de Socios */

/* Mejoras generales */
body {
    font-family: 'Source Sans Pro', sans-serif;
}

/* Estilos para tablas */
.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Botones */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Cards */
.card {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    font-weight: 600;
}

/* Badges personalizados */
.badge {
    padding: 0.35em 0.65em;
    font-weight: 600;
}

/* Modales */
.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

/* Formularios */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Dashboard */
.small-box {
    border-radius: 0.25rem;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
    display: block;
    margin-bottom: 20px;
    position: relative;
}

.small-box > .inner {
    padding: 10px;
}

.small-box > .small-box-footer {
    background-color: rgba(0, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0.8);
    display: block;
    padding: 3px 0;
    position: relative;
    text-align: center;
    text-decoration: none;
    z-index: 10;
}

.small-box .icon {
    color: rgba(0, 0, 0, 0.15);
    z-index: 0;
}

/* DataTables */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.5em 1em;
}

/* Sidebar */
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Selector de tema en sidebar */
.sidebar-menu-item {
    margin-bottom: 10px;
}

.sidebar-menu-item label {
    margin-bottom: 5px;
    display: block;
}

.sidebar-menu-item select {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.sidebar-menu-item select option {
    background-color: #343a40;
    color: #fff;
}

/* Estilos para temas claros del sidebar */
.sidebar-light-primary .sidebar-menu-item select,
.sidebar-light-success .sidebar-menu-item select,
.sidebar-light-warning .sidebar-menu-item select,
.sidebar-light-info .sidebar-menu-item select,
.sidebar-light-danger .sidebar-menu-item select,
.sidebar-light-secondary .sidebar-menu-item select {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
}

.sidebar-light-primary .sidebar-menu-item select option,
.sidebar-light-success .sidebar-menu-item select option,
.sidebar-light-warning .sidebar-menu-item select option,
.sidebar-light-info .sidebar-menu-item select option,
.sidebar-light-danger .sidebar-menu-item select option,
.sidebar-light-secondary .sidebar-menu-item select option {
    background-color: #fff;
    color: #495057;
}

/* Login */
.login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-box {
    width: 360px;
    margin: 7% auto;
}

.login-card-body {
    padding: 2rem;
}

/* Utilidades */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .small-box {
        margin-bottom: 15px;
    }
    
    .table-responsive {
        border: none;
    }
}






