/* Sidebar para o dashboard - RESPONSIVO */

/* User Info no Sidebar */
.user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.avatar-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 0.5rem;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid transparent;
    background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
        linear-gradient(135deg, var(--primary-color), var(--secondary-color)) border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.status-badge {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #666;
    border: 2px solid var(--card-bg);
}

.status-badge.online {
    background-color: #2ecc71;
}

.user-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.user-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.premium-plan {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 2px 5px rgba(138, 43, 226, 0.3);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Navegação da sidebar */
.sidebar-nav {
    padding: 1.5rem 0;
    flex: 1;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0 0.5rem;
    margin: 0;
}

.nav-item {
    margin-bottom: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-link i {
    font-size: 1.3rem;
    margin-right: 1rem;
    min-width: 24px;
    text-align: center;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    transform: translateX(3px);
}

.nav-item.active {
    background: rgba(138, 43, 226, 0.1);
}

.nav-item.active .nav-link {
    color: var(--primary-light);
    font-weight: 500;
    border-left: 3px solid var(--primary-color);
}

/* Badge PRO para funcionalidades premium */
.badge-premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Badge DEMO para funcionalidades em teste */
.badge-demo {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Scrollbar customizada */
.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 10px;
}

.sidebar {
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}
