/* ==========================================================
   Weblease 통합 관리센터 - 메인 공개용 미니 요약 카드
   - 위치 : /theme/현재테마/css/custom.css (권장)
   - 공개 범위 : 요약 지표만 메인에 노출, 세부 데이터는 관리자 전용
   ========================================================== */

.wl-monitor-section {
  /* 메인 컨텐츠와 자연스럽게 이어지도록 여백만 카드에서 처리 */
}

.wl-monitor-card {
  background-color: #fff;
  border-radius: 0.75rem;
  border: 1px solid #eee;
  /* na-shadow 클래스로 기본 그림자 사용 (theme.css 기반) */
}

/* 타이틀 영역 */
.wl-monitor-title {
  font-size: 1.15rem; /* h3.h3 보다 약간 작게, 메인 사이드와 균형 */
  font-weight: 700;
  letter-spacing: -0.03em;
}

.wl-monitor-sub {
  line-height: 1.5;
}

/* 상단 오른쪽 pill */
.wl-monitor-pill-wrap {
  white-space: nowrap;
}

.wl-monitor-pill {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: -0.02em;
  background: rgba(252, 110, 81, 0.08); /* Bittersweet 밝은 톤 */
  color: #e9573f; /* hover 계열 포커스 컬러 */
  border: 1px solid rgba(252, 110, 81, 0.25);
}

/* 핵심 지표 3개 박스 */
.wl-monitor-stat-row {
  margin-top: 0.25rem;
}

.wl-monitor-stat {
  padding: 0.75rem 0.25rem;
}

.wl-monitor-stat-label {
  font-size: 0.78rem;
  color: #888;
  margin-bottom: 0.25rem;
}

.wl-monitor-stat-value {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
}

.wl-monitor-unit {
  font-size: 0.75rem;
  margin-left: 0.1rem;
}

.wl-monitor-stat-desc {
  margin-top: 0.15rem;
}

/* 모바일에서 세로 간격 조금 확보 */
@media (max-width: 767.98px) {
  .wl-monitor-stat {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .wl-monitor-title {
    font-size: 1.05rem;
  }
}

/* 하단 설명부 */
.wl-monitor-foot-main {
  color: #555;
}

.wl-monitor-foot-sub {
  line-height: 1.5;
}

/* 작은 화면에서 카드 패딩 조정 */
@media (max-width: 575.98px) {
  .wl-monitor-card {
    border-radius: 0.5rem;
  }
}

/* ==========================================================
   Weblease 공개 요약 블록 (메인)
   기존 테마 톤 그대로 유지
   ========================================================== */

/* 전체 박스 */
.wl-summary-box {
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid #e5e5e5;
}

/* 숫자 영역 (가장 큰 강조 포인트) */
.wl-summary-value {
  font-size: 2.1rem;
  font-weight: 700;
  color: #2d2d2d;
  letter-spacing: -0.03em;
}

.wl-summary-value .wl-unit {
  font-size: 1.2rem;
  margin-left: 2px;
}

/* 작은 라벨 텍스트 */
.wl-summary-label {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #6f6f6f;
  letter-spacing: -0.02em;
}

/* 모바일 정렬 간격 */
@media (max-width: 575.98px) {
  .wl-summary-value {
    font-size: 1.8rem;
  }
}

/* ==========================================================
   Weblease 공개 요약 블록 (리디자인)
   - 숫자 강조 + 하단 그라디언트 바
   ========================================================== */

.wl-summary-box {
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid #ededed;
  padding: 1.8rem 2.4rem;
}

.wl-summary-row {
  align-items: stretch;
}

.wl-summary-col {
  /* PC에서 컬럼 구분 라인 */
  border-right: 1px solid #f0f0f0;
}

.wl-summary-col:last-child {
  border-right: none;
}

/* 공통 아이템 */
.wl-summary-item {
  position: relative;
  padding: 0.6rem 0.75rem 1.2rem;
}

/* 숫자 (가장 강조) */
.wl-summary-value {
  font-size: 2.35rem;
  font-weight: 700;
  color: #121212;
  letter-spacing: -0.03em;
}

.wl-summary-value .wl-unit {
  font-size: 1.2rem;
  margin-left: 2px;
}

/* 라벨 텍스트 */
.wl-summary-label {
  margin-top: 0.45rem;
  font-size: 0.9rem;
  color: #707070;
  letter-spacing: -0.02em;
}

/* 하단 그라디언트 바 */
.wl-summary-bar {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0.15rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fc6e51, #e9573f);
  opacity: 0.28;
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

/* 호버 시 살짝 강조 (PC 위주) */
.is-pc .wl-summary-item:hover .wl-summary-bar {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* 반응형 튜닝 */
@media (max-width: 991.98px) {
  .wl-summary-box {
    padding: 1.4rem 1.3rem;
    border-radius: 1rem;
  }

  .wl-summary-col {
    border-right: none;
    border-bottom: 1px solid #f3f3f3;
  }

  .wl-summary-col:nth-child(2),
  .wl-summary-col:nth-child(4) {
    border-bottom: none;
  }

  .wl-summary-value {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  .wl-summary-box {
    padding: 1.3rem 1.1rem;
    border-radius: 0.9rem;
  }

  .wl-summary-item {
    padding-bottom: 1rem;
  }

  .wl-summary-value {
    font-size: 1.8rem;
  }

  .wl-summary-bar {
    left: 22%;
    right: 22%;
  }
}

/* Weblease 요약 통계 블록 */
.wl-summary {
  margin-top: 20px;
  margin-bottom: 26px;
}

.wl-summary-box {
  border-radius: 18px;
  background: #ffffff;
  padding: 18px 10px;
}

@media (min-width: 992px) {
  .wl-summary-box {
    padding: 22px 24px;
  }
}

.wl-summary-row {
  align-items: stretch;
}

.wl-summary-col {
  padding: 8px 6px;
}

@media (min-width: 992px) {
  .wl-summary-col {
    padding: 8px 10px;
  }
}

.wl-summary-item {
  position: relative;
  padding-bottom: 8px;
}

.wl-summary-value {
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: #fc6e51; /* Bittersweet 포인트 컬러 */
}

@media (min-width: 992px) {
  .wl-summary-value {
    font-size: 2.1rem;
  }
}

.wl-unit {
  font-size: 1rem;
  margin-left: 2px;
}

.wl-summary-label {
  margin-top: 4px;
  font-size: 0.85rem;
  color: #6c757d;
}

.wl-summary-bar {
  display: block;
  width: 40px;
  height: 3px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #fc6e51, #ffb39a);
  opacity: 0.85;
}
