/* 건물 정보 스타일 */
.building-info {
    font-size: 0.9rem;
}

.building-id-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.building-id-label {
    font-weight: 600;
    color: #495057;
}

.chart-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.chart-container {
    height: 320px;
    background: white;
    border-radius: 6px;
    padding: 10px;
    border: 1px solid #dee2e6;
}

.address-info {
    background: white;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.form-select-sm {
    font-size: 0.75rem;
    padding: 2px 6px;
}

/* 정보 섹션 공통 스타일 */
.info-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.section-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 10px;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.info-label {
    font-weight: 500;
    color: #6c757d;
    font-size: 0.9rem;
}

.info-value {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.address-text {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #495057;
}

.building-id-value {
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #495057;
}

/* 차트 관련 */
.building-info .chart-container {
    min-height: 300px;
    position: relative;
}

.building-info .chart-section {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 16px;
}

.building-info #chartControls {
    align-items: center;
}

.building-info #chartControls .form-select {
    border: 1px solid #ced4da;
    font-size: 0.875rem;
}

/* 대기질 상세 */
.air-quality-detail .grade-indicator {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    margin-bottom: 16px;
}

.air-quality-detail .air-values {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.air-quality-detail .air-values .d-flex {
    border-bottom: 1px solid #e9ecef;
    padding: 8px 0;
}

.air-quality-detail .air-values .d-flex:last-child {
    border-bottom: none;
}

/* 충전소 상세 */
.station-detail .badge {
    font-size: 0.75rem;
}

.station-detail .font-monospace {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.station-detail .alert {
    margin-bottom: 0;
    padding: 8px 12px;
    font-size: 0.9rem;
}

/* 반응형 */
@media (max-width: 768px) {
    .building-info .row {
        flex-direction: column;
    }

    .building-info .col-7,
    .building-info .col-5 {
        flex: 1;
        max-width: 100%;
    }

    .building-info .chart-section {
        margin-bottom: 20px;
    }

    .building-info #chartControls {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }

    .building-info #chartControls .form-select {
        width: 100% !important;
    }
}
