/* Global styles for Blazor app */

/* === Dashboard Styles === */

/* 容器样式 */
.dashboard-container {
    padding: 1rem !important;
    background-color: #f8f9fa !important;
}

/* 卡片样式 */
.dashboard-card {
    transition: all 0.3s ease !important;
    border: none !important;
    border-radius: 0.5rem !important;
    background-color: #fff !important;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.dashboard-card .card-header {
    border-bottom: 1px solid #e3e6f0 !important;
    font-weight: bold !important;
    background-color: #f8f9fa !important;
}

.dashboard-card .card-body {
    padding: 1.5rem !important;
}

/* 图标样式 */
.dashboard-icon {
    font-size: 2rem !important;
    width: 50px !important;
    height: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    color: #fff !important;
}

/* 图标颜色 */
.park-icon { background-color: #4e73df !important; } /* Primary */
.building-icon { background-color: #1cc88a !important; } /* Success */
.room-icon { background-color: #36b9cc !important; } /* Info */
.company-icon { background-color: #f6c23e !important; } /* Warning */
.area-icon { background-color: #6f42c1 !important; } /* Purple */
.rented-icon { background-color: #e74a3b !important; } /* Danger */
.vacant-icon { background-color: #858796 !important; } /* Secondary */

/* 文本样式 */
.dashboard-label {
    color: #858796 !important;
    font-size: 0.85rem !important;
    margin-bottom: 0.1rem !important;
    text-transform: uppercase !important;
}

.dashboard-value {
    font-size: 1.5rem !important;
    font-weight: bold !important;
    color: #5a5c69 !important;
}

.dashboard-unit {
    font-size: 0.9rem !important;
    font-weight: normal !important;
    color: #858796 !important;
    margin-left: 0.25rem !important;
}

.dashboard-extra {
    font-size: 0.8rem !important;
    margin-top: 0.25rem !important;
}

/* 图表卡片 */
.chart-card {
    border-radius: 0.5rem !important;
    background-color: #fff !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.chart-card .card-body {
    padding: 1.5rem !important;
}

.chart-title {
    font-size: 1.1rem !important;
    font-weight: bold !important;
    margin-bottom: 1.5rem !important;
    color: #5a5c69 !important;
}

.chart-container {
    min-height: 250px !important;
}

.no-data-message {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 100% !important;
    min-height: 150px !important;
    color: #858796 !important;
    font-style: italic !important;
}

/* 进度条样式 */
.progress[style*="height: 20px"] {
    font-size: 0.75rem !important;
    color: white !important;
    font-weight: bold !important;
    overflow: hidden !important;
}

.progress[style*="height: 20px"] .progress-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
} 
