/* Overrides to match the screenshot layout */

/* Topbar Left: Heading on top, Breadcrumbs on bottom */
.main-topbar-left {
    display: flex;
    flex-direction: column !important;
    gap: 4px;
    align-items: flex-start;
}

.main-page-heading {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 0 !important;
    order: 1; /* Ensure it's on top if flex-direction is column */
}

.breadcrumbs {
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    text-transform: uppercase;
    order: 2; /* Ensure it's on bottom */
}

/* Topbar Right: Profile first, then Refresh */
.main-topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    order: 1;
}

.btn-topbar-refresh {
    order: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff !important; /* White button as in screenshot */
    color: #000 !important;
    border-radius: var(--radius-sm);
    font-weight: 500;
    border: 1px solid var(--border-subtle);
}

.btn-topbar-refresh .icon {
    color: #000 !important;
}

/* Sidebar Profile Section */
.sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-user-mini {
    background: transparent !important; /* Remove background */
    border: none !important;
    padding: 0 !important;
    margin-bottom: 0.5rem !important;
}

.sidebar-user-avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important; /* Circle avatar */
}

.sidebar-user-name {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}

.sidebar-user-email {
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
}

/* Main Content Card Style */
.main-content {
    background: var(--bg-body); /* Keep theme background */
    padding: 1.5rem !important;
}

/* If there are cards inside main-content, make them look like the screenshot's floating card */
.main-content > .card,
.main-content > .glass-panel {
    background: var(--bg-panel-solid) !important; /* Or white if they want light, but they said "no need to change color theme" */
    border-radius: 16px !important; /* Large rounded corners as in screenshot */
    padding: 2rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid var(--border-subtle) !important;
}
