body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Sidebar principal */
.sidebar {
    width: 250px;
    min-height: 100vh;
    transition: all 0.3s;
    z-index: 1000;
}

/* Contenido principal */
.main-content {
    width: calc(100% - 250px);
    min-height: 100vh;
    transition: all 0.3s;
}

/* Para móviles */
@media (max-width: 767.98px) {
    .sidebar {
        position: fixed;
        left: -250px;
        top: 0;
        height: 100vh;
    }
    
    .sidebar.show {
        left: 0;
    }
    
    .main-content {
        width: 100%;
    }
    
    body {
        padding-top: 56px;
    }
}

/* Estilos para los enlaces del menú */
.nav-link {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: all 0.2s;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

/* Navbar móvil */
.navbar {
    height: 56px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

main {
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.card {
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.table-responsive {
    overflow-x: auto;
}

.bg-primary-light {
    background-color: #e3f2fd;
}

.bg-success-light {
    background-color: #e8f5e9;
}

.bg-warning-light {
    background-color: #fff8e1;
}

.bg-danger-light {
    background-color: #ffebee;
}

/* Estilos para el modal de detalles */
.modal-details-table th {
    white-space: nowrap;
    background-color: #f8f9fa;
}

.modal-details-table td {
    vertical-align: middle;
}

/* Badges de estado */
.badge-status {
    min-width: 80px;
    display: inline-block;
    text-align: center;
    padding: 5px;
    border-radius: 4px;
}

/* Iconos en la tabla */
.bi-check-circle-fill, .bi-x-circle-fill {
    font-size: 1.2em;
}

/* Estilos para los modales de compartidos */
.shared-details-table th {
    background-color: #f8f9fa;
    position: sticky;
    top: 0;
}

.shared-details-table {
    max-height: 60vh;
    display: block;
    overflow-y: auto;
}

/* Badges de estado */
.badge-status {
    min-width: 80px;
    display: inline-block;
    text-align: center;
}

/* Animación para tarjetas */
.card {
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}



/* Animación del icono hamburguesa */
.navbar-toggler {
    border: none;
    padding: 0.75rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: white;
    display: block;
    transition: all 0.3s;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: white;
    left: 0;
    transition: all 0.3s;
}

.navbar-toggler-icon::before {
    transform: translateY(-6px);
}

.navbar-toggler-icon::after {
    transform: translateY(6px);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
}