/* ============================================================
   powerplant/powerplant.css — 발전소현황 페이지 전용 스타일
============================================================ */

/* ---------- 대시보드 KPI 카드 ---------- */
.dashboard-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
}

/* ---------- 운영중/건설중 탭 ---------- */
.tab-container {
    background-color: #F1F5F9;
    padding: 0.3rem;
    border-radius: 9999px;
    display: inline-flex;
    gap: 0.2rem;
    width: 100%;
    max-width: 320px;
}
.tab-btn {
    flex: 1;
    padding: 0.6rem 0;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    color: #64748b;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
}
.tab-btn.active {
    color: var(--main-blue);
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-weight: 800;
}

/* ---------- 발전소 카드 ---------- */
.status-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
}
.status-card:hover {
    border-color: var(--main-blue);
    box-shadow: 0 20px 40px -10px rgba(0, 98, 255, 0.12);
    transform: translateY(-2px);
}

/* ---------- 지역 필터 버튼 ---------- */
.filter-btn {
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    background-color: white;
    color: #64748b;
    white-space: nowrap;
    flex-shrink: 0;
}
.filter-btn.active {
    background-color: var(--main-blue);
    color: white;
    border-color: var(--main-blue);
    font-weight: 700;
}

/* ---------- 발전량 막대 차트 ---------- */
.generation-bar-vertical {
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, #0062FF, #60A5FA);
    transition: height 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    position: relative;
}
.hour-dot {
    width: 6px;
    height: 6px;
    background-color: #F59E0B;
    border: 1.5px solid white;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* ---------- 이미지 플레이스홀더 ---------- */
.img-placeholder {
    background-color: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E2E8F0;
    border-radius: 1rem;
    color: #94A3B8;
}

/* ---------- 발전 단위 탭 버튼 ---------- */
.unit-tab-btn { transition: all 0.2s ease; }
.unit-tab-btn.active {
    background-color: white;
    color: var(--main-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-weight: 800;
}

/* ---------- 스크롤바 없애기 ---------- */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
