/* Dashboard Text */
.dashboard-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: transparent;
    padding-bottom: 10px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 2000px;
    opacity: 1;
    overflow: hidden;
}

/* Collapsed state (mobile only) */
.dashboard-text.collapsed {
    max-height: 0;
    opacity: 0;
    padding-bottom: 0;
}

/* On desktop, always show expanded */
@media (min-width: 768px) {
    .dashboard-text.collapsed {
        max-height: 2000px;
        opacity: 1;
        padding-bottom: 10px;
    }
}

/* Stat Lines */
.stat-line {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    color: var(--text-main);
    font-size: 0.9rem;
}

.stat-line span {
    white-space: nowrap;
}

.stat-line strong {
    font-weight: 700;
    margin-left: 4px;
}

.stat-divider {
    height: 1px;
    background: var(--border-color);
    margin: 5px 0;
}

/* 3D Stat Items */
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: var(--card-bg);
    border-radius: 12px;
    min-width: 80px;
    flex: 1;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;

    /* 3D Pop Effect (Light) */
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.05),
        -4px -4px 8px rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .stat-item {
    background: var(--card-bg);
    /* 3D Pop Effect (Dark) */
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3),
        -1px -1px 3px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.1),
        -6px -6px 12px rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .stat-item:hover {
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.4),
        -1px -1px 3px rgba(255, 255, 255, 0.1);
}

.stat-item .material-symbols-rounded {
    font-size: 24px;
    margin-bottom: 4px;
}


/* Occupancy Section Styles */
.occupancy-header h2 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.occupancy-pill {
    background: var(--text-main);
    color: var(--card-bg);
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.occupancy-bar-track {
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}