* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #eef3f8;
  font-family:
    Segoe UI,
    Malgun Gothic,
    sans-serif;
  color: #333;
}
.wrap {
  max-width: 1400px;
  margin: auto;
  padding: 24px;
}
header {
  margin-bottom: 18px;
}
h1 {
  margin: 0;
  color: #234;
}
.card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}
.search .row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
select,
input {
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ccd4df;
  border-radius: 8px;
}
button {
  height: 40px;
  padding: 0 22px;
  border: none;
  border-radius: 8px;
  background: #2f80ed;
  color: #fff;
}
.kpi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 20px 0;
}
.kpi .card p {
  font-size: 34px;
  font-weight: 700;
  margin: 10px 0 0;
}
.blue {
  border-left: 6px solid #2f80ed;
}
.green {
  border-left: 6px solid #27ae60;
}
.orange {
  border-left: 6px solid #f39c12;
}
.red {
  border-left: 6px solid #eb5757;
}
.charts {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 18px;

  margin-bottom: 20px;

  align-items: stretch;
}

.charts .card {
  display: flex;

  flex-direction: column;

  min-height: 460px;
}

.progress-chart {
  width: 260px;

  height: 260px;

  margin: 20px auto;
}

.placeholder {
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.donut {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(#2f80ed 82%, #dfe8f5 0);
  font-size: 36px;
  font-weight: 700;
}
.bars .bar {
  display: flex;
  align-items: center;
  margin: 20px 0;
}
.bars span {
  width: 60px;
}
.bars i {
  height: 18px;
  background: #2f80ed;
  border-radius: 10px;
  display: block;
}
.notice {
  list-style: none;
  padding: 0;
  margin: 0;
}
.notice li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  padding: 12px;
  border: 1px solid #e1e5ea;
  text-align: center;
}
th {
  background: #f4f7fb;
}
tbody tr:hover {
  background: #f8fbff;
}
.ok {
  color: #27ae60;
  font-weight: 700;
}
.req {
  background: #eb5757;
  color: #fff;
  padding: 3px 8px;
  border-radius: 12px;
}
@media (max-width: 1000px) {
  .kpi,
  .charts {
    grid-template-columns: 1fr;
  }
}

.progress-chart {
  width: 220px;
  height: 220px;
  margin: 15px auto;
}

.progress-info {
  margin-top: 15px;
}

.legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0;
  font-size: 14px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

.complete {
  background: #2f80ed;
}

.waiting {
  background: #e5e7eb;
}

.total-count {
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.region-card h2 {
  margin-bottom: 20px;
}

.chart-area {
  margin-top: 20px;
  height: 320px;
}

/* ===========================
   패널현황 조회영역
=========================== */

.panel-search {
  display: flex;

  align-items: flex-end;

  gap: 12px;

  flex-wrap: wrap;

  padding: 16px;

  margin: 16px 0 22px;

  background: #f8fbff;

  border: 1px solid #d9e2ef;

  border-radius: 10px;
}

.search-item {
  display: flex;

  flex-direction: column;
}

.search-item label {
  margin-bottom: 6px;

  font-size: 13px;

  font-weight: 600;

  color: #555;
}

.search-item select,
.search-item input {
  min-width: 140px;

  height: 40px;

  padding: 0 12px;

  border: 1px solid #ccd5e3;

  border-radius: 8px;

  background: #fff;

  font-size: 14px;
}

.btn-search-panel {
  width: 90px;

  height: 40px;

  margin-top: 20px;

  margin-left: auto;

  border: none;

  border-radius: 8px;

  background: #2f80ed;

  color: #fff;

  font-size: 14px;

  font-weight: 600;

  cursor: pointer;

  transition: 0.2s;
}

.btn-search-panel:hover {
  background: #1d6fd8;
}

.notice-scroll {
  flex: 1;

  overflow-y: auto;

  max-height: 360px;
}
