:root {
    --primary: #17bbcf;
    /* Cyan/Teal brillante de la imagen solicitada */
    --primary-dark: #129eaa;
    --secondary: #ffc107;
    /* Amarillo de gráficos */
    --dark: #2c3e50;
    --light: #f8f9fc;
    --white: #ffffff;
    --text-muted: #858796;
    --indigo: #6366f1;
    --orange: #f97316;
    --success: #1cc88a;
    --danger: #e74a3b;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--light);
    color: var(--dark);
    margin: 0;
    overflow-x: hidden;
}

/* Sidebar */
:root {
    --sidebar-width: 240px;
}

#sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--primary);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding-top: 0;
    overflow-y: auto;
    /* Remover bordes redondeados a la derecha */
}

.sidebar-brand {
    color: var(--white);
    font-size: 20px;
    font-weight: bold;
    padding: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-brand i {
    font-size: 24px;
    margin-right: 12px;
}

.sidebar-brand-text {
    line-height: 1.2;
}

.sidebar-brand-text span {
    display: block;
    font-size: 11px;
    font-weight: 400;
    opacity: 0.8;
}

.nav-section {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 20px 5px 20px;
}

.nav-item {
    width: 100%;
    margin-bottom: 2px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0 20px 20px 0;
    margin-right: 15px;
}

.nav-link i {
    width: 25px;
    font-size: 16px;
    text-align: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white) !important;
    background-color: rgba(255, 255, 255, 0.15);
}

.nav-link:hover i,
.nav-link.active i {
    transform: scale(1.1);
}

/* Main Content */
#content-wrapper {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    background-color: var(--light);
    padding: 20px;
}

/* Topbar */
.topbar {
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    margin: -20px -20px 24px -20px;
    position: sticky;
    top: 0;
    z-index: 99;
}

.search-bar {
    background-color: var(--light);
    border-radius: 30px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    width: 350px;
    border: 1px solid #e2e8f0;
}

.search-bar input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    margin-left: 10px;
}

.search-bar i {
    color: var(--primary);
}

/* Cards */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow);
    background-color: var(--white);
    margin-bottom: 24px;
}

.card-header {
    background-color: transparent;
    border-bottom: none;
    padding: 20px 20px 0 20px;
    font-weight: 600;
    color: var(--dark);
}

.card-body {
    padding: 20px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 8px;
    padding: 8px 20px;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-warning {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
    border-radius: 30px;
    font-weight: 500;
}

/* Utils */
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-indigo {
    color: var(--indigo) !important;
}

.text-orange {
    color: var(--orange) !important;
}