/* Modern Profile Layout Styles */
.profile-nav-container {
    background-color: #f8fafc;
    border-radius: 1rem;
    padding: 0.5rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.modern-nav-pills {
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for cleaner look but keep functionality */
.modern-nav-pills::-webkit-scrollbar {
    display: none;
}

.modern-nav-pills .nav-link {
    border-radius: 0.75rem;
    color: #64748b;
    font-weight: 600;
    padding: 0.85rem 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.modern-nav-pills .nav-link:hover:not(.active) {
    background-color: #f1f5f9;
    color: #334155;
}

.modern-nav-pills .nav-link.active {
    background-color: #ffffff;
    color: #0ea5e9;
    border-color: #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.025);
    transform: translateY(-2px);
}

.modern-nav-pills .nav-link i {
    font-size: 1.2rem;
}

.profile-card {
    border: 1px solid #f1f5f9;
    border-radius: 1.25rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    background: #ffffff;
}

/* Admin Nav Pills Styles (compact, scrollable) */
.admin-nav-container {
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.025);
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.admin-nav-pills {
    gap: 0.25rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin-bottom: 0;
    padding-left: 0;
}
.admin-nav-pills::-webkit-scrollbar {
    display: none;
}

.admin-nav-pills .nav-link {
    border-radius: 0.5rem;
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
    transition: all 0.25s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    background-color: transparent;
}

.admin-nav-pills .nav-link:hover:not(.active) {
    background-color: #f1f5f9;
    color: #0f172a;
}

.admin-nav-pills .nav-link.active {
    background-color: #eff6ff;
    color: #2563eb;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px #bfdbfe;
}

.admin-nav-pills .nav-link i {
    font-size: 1.1rem;
    opacity: 0.8;
}
.admin-nav-pills .nav-link.active i {
    opacity: 1;
}
