/* =========================================================
   QCenter Main - Extracted CSS
   ========================================================= */

/* -------------------------
   Font
------------------------- */
@font-face {
  font-family: "KboDiamondGothic";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2304-2@1.0/KBO-Dia-Gothic_bold.woff")
    format("woff");
  font-weight: 700;
  font-display: swap;
}
.badge.wait{
  background:#eef4ff;
  color:#2f6bff;
}

.block_overlay {
  position: absolute;
  content: '';
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.5;
  background-color: #000;
}

/* -------------------------
   Visual (opilsol-N4)
------------------------- */
.visual-text-box .search-area {
  margin-top: 30px;
  width: 30%;
}
.visual-text-box .search-area button {
  background: #ffffff;
}

.opilsol-N4 .visual-text-box strong.h1 {
  font-family: "KboDiamondGothic";
  text-transform: capitalize !important;
}

/* ✅ opilsol-N4 고정 비디오 배경 */
.opilsol-N4 .bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.opilsol-N4 .bg-video__el {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.opilsol-N4 .swiper-wrapper {
  position: relative;
  z-index: 1;
}
.opilsol-N4 picture {
  display: none;
}
.opilsol-N4 .bg-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* -------------------------
   Visual Search (custom)
------------------------- */
.search-area .icon.ff-ico.ti-search,
.search-area .ti-search {
  color: #ffffff !important;
  fill: #ffffff !important;
  background: transparent !important;
}

.search-area input {
  color: #ffffff;
}
.search-area input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-area input.inputset-input.form-control {
  background: rgba(0, 0, 0, 0.7) !important;
  border: none !important;
  outline: none !important;
  border-radius: 9999px !important;
  color: #ffffff !important;
  padding-left: 22px;
  padding-right: 48px;
}

.search-area input.inputset-input.form-control:focus,
.search-area input.inputset-input.form-control:active {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: rgba(0, 0, 0, 0.6) !important;
}

.search-area input.inputset-input.form-control::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
}

.search-area button {
  border: none !important;
  outline: none !important;
}

/* -------------------------
   veluna-N7
------------------------- */
.veluna-N7 .contents-tit span {
  font-size: 1.3rem;
  background: #1e83ff;
  color: #ffffff;
  padding: 5px 15px;
  border-radius: 20px;
  margin-left: 5px;
}

/* -------------------------
   Q-Calendar
------------------------- */
:root {
  --bg: #ffffff;
  --panel: #f6f8fb;
  --line: #e6e9ef;
  --text: #111827;
  --muted: #6b7280;
  --blue: #2563eb;
  --red: #ef4444;
  --shadow: 0 0px 0px rgba(0, 0, 0, 0);
  --radius: 18px;

  /* ✅ 좌/우 동일 높이 */
  --cardH: 520px;

  /* ✅ 달력 셀 높이(어긋남 방지 핵심) */
  --cellH: 56px;
}

.schwrap {
  padding: 10rem 0;
  background: #e9f3fe;
}
.schwrap .wrap {
  max-width: 1440px;
  margin: 0 auto;
}
.schwrap .wrap .textset-desc {
  margin-bottom: 30px;
}

.grid {
  display: grid;
  grid-template-columns: 740px 1fr;
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 980px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card,
.right {
  height: var(--cardH);
  min-height: var(--cardH);
  box-shadow: none !important;
}

.cal2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 980px) {
  .cal2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 12px;
  flex: 0 0 auto;
}

.cal-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cal-nav {
  display: flex;
  gap: 8px;
}

.btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
}
.btn:active {
  transform: translateY(1px);
}

.btn.today-btn {
  width: auto;
  padding: 0 12px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.01em;
}

.cal-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 0 18px 8px;
  border-bottom: 1px solid var(--line);
  flex: 0 0 auto;
}
.cal-week div {
  padding: 10px 0 8px;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  color: var(--muted);
}
.cal-week .sun {
  color: var(--red);
}
.cal-week .sat {
  color: var(--blue);
}

.cal-body {
  padding: 12px 12px 16px;
  flex: 1 1 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(6, var(--cellH));
  gap: 6px;
  padding: 8px 6px 6px;
  flex: 0 0 auto;
}

.day {
  width: 100%;
  height: var(--cellH);
  position: relative;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  color: #111827;
}
.day:hover {
  background: #f3f6ff;
  border-color: #dbe7ff;
}
.day.muted {
  color: #c2c8d1;
  cursor: default;
  background: transparent;
  border-color: transparent;
  pointer-events: none;
}
.day.sun {
  color: var(--red);
}
.day.sat {
  color: var(--blue);
}
.day.selected {
  border-color: var(--blue);
  background: #fff;
}
.day.today:not(.selected) {
  background: #f7faff;
  border-color: #e3edff;
}

.dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #9aa4b2;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.9;
}

.right {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.right-head {
  padding: 20px 22px 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.6) 100%);
  flex: 0 0 auto;
}

.right-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.right-top .label {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 6px;
}
.right-head .date {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.list {
  padding: 14px 14px 18px;
  flex: 1 1 auto;
  overflow: auto;
  overscroll-behavior: contain;
}

.row {
  display: grid;
  grid-template-columns: 80px 1fr 220px;
  gap: 14px;
  align-items: center;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0);
}
.row + .row {
  margin-top: 10px;
}
.row:hover {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(230, 233, 239, 0.9);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: #9aa4b2;
}
.badge.on {
  background: #10b981;
}
.badge.off {
  background: #9aa4b2;
}

.title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: #111827;
}
.meta {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.period {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  text-align: right;
  white-space: nowrap;
}

.empty {
  padding: 26px 16px 30px;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}

.list::-webkit-scrollbar {
  width: 10px;
}
.list::-webkit-scrollbar-thumb {
  background: #d7dce6;
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.list::-webkit-scrollbar-track {
  background: transparent;
}

@media (max-width: 980px) {
  .card,
  .right {
    height: auto;
    min-height: unset;
  }
  .list {
    max-height: 420px;
  }
  .row {
    grid-template-columns: 74px 1fr;
  }
  .row .period {
    grid-column: 1 / -1;
    text-align: left;
  }
  :root {
    --cellH: 52px;
  }
}

/* -------------------------
   Q-미디어 (bloomcity-N5)
------------------------- */
.bloomcity-N5 .slide-img .instargram {
  background: linear-gradient(45deg, #ff7500, #fc204e, #c11a7b);
}
.bloomcity-N5 .slide-img .youtube {
  background: #fe0000;
}
.bloomcity-N5 .slide-img span {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* -------------------------
   Footer Social (furniture-N47)
------------------------- */
.furniture-N47 p {
  color: #ffffff;
  text-align: center;
}
.furniture-N47 p i {
  margin: 0 10px;
}
.furniture-N47 .social-area {
  margin-bottom: 50px;
}

/* -------------------------
   Popup Zone
------------------------- */
/* -------------------------
   Popup Zone
------------------------- */

:root {
  --overlay: rgba(0, 0, 0, 0.7);
  --maxW: 980px;
  --gap: 18px;
  --shadow2: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.pz-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--overlay);
  padding: 24px;
  z-index: 9999;
}
.pz-overlay.is-open {
  display: flex;
}

.pz {
  width: min(var(--maxW), 100%);
  position: relative;
}

.pz-topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0 14px;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
}
.pz-title {
  pointer-events: none;
}

.pz-top-actions {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pz-hide-today {
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
}
.pz-hide-today:hover {
  background: rgba(255, 255, 255, 0.25);
}

.pz-close {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.pz-close svg {
  width: 22px;
  height: 22px;
}

.pz-body {
  padding: 0;
}

.pz-viewport {
  overflow: hidden;
  padding: 12px 0 10px;
}

.pz-track {
  display: flex;
  gap: var(--gap);
  transition: transform 0.35s ease;
  will-change: transform;
}

/* ✅ PC 기본 2개 노출 */
.pz-item {
  flex: 0 0 calc((100% - var(--gap)) / 2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* ✅ 이미지 가로형 10:7 */
.pz-item img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  display: block;
}

.pz.is-centered .pz-viewport {
  overflow: visible;
}
.pz.is-centered .pz-track {
  justify-content: center;
  transform: none !important;
}

/* ✅ 가운데 정렬 모드도 2개 기준 */
.pz.is-centered .pz-item {
  flex: 0 0 calc((100% - var(--gap)) / 2);
  max-width: 460px;
}

.pz-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.pz-nav {
  display: flex;
  gap: 12px;
}

.pz-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}
.pz-btn svg {
  width: 20px;
  height: 20px;
}
.pz-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pz.hide-nav .pz-nav {
  display: none;
}

/* 태블릿도 2개 유지 */
@media (max-width: 860px) {
  .pz-item {
    flex: 0 0 calc((100% - var(--gap)) / 2);
  }
  .pz-topbar {
    font-size: 26px;
  }
}

/* ✅ 모바일은 1개씩 */
@media (max-width: 560px) {
  .pz-item {
    flex: 0 0 100%;
  }
  .pz.is-centered .pz-item {
    flex: 0 0 100%;
    max-width: none;
  }
  .pz-topbar {
    font-size: 22px;
  }
}

@media (max-width: 560px) {
  .pz-topbar {
    justify-content: flex-start;
    padding: 6px 90px 14px 0; /* 오른쪽 버튼 영역 확보 */
    font-size: 22px;
  }

  .pz-title {
    display: block;
    text-align: left;
    padding-left: 4px;
  }

  .pz-top-actions {
    position: absolute;
    right: 0;
    top: 0;
  }
}
@media (max-width: 560px) {

  .pz-hide-today{
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 999px;
    line-height: 1.2;
  }

  .pz-close{
    width: 34px;
    height: 34px;
  }

  .pz-close svg{
    width: 18px;
    height: 18px;
  }

}