:root {
    --main-color: #148F8F;
    --main-color-dark: #0f6d6d;
    --secondary-color: #f8f9fa;
}

body {
    font-size: 0.9rem;
    background-color: #f8f9fa;
}

.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, .1);
    transition: all 0.3s ease;
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
    padding: 0.75rem 1rem;
}

.sidebar .nav-link:hover {
    color: var(--main-color);
}

.sidebar .nav-link.active {
    color: var(--main-color);
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

.border-top { border-top: 1px solid #e5e5e5; }
.border-bottom { border-bottom: 1px solid #e5e5e5; }

/* Estilos para el login */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #148F8F 0%, #0f6d6d 100%);
}

.login-card {
    width: 100%;
    max-width: 400px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Ajustes responsivos */
@media (max-width: 767.98px) {
    .sidebar {
        top: 3.5rem;
        width: 100%;
        z-index: 999;
    }
    
    .sidebar.collapse {
        display: none;
    }
    
    .sidebar:not(.collapse) {
        display: block;
    }
    
    main {
        margin-left: 0 !important;
    }
}

@media (min-width: 768px) {
    .navbar-brand {
        width: 250px;
    }
    
    .sidebar {
        width: 250px;
    }
    
    main {
        margin-left: 250px;
    }
}

.btn-custom {
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: white;
}

.btn-custom:hover {
    background-color: var(--main-color-dark);
    border-color: var(--main-color-dark);
    color: white;
}

.text-custom {
    color: var(--main-color) !important;
}

.bg-custom {
    background-color: var(--main-color) !important;
}

/* Mejoras para dispositivos móviles */
@media (max-width: 576px) {
    .card-body {
        padding: 1rem;
    }
    
    .table-responsive {
        font-size: 0.8rem;
    }
    
    .navbar-nav .dropdown-menu {
        position: absolute;
    }
}

/* Mejora visual para el menú hamburguesa */
.navbar-toggler:focus {
    box-shadow: 0 0 0 0.1rem white;
}