/* Estilos estructurales - SIN COLORES */

.card.bg-secondary { background-color: #6c757d !important; }
.card.bg-info { background-color: #17a2b8 !important; }
.card.bg-warning { background-color: #ffc107 !important; color: #000 !important; }
.card.bg-danger { background-color: #dc3545 !important; }

.card.bg-warning h5, .card.bg-warning h6 { color: #000 !important; }
.card.bg-info h5, .card.bg-info h6 { color: #000 !important; }


body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7f6;
    margin: 0;
    padding: 0;
}

.login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    max-width: 450px;
    width: 100%;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 30px;
    margin-bottom: 20px;
}

.logo-container {
    text-align: center;
    margin-bottom: 25px;
}

.logo-img {
    max-width: 180px;
    width: 100%;
    height: auto;
}

.login-header h1 {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 5px;
}

.login-header p {
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}

.form-control {
    border-left: none;
}

.btn-login {
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s;
}

.login-footer {
    text-align: center;
    color: white;
    font-size: 0.8rem;
    opacity: 0.9;
}

.sidebar {
    width: 260px;
    color: white;
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    transition: transform 0.3s ease;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.sidebar.collapsed {
    transform: translateX(-100%);
}

.sidebar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 4px 10px;
}

.sidebar h5 {
    color: white;
}

.main-content {
    margin-left: 260px;
    padding: 20px;
    transition: margin-left 0.3s ease;
}

.main-content.expanded {
    margin-left: 0;
}

.sidebar-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1100;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: none;
    margin-bottom: 20px;
}

.card-header {
    background-color: white;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 600;
    padding: 15px 20px;
}

.table th {
    color: white;
    font-weight: 500;
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        box-shadow: none;
    }
    .sidebar.show {
        transform: translateX(0);
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    }
    .main-content {
        margin-left: 0;
        padding: 15px;
    }
    .sidebar-toggle {
        display: block;
    }
    .login-header h1 {
        font-size: 1rem;
    }
    .card-body {
        padding: 15px;
    }
    .table {
        font-size: 0.85rem;
    }
    .table-responsive {
        overflow-x: auto;
    }
    .d-flex form {
        flex-wrap: wrap;
    }
    .d-flex select {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .login-card {
        padding: 20px;
    }
    h2 {
        font-size: 1.5rem;
    }
}
