/* === ASIDE / SIDEBAR STYLES === */

/* Layout principal del sidebar */
.sidebar {
    position: fixed;
    left: 20px;
    top: 20px;
    width: 260px;
    height: calc(100vh - 40px);
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Sidebar Header */
.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 16px 16px 0 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 14px;
}

.logo-icon {
    color: rgba(31, 60, 239, 1);
    font-size: 12px;
}

.satellite-text {
    font-weight: 700;
    font-size: 18px;
    color: #1e293b;
    letter-spacing: 0.5px;
}

.satellite-sub {
    font-weight: 700;
    color: #64748b;
    font-size: 10px;
    letter-spacing: 1px;
}

.core-tag {
    background-color: #e2e8f0;
    color: #64748b;
    font-size: 16px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 4px;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    padding: 24px 0;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 32px;
}

.nav-section-title {
    padding: 0 20px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-list {
    list-style: none;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    margin: 0 15px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border-radius: 8px;
}

.nav-item:hover {
    background-color: #f1f5f9;
    color: #1e293b;
}

.nav-item.active {
    background-color: rgba(31, 60, 239, 1);
    color: #ffffff;
    margin: 5px 15px;
    border-radius: 8px;
}

.nav-item.disabled {
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.6;
}

.nav-item.disabled:hover {
    background-color: transparent;
    color: #94a3b8;
    transform: none;
}

.nav-item.disabled i {
    color: #94a3b8;
}

.nav-item i {
    width: 20px;
    margin-right: 12px;
    font-size: 16px;
}

.badge {
    background-color: rgba(165,58,218,1);
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 12px;
    margin-left: auto;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 16px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f97316;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.notification-icon {
    color: #64748b;
    cursor: pointer;
}

.notification-icon:hover {
    color: #1e293b;
}

/* Responsive Design para el Aside */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.active {
        transform: translateX(0);
    }
}

/* Botón móvil para toggle del sidebar */
.mobile-menu-toggle {
    position: fixed !important;
    top: 20px !important;
    left: 20px !important;
    z-index: 1001 !important;
    background: rgba(31, 60, 239, 1) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(31, 60, 239, 0.3) !important;
    display: none;
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block !important;
    }
}
