/* Modern Sidebar Styles */
.modern-sidebar {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    overflow: hidden;
    position: sticky;
    top: 100px;
    /* Sticky positioning */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-profile {
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.profile-avatar-container {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 15px;
    padding: 4px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-name {
    font-weight: 700;
    margin-bottom: 4px;
    color: #2d3748;
    font-size: 1.1rem;
}

.profile-role {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(79, 70, 229, 0.1);
    /* Soft primary bg */
    color: var(--md-primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.modern-nav {
    padding: 20px 15px;
}

.modern-nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    margin-bottom: 8px;
    border-radius: 12px;
    /* Pill shape */
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.modern-nav-item i {
    margin-right: 12px;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.modern-nav-item:hover {
    background-color: #f1f5f9;
    color: var(--md-primary);
    transform: translateX(5px);
    /* Slide effect */
}

.modern-nav-item:hover i {
    transform: scale(1.1);
}

.modern-nav-item.active {
    background: linear-gradient(135deg, var(--md-primary) 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    /* Colored shadow */
    font-weight: 600;
}

.modern-nav-item.active i {
    color: white;
}

/* Modern Card Style - Added for better visibility */
.modern-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    /* Subtle border */
    border-radius: 16px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modern-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04) !important;
}