.main-content {
    margin-left: 0; /* Changed from var(--sidebar-width) to 0 */
    width: 100%; /* Changed from calc(100% - var(--sidebar-width)) to 100% */
    min-height: 100vh;
    padding: 1rem;
    padding-top: 4rem; /* Add top padding to account for hamburger button */
    background-color: var(--background-dark);
    color: var(--text-color);
    transition: margin-left 0.3s ease, width 0.3s ease;
}

.profile-header {
    margin-bottom: 2.5rem;
    padding-top: 1rem;
    text-align: center;
}

.profile-header h1 {
    color: #000000 !important;
}

.profile-image-lg {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #000000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.profile-meta {
    font-size: 1rem;
    color: var(--muted, #94a3b8);
    margin-bottom: 0.5rem;
}

.stats-card {
    background: var(--background-light);
    border-radius: 20px;
    padding: 1rem;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.stats-value {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.stats-card .card-title {
    color: #000000 !important;
    font-weight: 600;
    font-size: 1.2rem;
}

.stats-card .badge {
    font-size: 0.95em;
    padding: 0.4em 0.8em;
    border-radius: 0.5em;
}

@media (max-width: 992px) {
    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 0.5rem;
        padding-top: 1rem; /* Less top padding on mobile */
    }
}

.profile-info-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.profile-info-label {
    font-weight: 600;
    color: #222;
    min-width: 60px;      /* Reduce as needed */
    margin-right: 0.5rem; /* Small gap */
    flex-shrink: 0;
}

.profile-info-value {
    /* No margin-left, so it's tight */
    word-break: break-all; /* For long emails */
}