/* 2026-11-10 앱 CSS 정리 — 화면 전체(`*`·`html`·`body`·`[hidden]`·버튼) 규칙은 `app/base.css`·`globals.css` 로 옮기거나 이 화면으로 범위를 좁혔다.
   (앱 이동은 앞 화면 CSS 를 지우지 않아 다른 화면에 걸렸다.) ⚠️ 시안 `final/` 에서 이 파일을 다시 가져오면 이 부분을 다시 정리할 것. */

.bride-planner-page {
  min-width: 320px;
  background: #f9fafb;
  color: var(--neutral-tx2-title, #444);
}

.planner-header {
  height: 80px;
  border-bottom: 1px solid var(--semantic-input-border, #cbcbcb);
  background: var(--semantic-white, #fff);
}

.planner-header__inner {
  display: flex;
  width: min(1280px, 100%);
  height: 100%;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 20px;
}

.planner-header__brands,
.planner-header__mws {
  display: flex;
  align-items: center;
}

.planner-header__brands {
  gap: 16px;
  padding-right: 20px;
}

.planner-header__planner {
  display: flex;
  width: 112.711px;
  height: 23.952px;
  align-items: center;
  justify-content: center;
}

.planner-header__planner img {
  width: 112.711px;
}

.planner-header__divider {
  width: 1px;
  height: 28px;
  background: #d9d9d9;
}

.planner-header__mws {
  gap: 4px;
}

.planner-header__mws img {
  width: 126px;
}

.planner-header__mws .planner-header__arrow {
  width: 6px;
  height: 6px;
}

.planner-header__profile {
  display: flex;
  width: 26px;
  height: 26px;
  overflow: hidden;
  border-radius: 50%;
}

.planner-header__profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bride-planner-main {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.bride-planner-form {
  display: flex;
  width: min(600px, 100%);
  flex-direction: column;
  align-items: center;
  gap: 64px;
  padding: 40px 20px;
  border-radius: 12px;
  background: var(--semantic-white, #fff);
}

.bride-planner-title {
  width: 100%;
  text-align: center;
}

.bride-planner-title h1 {
  margin: 0;
  color: var(--neutral-tx1-hero, #1a1a1a);
  font-size: 30px;
  font-weight: 700;
  line-height: 44px;
}

.bride-planner-title p {
  margin: 10px 0 0;
  color: var(--neutral-tx3-sub, #949494);
  font-size: 16px;
  line-height: 22px;
}

.planner-progress {
  width: 100%;
  padding: 20px;
  border-radius: 8px;
  background: var(--semantic-bg, #f7f7f7);
}

.planner-progress__list {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.planner-progress__step {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  color: var(--neutral-tx3-sub, #949494);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.planner-progress__bar {
  width: 100%;
  height: 4px;
  border-radius: 9999px;
  background: var(--neutral-tx4-dissolved, #cfcfcf);
}

.planner-progress__step.is-current {
  color: var(--neutral-tx2-title, #444);
  font-weight: 700;
}

.planner-progress__step.is-current .planner-progress__bar {
  background: var(--brand-primary, #81d8d0);
}

.planner-progress > p {
  margin: 20px 0 0;
  color: var(--neutral-tx3-sub, #949494);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.planner-form-section,
.planner-fields {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 20px;
}

.planner-form-section h2,
.planner-agreements legend {
  width: 100%;
  margin: 0;
  color: var(--neutral-tx2-title, #444);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}

.planner-field {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 2px;
}

.planner-field > label {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 4px;
  color: var(--neutral-tx2-title, #444);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.planner-field > label span {
  color: var(--brand-accent-dark, #ef4444);
  font-size: 11px;
  line-height: 14px;
}

.planner-input {
  display: flex;
  width: 100%;
  height: 50px;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid var(--semantic-border, #eee);
  border-radius: 8px;
  background: var(--semantic-white, #fff);
  box-shadow: none;
}

.planner-input.is-read-only {
  background: var(--semantic-bg, #f7f7f7);
}

.planner-input > img {
  width: 32px;
}

.planner-input input {
  min-width: 0;
  width: 100%;
  padding: 0 0 2px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--neutral-tx2-title, #444);
  font: inherit;
  font-size: 14px;
  line-height: 20px;
}

.planner-input.is-read-only input {
  color: var(--neutral-tx3-sub, #949494);
}

.planner-input__clear {
  display: flex;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.planner-input__clear img {
  width: 100%;
}

.planner-field__help {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  padding: 6px 8px;
  color: var(--neutral-tx3-sub, #949494);
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
}

.planner-field__help img {
  width: 12px;
  height: 15px;
  flex: 0 0 12px;
}

.planner-field__help span {
  padding-top: 2px;
}

.planner-date .planner-date__trigger {
  justify-content: space-between;
  color: var(--neutral-tx2-title, #444);
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
}

.planner-date__trigger span {
  flex: 1;
}

.planner-date .planner-date__trigger img {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.planner-date .reservation-select__popover--calendar {
  top: calc(100% + 8px);
  right: 0;
  left: auto;
}

.planner-photo-field {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.planner-photo-field > .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.planner-photo {
  position: relative;
  display: flex;
  width: min(240px, 100%);
  aspect-ratio: 1;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--semantic-border, #eee);
  border-radius: 8px;
  background: var(--semantic-white, #fff);
  cursor: pointer;
}

.planner-photo__empty {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 25px 11px;
}

.planner-photo__empty[hidden],
.planner-photo__preview[hidden] {
  display: none;
}

.planner-photo__label {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
}

.planner-photo__upload-icon {
  width: 32px;
}

.planner-photo__add-icon {
  width: 28px;
}

.planner-photo__text {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

.planner-photo__text strong {
  color: var(--neutral-tx3-sub, #949494);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.planner-photo__text small {
  color: var(--neutral-tx4-dissolved, #cfcfcf);
  font-size: 11px;
  line-height: 14px;
}

.planner-photo__preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.planner-photo-field > p {
  margin: 0;
  color: var(--neutral-tx3-sub, #949494);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.planner-agreements {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.planner-agreements legend {
  margin-bottom: 20px;
}

.planner-agreement + .planner-agreement {
  margin-top: 20px;
}

.planner-agreement {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 4px 4px;
  border-radius: 4px;
  cursor: pointer;
}

.planner-agreement input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.planner-agreement__check {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid var(--semantic-input-border, #cbcbcb);
  border-radius: 4px;
  background: var(--semantic-white, #fff);
}

.planner-agreement input:checked + .planner-agreement__contents .planner-agreement__check {
  border-color: var(--brand-primary, #81d8d0);
  background: var(--brand-primary, #81d8d0) url("../../images/member/signin-check.svg") center / 10px 11px no-repeat;
}

.planner-agreement input:focus-visible + .planner-agreement__contents .planner-agreement__check {
  outline: 2px solid var(--brand-primary, #81d8d0);
  outline-offset: 2px;
}

.planner-agreement__contents {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.planner-agreement__box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.planner-agreement__box strong {
  color: var(--neutral-tx3-sub, #949494);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
}

.planner-agreement__contents small {
  padding-left: 26px;
  color: var(--neutral-tx4-dissolved, #cfcfcf);
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
  white-space: nowrap;
}

.planner-agreement__arrow {
  display: flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
}

.planner-agreement__arrow img {
  width: 8.4px;
}

.bride-planner-submit {
  width: 100%;
  min-height: 50px;
  padding: 14px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--semantic-input-border, #cbcbcb);
  color: var(--semantic-white, #fff);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  cursor: default;
}

.bride-planner-submit.is-active:not(:disabled) {
  background: var(--brand-primary);
  cursor: pointer;
}

.planner-footer {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 30px 20px;
  border-top: 1px solid var(--semantic-border-hover, #dadada);
  background: var(--semantic-bg-fill, #f8f9fa);
}

.planner-footer nav {
  width: min(720px, 100%);
}

.planner-footer ul {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
}

.planner-footer__separator {
  width: 4px;
  height: 16px;
  flex: 0 0 4px;
  background: linear-gradient(
    to right,
    transparent 1.5px,
    var(--neutral-tx4-dissolved, #cfcfcf) 1.5px,
    var(--neutral-tx4-dissolved, #cfcfcf) 2.5px,
    transparent 2.5px
  );
}

.planner-footer a {
  color: var(--neutral-tx3-sub, #949494);
  font-size: 12px;
  line-height: 16px;
  text-decoration: none;
}

.planner-footer a.is-emphasized {
  font-weight: 700;
}

.planner-footer > p {
  margin: 0;
  color: var(--neutral-tx4-dissolved, #cfcfcf);
  font-size: 11px;
  line-height: 14px;
  text-align: center;
}

@media (max-width: 767px) {
  .planner-header {
    height: 64px;
  }

  .planner-header__inner {
    padding: 8px 14px;
  }

  .planner-header__divider,
  .planner-header__mws {
    display: none;
  }

  .bride-planner-main {
    padding: 24px 0;
  }

  .bride-planner-form {
    gap: 32px;
    padding: 24px 14px;
  }

  .planner-progress {
    padding: 14px;
    border-radius: 6px;
  }

  .planner-progress__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .planner-progress__step {
    gap: 8px;
  }

  .planner-progress > p {
    margin-top: 14px;
  }

  .planner-form-section,
  .planner-fields {
    gap: 14px;
  }

  .planner-agreements legend {
    margin-bottom: 14px;
  }

  .planner-agreement + .planner-agreement {
    margin-top: 14px;
  }

  .planner-date .reservation-select__popover--calendar {
    right: 0;
    left: 0;
    width: 100%;
  }

  .planner-footer {
    padding-right: 14px;
    padding-left: 14px;
  }

  .planner-footer nav {
    width: 100%;
  }

  .planner-footer ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
  }
}
