/**
 * FO 공통 스타일
 * 피그마 디자인 기반 (우리아이 2.0)
 */

html {
  scrollbar-gutter: auto;
}

html.ua-modal-open-root {
  background: rgba(19, 20, 22, 0.44);
}

.ua-container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

/* ================================
   Scroll Reveal Animation
   ================================ */

/* 초기 상태 - 숨김 */
.ua-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 활성화 상태 - 보임 */
.ua-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger 딜레이 */
.ua-reveal[data-delay="1"] { transition-delay: 0.1s; }
.ua-reveal[data-delay="2"] { transition-delay: 0.2s; }
.ua-reveal[data-delay="3"] { transition-delay: 0.3s; }
.ua-reveal[data-delay="4"] { transition-delay: 0.4s; }
.ua-reveal[data-delay="5"] { transition-delay: 0.5s; }

/* 방향별 변형 */
.ua-reveal--left {
  transform: translateX(-40px);
}
.ua-reveal--left.is-visible {
  transform: translateX(0);
}

.ua-reveal--right {
  transform: translateX(40px);
}
.ua-reveal--right.is-visible {
  transform: translateX(0);
}

.ua-reveal--scale {
  transform: scale(0.95);
}
.ua-reveal--scale.is-visible {
  transform: scale(1);
}

/* ================================
   Layout
   ================================ */
#fo-header,
#fo-footer {
  position: relative;
  z-index: 100;
}

#fo-content {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

/* 에듀테크 신청 팝업 전용 모드 */
body.ua-popup-only {
  background: #f6f6f6;
}

body.ua-popup-only .ua-skip-nav,
body.ua-popup-only #fo-header,
body.ua-popup-only #fo-footer,
body.ua-popup-only #main-slide {
  display: none !important;
}

body.ua-popup-only #fo-content {
  width: 100%;
  min-height: 100vh;
  padding: 0;
}

/* ================================
   Header 드롭다운 메뉴 (Figma 디자인 기반)
   ================================ */
.ua-nav__dropdown {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.ua-nav__link--dropdown {
  gap: 4px;
  background: none;
  border: none;
  margin: 0;
  cursor: pointer;
  font-family: 'Gmarket Sans TTF', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1;
  letter-spacing: -0.32px;
  padding: 0;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  transition: opacity 0.2s ease;
}

.ua-nav__link--dropdown,
.ua-nav__link--dropdown span,
.ua-nav__dropdown-item,
.ua-nav__dropdown-item span {
  font-family: 'Gmarket Sans TTF', sans-serif;
  line-height: inherit;
  letter-spacing: inherit;
}

.ua-nav__link:focus-visible,
.ua-nav__link--dropdown:focus-visible {
  outline: 2px solid #111 !important;
  outline-offset: 6px !important;
  border-radius: 4px;
  box-shadow: none !important;
}

.ua-nav__dropdown:hover .ua-nav__link--dropdown,
.ua-nav__dropdown.is-open .ua-nav__link--dropdown,
.ua-nav__dropdown:focus-within .ua-nav__link--dropdown {
  opacity: 0.8;
}

.ua-nav__dropdown-icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ua-nav__dropdown:hover .ua-nav__dropdown-icon,
.ua-nav__dropdown.is-open .ua-nav__dropdown-icon,
.ua-nav__dropdown:focus-within .ua-nav__dropdown-icon {
  transform: rotate(180deg);
}

.ua-nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  min-width: max-content;
  max-width: none;
  padding: 20px 14px;
  background: #ffde00;
  border-radius: 10px;
  z-index: 1000;
  white-space: nowrap;

  /* 초기 상태 */
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transform-origin: top center;
  transition:
    opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;

  /* 상위 메뉴와 연결을 위한 가상 영역 */
}

/* 상위 메뉴와 하위 메뉴 사이 간격을 채우는 가상 요소 */
.ua-nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.ua-nav__dropdown:hover .ua-nav__dropdown-menu,
.ua-nav__dropdown.is-open .ua-nav__dropdown-menu,
.ua-nav__dropdown:focus-within .ua-nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.ua-nav__dropdown-item {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 25px;
  padding: 0 10px;
  width: auto;
  margin: 0;
  font-family: 'Pretendard', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  text-align: left;
  letter-spacing: -0.32px;
  border-radius: 5px;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    font-weight 0.2s ease;
}

.ua-nav__dropdown-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.ua-nav__dropdown-item-icon svg {
  display: block;
}

.ua-nav__dropdown-item-image {
  display: block;
  width: auto;
  height: 24px;
  max-width: 140px;
  object-fit: contain;
}

.ua-nav__dropdown-item-label {
  display: inline-block;
  white-space: nowrap;
}

.ua-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ua-nav__dropdown-item + .ua-nav__dropdown-item {
  margin-top: 16px;
}

.ua-nav__dropdown-item:hover,
.ua-nav__dropdown-item:focus-visible {
  background: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

/* ================================
   Sitemap
   ================================ */

.ua-sitemap {
  background: #fff;
}

.ua-sitemap__hero {
  position: relative;
  overflow: visible;
  background: rgba(255, 222, 0, 0.3);
  z-index: 2;
}

.ua-sitemap__hero-bg {
  position: absolute;
  top: -60px;
  inset: 0;
  background-image: url('/img/fo/sitemap-hero-bg.png');
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.3;
  pointer-events: none;
}

.ua-sitemap__hero-inner {
  position: relative;
  z-index: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 0;
}

.ua-sitemap__hero-title {
  margin: 0;
  position: relative;
  z-index: 1;
  display: block;
  font-family: 'Gmarket Sans TTF', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: #111;
  letter-spacing: -0.8px;
}

.ua-sitemap__hero-art {
  position: absolute;
  right: 54px;
  top: 22px;
  width: 241px;
  height: 251px;
  object-fit: contain;
  z-index: 3;
  pointer-events: none;
}

.ua-sitemap__content {
  position: relative;
  z-index: 1;
  padding: 131px 0 120px;
}

.ua-sitemap__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 28px;
  align-items: start;
}

.ua-sitemap-card {
  --card-accent: #256ef4;
  --card-bg: #e4effe;
  --card-glow: rgba(37, 110, 244, 0.28);
  min-width: 0;
}

.ua-sitemap-card--kids {
  --card-accent: #256ef4;
  --card-bg: #d9e8ff;
  --card-glow: rgba(37, 110, 244, 0.3);
}

.ua-sitemap-card--ai,
.ua-sitemap-card--board {
  --card-accent: #ffde00;
  --card-bg: #fff9d8;
  --card-glow: rgba(255, 222, 0, 0.34);
}

.ua-sitemap-card--edutech {
  --card-accent: #10c300;
  --card-bg: #e0f8de;
  --card-glow: rgba(16, 195, 0, 0.24);
  grid-column: 3;
  grid-row: span 2;
}

.ua-sitemap-card--guide {
  --card-accent: #256ef4;
  --card-bg: #d9e8ff;
  --card-glow: rgba(37, 110, 244, 0.3);
}

.ua-sitemap-card__title {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 10px 16px 9px;
  border-top-left-radius: 20px;
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  color: #fff;
  font-family: 'Gmarket Sans TTF', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.4px;
  background: linear-gradient(250deg, #59a2ff 0%, #0762d7 85%);
  box-shadow: 2px 4px 10px var(--card-glow);
}

.ua-sitemap-card--ai .ua-sitemap-card__title,
.ua-sitemap-card--board .ua-sitemap-card__title {
  color: #111;
}

.ua-sitemap-card--ai .ua-sitemap-card__title,
.ua-sitemap-card--board .ua-sitemap-card__title {
  background: linear-gradient(252deg, #fff5b2 0%, #ffde00 85%);
}

.ua-sitemap-card--edutech .ua-sitemap-card__title {
  background: linear-gradient(253deg, #89ff7e 0%, #10c300 85%);
}

.ua-sitemap-card__panel {
  margin-top: -1px;
  padding: 20px;
  border-radius: 0 20px 20px 20px;
  background: var(--card-bg);
  box-shadow: 0 0 12px var(--card-glow);
}

.ua-sitemap-card__link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px 0 20px;
  color: #111;
  font-family: 'Gmarket Sans TTF', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.48px;
  line-height: 1.45;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ua-sitemap-card__link::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--card-accent);
  transform: translateY(-50%) rotate(45deg);
}

.ua-sitemap-card__link + .ua-sitemap-card__link {
  border-top: 1px dashed rgba(17, 17, 17, 0.35);
}

.ua-sitemap-card__link:hover,
.ua-sitemap-card__link:focus-visible {
  opacity: 0.78;
  transform: translateX(4px);
  text-decoration: none;
}

.ua-sitemap-carousel {
  background: #3d3d3d;
  overflow: hidden;
}

.ua-sitemap-carousel__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: ua-sitemap-carousel-scroll 24s linear infinite;
}

.ua-sitemap-carousel__list {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 28px 50px;
  flex-shrink: 0;
}

.ua-sitemap-carousel__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 136px;
  height: 40px;
}

.ua-sitemap-carousel__item img {
  display: block;
  width: auto;
  max-width: 180px;
  max-height: 40px;
  object-fit: contain;
}

@keyframes ua-sitemap-carousel-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1180px) {
  .ua-sitemap__hero-art {
    right: 20px;
    width: 200px;
    height: auto;
  }

  .ua-sitemap__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ua-sitemap-card--edutech {
    grid-column: auto;
    grid-row: auto;
  }

  .ua-sitemap-carousel__list {
    gap: 34px;
    padding: 24px 34px;
  }
}

@media (max-width: 767px) {
  .ua-sitemap__hero-inner {
    min-height: 110px;
  }

  .ua-sitemap__hero-title {
    font-size: 32px;
  }

  .ua-sitemap__hero-art {
    right: 8px;
    top: 56px;
    width: 124px;
    height: auto;
  }

  .ua-sitemap__content {
    padding: 84px 0 72px;
  }

  .ua-sitemap__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ua-sitemap-card__title {
    font-size: 18px;
  }

  .ua-sitemap-card__link {
    min-height: 44px;
    font-size: 15px;
  }

  .ua-sitemap-carousel__list {
    gap: 26px;
    padding: 20px 26px;
  }

  .ua-sitemap-carousel__item {
    min-width: 112px;
    height: 32px;
  }

  .ua-sitemap-carousel__item img {
    max-width: 150px;
    max-height: 32px;
  }
}

.ua-nav__dropdown-item:focus-visible {
  outline: 2px solid #111 !important;
  outline-offset: 3px !important;
  box-shadow: none !important;
}

/* ================================
   공지사항 - 목록 페이지
   ================================ */
.ua-notice {
  width: 100%;
}

/* 히어로 섹션 */
.ua-notice-hero {
  position: relative;
  width: 100%;
  padding: 70px 20px;
  overflow: hidden;
  background-color: #f8f9fa;
}

.ua-notice-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.3;
}

.ua-notice-hero__bg img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  min-height: 100%;
  max-width: none;
  object-fit: cover;
}

.ua-notice-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ua-notice-hero__title {
  font-family: 'Gmarket Sans TTF', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #000;
  margin: 0 0 10px 0;
}

.ua-notice-hero__desc {
  font-family: 'Gmarket Sans TTF', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #000;
  margin: 0;
}

/* 컨텐츠 영역 */
.ua-notice__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 20px 80px;
}

/* 검색 영역 */
.ua-notice-search {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 16px;
  border: 1px solid #ffde00;
  border-radius: 12px;
  margin-bottom: 50px;
}

.ua-notice-search__select {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
}

.ua-notice-search__select-text {
  font-family: Pretendard, sans-serif;
  font-size: 17px;
  color: #575757;
  text-align: center;
}

.ua-notice-search__divider {
  width: 1px;
  height: 24px;
  background: #b5b5b5;
}

.ua-notice-search__input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ua-notice-search__input {
  flex: 1;
  height: 100%;
  border: none;
  background: transparent;
  font-family: Pretendard, sans-serif;
  font-size: 17px;
  color: #000;
  outline: none;
}

.ua-notice-search__input::placeholder {
  color: #b5b5b5;
  letter-spacing: -0.51px;
}

.ua-notice-search__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: #ffde00;
  border-radius: 50%;
  color: #000;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ua-notice-search__btn:hover {
  background: #e6c800;
}

.ua-notice-search__btn svg {
  width: 13px;
  height: 13px;
}

/* ================================
   공통 게시판 테이블
   ================================ */
/* 목록 섹션 */
.ua-board-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ua-board-list__title {
  font-family: 'Gmarket Sans TTF', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

/* 테이블 */
.ua-board-table {
  width: 100%;
}

.ua-board-table__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 10px;
  border-top: 1px solid #b5b5b5;
  font-family: 'Gmarket Sans TTF', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  line-height: 1.4;
}

.ua-board-table__header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ua-board-table__col {
  display: flex;
  align-items: center;
}

.ua-board-table__col--no {
  width: 40px;
  flex-shrink: 0;
}

.ua-board-table__col--type {
  width: 60px;
  flex-shrink: 0;
}

.ua-board-table__col--title {
  width: 490px;
  flex-shrink: 0;
}

.ua-board-table__col--author {
  width: 96px;
  padding-right: 12px;
  flex-shrink: 0;
  text-align: left;
  justify-content: flex-start;
}

.ua-board-table__col--date {
  width: 110px;
  padding-left: 12px;
  flex-shrink: 0;
  text-align: left;
  justify-content: flex-start;
}

.ua-board-table__col--views {
  width: 60px;
  padding-left: 12px;
  text-align: right;
  justify-content: flex-end;
  flex-shrink: 0;
}

.ua-board-table__body {
  display: flex;
  flex-direction: column;
}

.ua-board-table__loading,
.ua-board-table__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 56px 20px 48px;
  font-family: "Pretendard", sans-serif;
  font-size: 14px;
  color: #767676;
  text-align: center;
  border: none;
  border-radius: 24px;
}

.ua-board-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.ua-board-empty--search {
  gap: 70px;
}

.ua-board-empty__figure {
  display: block;
  width: min(270px, 100%);
  aspect-ratio: 27 / 20;
  object-fit: contain;
}

.ua-board-empty--search .ua-board-empty__figure {
  width: min(223px, 100%);
  aspect-ratio: 223 / 200;
}

.ua-board-empty__desc {
  margin: 0;
  color: #b5b5b5;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.32px;
  line-height: 1.35;
}

.ua-board-list.is-empty .ua-board-list__title,
.ua-board-list.is-empty .ua-board-table__header {
  display: none;
}

.ua-board-list.is-empty .ua-board-table {
  margin-top: 0;
}

.ua-board-list.is-empty .ua-pagination {
  display: none;
}

.ua-board-table__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 10px;
  border-top: 1px solid #b5b5b5;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.ua-board-table__row:last-child {
  border-bottom: 1px solid #b5b5b5;
}

.ua-board-table__row-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ua-board-table__row:hover {
  background: rgba(255, 222, 0, 0.05);
}

.ua-board-table__row--highlight {
  background: rgba(255, 222, 0, 0.1);
}

.ua-board-table__row--highlight:hover {
  background: rgba(255, 222, 0, 0.15);
}

.ua-board-table__row--highlight .ua-board-table__col--title {
  font-size: 18px;
  font-weight: 700;
}

.ua-board-table__row .ua-board-table__col--no {
  font-family: 'Gmarket Sans TTF', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

.ua-board-table__row .ua-board-table__col--title {
  font-family: 'Gmarket Sans TTF', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #000;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ua-board-table__row .ua-board-table__col--author {
  font-family: 'Gmarket Sans TTF', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

.ua-board-table__row .ua-board-table__col--date {
  font-family: 'Gmarket Sans TTF', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

.ua-board-table__row .ua-board-table__col--views {
  font-family: 'Gmarket Sans TTF', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

/* 게시판 뱃지 (공통) */
.ua-board-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 2px 8px;
  border-radius: 5px;
  font-family: 'Gmarket Sans TTF', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  line-height: 1.4;
}

/* 공지사항 뱃지 */
.ua-board-badge--notice {
  background: #c2a900;
}

.ua-board-badge--check {
  background: #af1524;
}

.ua-board-badge--info {
  background: #2c8200;
}

.ua-board-badge--event {
  background: #006bc2;
}

/* FAQ 뱃지 */
.ua-board-badge--member {
  background: #c2a900;
}

.ua-board-badge--credit {
  background: #44c200;
}

.ua-board-badge--membership {
  background: #006bc2;
}

/* 페이지네이션 */
.ua-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 20px;
}

.ua-pagination__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  padding: 7px;
  background: rgba(47, 43, 61, 0.08);
  border: none;
  border-radius: 4px;
  color: rgba(47, 43, 61, 0.9);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ua-pagination__btn:hover {
  background: rgba(115, 103, 240, 0.16);
  color: #7367f0;
}

.ua-pagination__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ua-pagination__btn svg {
  width: 24px;
  height: 24px;
}

.ua-pagination__page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 6px;
  background: rgba(47, 43, 61, 0.08);
  border: none;
  border-radius: 4px;
  font-family: 'Public Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(47, 43, 61, 0.9);
  text-align: center;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ua-pagination__page:hover {
  background: rgba(115, 103, 240, 0.16);
  color: #FFDE00;
}

.ua-pagination__page.is-active {
  background: #FFDE00;
  color: #fff;
  box-shadow: 0 2px 6px rgba(115, 103, 240, 0.3);
}

/* ================================
   FAQ - 목록 페이지
   ================================ */
.ua-faq {
  width: 100%;
}

.ua-faq__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 20px 80px;
}

/* FAQ 검색 영역 */
.ua-faq-search {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 16px;
  border: 1px solid #ffde00;
  border-radius: 12px;
  margin-bottom: 50px;
}

.ua-faq-search__select {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
}

.ua-faq-search__select-text {
  font-family: Pretendard, sans-serif;
  font-size: 17px;
  color: #575757;
  text-align: center;
}

.ua-faq-search__divider {
  width: 1px;
  height: 24px;
  background: #b5b5b5;
}

.ua-faq-search__input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ua-faq-search__input {
  flex: 1;
  height: 100%;
  border: none;
  background: transparent;
  font-family: Pretendard, sans-serif;
  font-size: 17px;
  color: #000;
  outline: none;
}

.ua-faq-search__input::placeholder {
  color: #b1b8be;
  letter-spacing: -0.51px;
}

.ua-faq-search__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: #ffde00;
  border-radius: 50%;
  color: #000;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ua-faq-search__btn:hover {
  background: #e6c800;
}

.ua-faq-search__btn svg {
  width: 13px;
  height: 13px;
}

/* ================================
   공지사항 - 상세 페이지
   ================================ */
.ua-notice-detail {
  width: 100%;
  padding: 40px 0 80px;
}

.ua-notice-detail__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* 목록 돌아가기 */
.ua-notice-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: Pretendard, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  line-height: 1.4;
}

.ua-notice-detail__back:hover {
  opacity: 0.7;
}

.ua-notice-detail__back svg {
  width: 30px;
  height: 30px;
}

/* 헤더 */
.ua-notice-detail__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ua-notice-detail__title {
  font-family: 'Gmarket Sans TTF', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin: 0;
  letter-spacing: -0.4px;
}

.ua-notice-detail__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.ua-notice-detail__meta-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ua-notice-detail__meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Gmarket Sans TTF', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.32px;
}

.ua-notice-detail__meta-label {
  color: #b5b5b5;
}

.ua-notice-detail__meta-value {
  color: #000;
}

.ua-notice-detail__meta-icon {
  flex-shrink: 0;
}

/* 구분선 */
.ua-notice-detail__divider {
  width: 100%;
  height: 1px;
  background: #b5b5b5;
  border: none;
  margin: 0;
}

/* 본문 */
.ua-notice-detail__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ua-notice-detail__image {
  width: 100%;
}

.ua-notice-detail__image-placeholder {
  width: 100%;
  height: 400px;
  background: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Pretendard, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #8f8f8f;
}

.ua-notice-detail__body {
  font-family: Pretendard, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #8f8f8f;
  line-height: 1.4;
}

.ua-notice-detail__body p {
  margin: 0 0 8px 0;
}

.ua-notice-detail__body p:last-child {
  margin-bottom: 0;
}

/* 배너 */
.ua-notice-detail__banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px 44px;
  background: url('/img/fo/banner-bg.png') center / cover no-repeat;
  border-radius: 20px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  min-height: 116px;
}

.ua-notice-detail__banner-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ua-notice-detail__banner-text {
  font-family: 'Gmarket Sans TTF', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #fff;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.ua-notice-detail__banner-highlight {
  font-family: 'Gmarket Sans TTF', sans-serif;
  font-size: 25px;
  font-weight: 700;
  color: #ffde00;
  margin: 0;
  line-height: 1.2;
}

.ua-notice-detail__banner-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 15px 20px;
  background: linear-gradient(100.3deg, #ffde00 5.37%, #fff088 49.02%, #ffde00 92.66%);
  border-radius: 150px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  font-family: 'Gmarket Sans TTF', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #287bef;
  text-decoration: none;
  text-align: center;
  letter-spacing: -0.32px;
  line-height: 1.2;
}

.ua-notice-detail__banner-btn:hover {
  opacity: 0.9;
}

.ua-notice-detail__banner-btn-bold {
  font-weight: 700;
}

/* 이전/다음 네비게이션 */
.ua-notice-detail__nav {
  display: flex;
  flex-direction: column;
}

.ua-notice-detail__nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-top: 1px solid #b5b5b5;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.ua-notice-detail__nav-item:last-child {
  border-bottom: 1px solid #b5b5b5;
}

.ua-notice-detail__nav-item:hover {
  background: rgba(0, 0, 0, 0.02);
}

.ua-notice-detail__nav-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Pretendard, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
}

.ua-notice-detail__nav-label svg {
  width: 30px;
  height: 30px;
}

.ua-notice-detail__nav-title {
  flex: 1;
  font-family: Pretendard, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  margin-left: 20px;
}

.ua-notice-detail__nav-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: Pretendard, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #b5b5b5;
}

/* ================================
   FAQ - 상세 페이지 네비게이션
   ================================ */
.ua-faq-detail__nav {
  display: flex;
  flex-direction: column;
}

.ua-faq-detail__nav-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 15px 0;
  border-top: 1px solid #b5b5b5;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.ua-faq-detail__nav-item:last-child {
  border-bottom: 1px solid #b5b5b5;
}

.ua-faq-detail__nav-item:hover {
  background: rgba(0, 0, 0, 0.02);
}

.ua-faq-detail__nav-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.ua-faq-detail__nav-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Pretendard, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
}

.ua-faq-detail__nav-label svg {
  width: 30px;
  height: 30px;
}

.ua-faq-detail__nav-title {
  font-family: Pretendard, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
}

.ua-faq-detail__nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ua-faq-detail__nav-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Gmarket Sans TTF', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #b5b5b5;
}

.ua-faq-detail__nav-meta svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ================================
   반응형 - 공지사항 / FAQ
   ================================ */
@media (max-width: 768px) {
  .ua-notice-hero {
    padding: 50px 20px;
  }

  .ua-faq__inner {
    padding: 20px 16px 60px;
  }

  .ua-faq-search {
    height: 48px;
    padding: 0 12px;
    gap: 8px;
    margin-bottom: 30px;
  }

  .ua-faq-search__select {
    width: auto;
  }

  .ua-faq-search__select-text {
    font-size: 15px;
  }

  .ua-faq-search__input {
    font-size: 15px;
  }

  .ua-faq-search__btn {
    width: 24px;
    height: 24px;
  }

  .ua-faq-search__btn svg {
    width: 13px;
    height: 13px;
  }

  .ua-notice-hero__title {
    font-size: 28px;
  }

  .ua-notice-hero__desc {
    font-size: 14px;
  }

  .ua-notice__inner {
    padding: 20px 16px 60px;
  }

  .ua-notice-search {
    height: 48px;
    padding: 0 12px;
    gap: 8px;
    margin-bottom: 30px;
  }

  .ua-notice-search__select {
    width: auto;
  }

  .ua-notice-search__select-text {
    font-size: 15px;
  }

  .ua-notice-search__input {
    font-size: 15px;
  }

  .ua-board-table__empty {
    min-height: 340px;
    padding: 40px 16px;
    border-radius: 18px;
  }

  .ua-board-empty {
    gap: 20px;
  }

  .ua-board-empty--search {
    gap: 40px;
  }

  .ua-board-empty__figure {
    width: min(220px, 100%);
  }

  .ua-board-empty--search .ua-board-empty__figure {
    width: min(200px, 100%);
  }

  .ua-board-empty__desc {
    font-size: 15px;
  }

  /* 공통 게시판 테이블 반응형 */
  .ua-board-table__header {
    display: none;
  }

  .ua-board-table__row {
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 16px 10px;
    gap: 8px;
  }

  .ua-board-table__row-left {
    width: 100%;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    order: 1;
    margin-bottom: 8px;
  }

  .ua-board-table__col--no {
    display: none;
  }

  .ua-board-table__col--type {
    width: auto;
    margin-bottom: 8px;
  }

  .ua-board-table__col--title {
    display: block;
    min-width: 0;
    width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .ua-board-table__col--author {
    order: 2;
    width: auto;
    margin-left: 0;
    justify-content: flex-start;
  }

  .ua-board-table__col--date {
    order: 3;
    width: auto;
    margin-left: 10px;
  }

  .ua-board-table__col--views {
    order: 4;
    width: auto;
    margin-left: 10px;
  }

  .ua-board-table__row .ua-board-table__col--title {
    font-size: 15px;
    line-height: 1.5;
  }

  .ua-board-table__row .ua-board-table__col--author,
  .ua-board-table__row .ua-board-table__col--date,
  .ua-board-table__row .ua-board-table__col--views {
    font-size: 13px;
    line-height: 1.4;
  }

  .ua-notice-detail__inner {
    gap: 24px;
  }

  .ua-notice-detail__title {
    font-size: 18px;
  }

  .ua-notice-detail__meta {
    flex-direction: column;
    gap: 8px;
  }

  .ua-notice-detail__meta-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .ua-notice-detail__meta-item {
    font-size: 14px;
  }

  .ua-notice-detail__image-placeholder {
    height: 200px;
  }

  .ua-notice-detail__banner {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    text-align: center;
  }

  .ua-notice-detail__banner-content {
    align-items: center;
  }

  .ua-notice-detail__banner-text {
    font-size: 14px;
  }

  .ua-notice-detail__banner-highlight {
    font-size: 20px;
  }

  .ua-notice-detail__nav-item {
    flex-wrap: wrap;
    gap: 8px;
  }

  .ua-notice-detail__nav-title {
    width: 100%;
    margin-left: 0;
    order: 2;
  }

  .ua-notice-detail__nav-date {
    order: 3;
    font-size: 14px;
  }

  /* FAQ 상세 네비게이션 반응형 */
  .ua-faq-detail__nav-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 12px;
  }

  .ua-faq-detail__nav-left {
    gap: 8px;
  }

  .ua-faq-detail__nav-label svg {
    width: 20px;
    height: 20px;
  }

  .ua-faq-detail__nav-title {
    font-size: 15px;
    -webkit-line-clamp: 2;
  }

  .ua-faq-detail__nav-right {
    gap: 12px;
  }

  .ua-faq-detail__nav-meta span {
    font-size: 13px;
  }
}

/* ================================
   게시글 상세
   ================================ */
.fo-article {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.fo-article-header {
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 32px;
}

.fo-article-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.4;
}

.fo-article-meta {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: #888;
}

.fo-article-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.fo-article-content img {
  max-width: 100%;
  height: auto;
  margin: 24px 0;
}

.fo-article-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}

/* 첨부파일 */
.fo-attachments {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}

.fo-attachments-title {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  margin-bottom: 12px;
}

.fo-attachment-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  color: #3182f6;
  text-decoration: none;
}

.fo-attachment-item:hover {
  text-decoration: underline;
}

/* 이전/다음 글 */
.fo-article-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}

.fo-article-nav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

.fo-article-nav-item:hover {
  background: #e9ecef;
}

.fo-article-nav-label {
  width: 60px;
  font-size: 13px;
  color: #888;
}

.fo-article-nav-title {
  flex: 1;
  font-size: 15px;
}

/* 목록 버튼 */
.fo-btn-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.fo-btn-list:hover {
  background: #333;
}

/* ================================
   1:1 문의
   ================================ */
.fo-inquiry-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.fo-form-group {
  margin-bottom: 24px;
}

.fo-form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.fo-form-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
}

.fo-form-textarea {
  width: 100%;
  min-height: 200px;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  resize: vertical;
}

.fo-form-input:focus,
.fo-form-textarea:focus {
  outline: none;
  border-color: #3182f6;
}

.fo-form-file {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fo-form-file-btn {
  height: 40px;
  padding: 0 20px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

.fo-form-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.fo-form-file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 4px;
  font-size: 13px;
}

.fo-form-file-remove {
  width: 20px;
  height: 20px;
  background: #ddd;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
}

.fo-form-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.fo-btn-submit {
  height: 52px;
  padding: 0 48px;
  background: #1e60d6;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.fo-btn-submit:hover {
  background: #1b64da;
}

.fo-btn-cancel {
  height: 52px;
  padding: 0 48px;
  background: #fff;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.fo-btn-cancel:hover {
  background: #f8f9fa;
  border-color: #ccc;
}

/* ================================
   1:1 문의 Figma Layout
   ================================ */
.ua-inquiry {
  width: 100%;
  padding: 72px 20px 120px;
}

.ua-inquiry__inner {
  max-width: 918px;
  margin: 0 auto;
}

.ua-inquiry__header {
  margin-bottom: 20px;
}

.ua-inquiry__title {
  margin: 0;
  color: #000;
  font-family: "Pretendard", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.ua-inquiry__desc {
  margin: 10px 0 0;
  color: #b5b5b5;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.ua-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ua-inquiry-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ua-inquiry-field__label {
  color: #000;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.32px;
}

.ua-inquiry-input,
.ua-inquiry-textarea {
  position: relative;
  border: 1px solid #ffde00;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
}

.ua-inquiry-input {
  min-height: 62px;
}

.ua-inquiry-textarea {
  min-height: 260px;
}

.ua-inquiry-input__control,
.ua-inquiry-textarea__control {
  width: 100%;
  border: 0;
  outline: none;
  resize: none;
  background: transparent;
  color: #b5b5b5;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  box-sizing: border-box;
}

.ua-inquiry-input__control {
  height: 62px;
  padding: 20px 108px 20px 20px;
}

.ua-inquiry-textarea__control {
  display: block;
  min-height: 260px;
  height: 100%;
  padding: 20px 20px 54px;
  appearance: none;
  box-shadow: none;
}

.ua-inquiry-input__control:focus,
.ua-inquiry-textarea__control:focus {
  border: 0;
  outline: none;
  box-shadow: none;
}

.ua-inquiry-input__control::placeholder,
.ua-inquiry-textarea__control::placeholder {
  color: #b5b5b5;
}

.ua-inquiry-input__counter,
.ua-inquiry-textarea__counter {
  position: absolute;
  color: #b5b5b5;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.ua-inquiry-input__counter {
  top: 20px;
  right: 20px;
}

.ua-inquiry-textarea__counter {
  right: 20px;
  bottom: 18px;
}

.ua-inquiry-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: 236px;
  padding: 64px 40px;
  border-radius: 12px;
  border: 0;
  background: #f6f6f6;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}

.ua-inquiry-upload.is-dragover {
  background: #f0f0f0;
}

.ua-inquiry-upload__text {
  margin: 0;
  color: #1e2124;
  font-family: "Pretendard", sans-serif;
  font-size: 19px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0;
}

.ua-inquiry-upload__button {
  min-width: 0;
  height: auto;
  padding: 5px 10px;
  border: 0;
  border-radius: 5px;
  background: #ffde00;
  color: #000;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  cursor: pointer;
}

.ua-inquiry-upload__files {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ua-inquiry-upload__file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-radius: 12px;
  background: #f8f8f8;
}

.ua-inquiry-upload__file-name {
  color: #1a1a1a;
  font-family: "Pretendard", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  word-break: break-all;
}

.ua-inquiry-upload__file-remove {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #ff8a00;
  font-family: "Pretendard", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  cursor: pointer;
}

.ua-inquiry-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.ua-inquiry-actions__button {
  min-width: 0;
  min-height: 59px;
  padding: 15px 24px;
  border-radius: 5px;
  border: 0;
  font-family: "Pretendard", sans-serif;
  font-size: 19px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

.ua-inquiry-actions__button--secondary {
  background: #d3d3d3;
  color: #979797;
}

.ua-inquiry-actions__button--primary {
  background: #ffde00;
  color: #000;
}

/* ================================
   서비스 이용 신청 (약관/신청) - Inquiry 유사 톤
   ================================ */
.ua-apply-page {
  width: 100%;
  padding: 72px 20px 120px;
}

.ua-apply-page__inner {
  max-width: 918px;
  margin: 0 auto;
}

.ua-apply-page__header {
  margin-bottom: 24px;
}

.ua-apply-page__title {
  margin: 0;
  color: #000;
  font-family: "Pretendard", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
}

.ua-apply-page__step {
  margin: 10px 0 0;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f6f6f6;
  color: #1e2124;
  font-family: "Pretendard", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.ua-apply-page__subtitle {
  margin: 10px 0 0;
  color: #b5b5b5;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
}

.ua-apply-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ua-apply-section {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ua-apply-section legend {
  margin: 0;
  padding: 0;
  color: #000;
  font-family: "Pretendard", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.ua-apply-section__note {
  margin: 0;
  color: #7d7d7d;
  font-family: "Pretendard", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.ua-apply-section__warn {
  margin: 0;
  color: #ff8a00;
  font-family: "Pretendard", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.ua-apply-terms {
  border: 1px solid #ffde00;
  background: #fff;
}

.ua-apply-terms__loading,
.ua-apply-terms__empty,
.ua-apply-terms__error {
  margin: 0;
  padding: 20px;
  color: #7d7d7d;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.ua-apply-terms__item {
  border-top: 1px solid #f2f2f2;
}

.ua-apply-terms__item:first-child {
  border-top: 0;
}

.ua-apply-terms__item > label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
}

.ua-apply-terms__item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.ua-apply-terms__label {
  color: #1e2124;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

.ua-apply-terms__label strong {
  color: #000;
  font-weight: 700;
}

.ua-apply-terms__label em {
  color: #7d7d7d;
  font-style: normal;
}

.ua-apply-terms__detail {
  border-top: 1px dashed #ececec;
  padding: 0 20px 16px;
}

.ua-apply-terms__detail summary {
  padding: 12px 0;
  cursor: pointer;
  color: #4b5563;
  font-family: "Pretendard", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.ua-apply-terms__detail > div {
  color: #5f6368;
  font-family: "Pretendard", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.ua-apply-terms__all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1e2124;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.ua-apply-terms__all input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.ua-apply-info {
  margin: 0;
  border: 1px solid #ffde00;
  background: #fff;
}

.ua-apply-info > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  border-top: 1px solid #f2f2f2;
}

.ua-apply-info > div:first-child {
  border-top: 0;
}

.ua-apply-info dt,
.ua-apply-info dd {
  margin: 0;
  padding: 16px 18px;
  font-family: "Pretendard", sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.ua-apply-info dt {
  color: #1e2124;
  font-weight: 600;
  background: #f8f8f8;
}

.ua-apply-info dd {
  color: #4b5563;
  font-weight: 400;
}

.ua-apply-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ua-apply-field > span {
  color: #000;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.32px;
}

.ua-apply-field input[type="text"],
.ua-apply-field input[type="file"] {
  width: 100%;
  min-height: 62px;
  border: 1px solid #ffde00;
  background: #fff;
  color: #1e2124;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  box-sizing: border-box;
}

.ua-apply-field input[type="text"] {
  padding: 20px;
}

.ua-apply-field input[type="text"]::placeholder {
  color: #b5b5b5;
}

.ua-apply-field input[type="text"]:focus,
.ua-apply-field input[type="file"]:focus {
  outline: none;
  box-shadow: none;
}

.ua-apply-field input[type="file"] {
  padding: 14px 16px;
}

.ua-apply-field small {
  color: #7d7d7d;
  font-family: "Pretendard", sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

.ua-apply-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.ua-apply-actions button {
  min-width: 0;
  min-height: 59px;
  padding: 15px 24px;
  border-radius: 5px;
  border: 0;
  font-family: "Pretendard", sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 150%;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

.ua-apply-actions__cancel,
.ua-apply-actions__prev {
  background: #d3d3d3;
  color: #979797;
}

.ua-apply-actions__next,
.ua-apply-actions__submit {
  background: #ffde00;
  color: #000;
}

.ua-apply-actions__next:disabled,
.ua-apply-actions__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .ua-inquiry {
    padding: 48px 16px 80px;
  }

  .ua-inquiry__title {
    font-size: 20px;
  }

  .ua-inquiry-input__control {
    padding-right: 88px;
  }

  .ua-inquiry-textarea__control {
    min-height: 240px;
  }

  .ua-inquiry-upload {
    gap: 24px;
    min-height: 200px;
    padding: 40px 20px;
  }

  .ua-inquiry-upload__text {
    font-size: 16px;
  }

  .ua-inquiry-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ua-inquiry-actions__button {
    width: 100%;
  }

  .ua-apply-page {
    padding: 48px 16px 80px;
  }

  .ua-apply-page__title {
    font-size: 20px;
  }

  .ua-apply-info > div {
    grid-template-columns: 1fr;
  }

  .ua-apply-info dt {
    padding-bottom: 8px;
  }

  .ua-apply-info dd {
    padding-top: 0;
  }

  .ua-apply-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ua-apply-actions button {
    width: 100%;
  }
}

/* ================================
   마이페이지
   ================================ */
.ua-mypage {
  max-width: 1175px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  color: #fff;
}

.ua-mypage::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 8, 54, 0.96) 0%, rgba(7, 18, 72, 0.94) 48%, rgba(48, 102, 191, 0.8) 100%),
    url("/img/main/content/background.svg") center top / cover no-repeat;
}

.ua-mypage-strip {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.ua-mypage-strip__profile,
.ua-mypage-strip__services {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
}

.ua-mypage-strip__profile {
  flex: 0 0 328px;
  padding: 30px;
}

.ua-mypage-strip__services {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 36px;
  justify-content: center;
  min-width: 0;
  padding: 46px 30px;
  overflow: hidden;
}

.ua-mypage-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  text-align: center;
}

.ua-mypage-state--panel {
  width: 100%;
}

.ua-mypage-profile-card {
  position: relative;
  padding-bottom: 50px;
  color: #fff;
}

.ua-mypage-profile-card__headline {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ua-mypage-profile-card__avatar-button {
  position: relative;
  width: 72px;
  height: 72px;
  min-width: 72px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.ua-mypage-profile-card__avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  flex: 0 0 auto;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.18);
}

.ua-mypage-profile-card__avatar-edit {
  position: absolute;
  top: -2px;
  right: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #ffde00;
  border: 1px solid #1f2937;
  color: #1f2937;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.ua-mypage-profile-card__avatar-button:hover .ua-mypage-profile-card__avatar-edit,
.ua-mypage-profile-card__avatar-button:focus-visible .ua-mypage-profile-card__avatar-edit {
  background: #f5b400;
}

.ua-mypage-profile-card__avatar-button:focus-visible {
  outline: 2px solid #ffde00;
  outline-offset: 2px;
}

.ua-mypage-profile-card__title {
  color: #fff;
  font-family: "Gmarket Sans TTF", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.ua-mypage-profile-card__title strong {
  color: #ffde00;
  font-weight: 700;
}

.ua-mypage-profile-card__divider {
  height: 1px;
  margin: 20px 0;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(-0.18deg);
}

.ua-mypage-profile-card__meta {
  display: grid;
  gap: 10px;
}

.ua-mypage-profile-card__row {
  display: flex;
  align-items: flex-end;
  gap: 50px;
  color: #fff;
  font-size: 16px;
  line-height: normal;
}

.ua-mypage-profile-card__label {
  width: 80px;
  flex: 0 0 80px;
  font-weight: 700;
}

.ua-mypage-profile-card__value {
  font-weight: 400;
}

.ua-mypage-profile-card__logout {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #1e60d6;
  background: #1e60d6;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.ua-mypage-profile-card__logout:hover,
.ua-mypage-profile-card__logout:focus-visible {
  background: #1851b8;
  border-color: #1851b8;
}

.ua-mypage-service-strip {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
}

.ua-mypage-service-strip__title {
  color: #fff;
  font-family: "Gmarket Sans TTF", sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.ua-mypage-service-strip__title strong {
  color: #ffde00;
  font-weight: 700;
}

.ua-mypage-service-strip__list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  width: 100%;
}

.ua-mypage-service-strip__list .ua-mypage-service-tile {
  flex: 0 1 108px;
  min-width: 0;
}

.ua-mypage-service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 96px;
  color: #fff;
}

.ua-mypage-service-tile__controls {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 18px;
}

.ua-mypage-service-tile__star,
.ua-mypage-service-tile__tooltip-btn {
  width: 18px;
  height: 18px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
}

.ua-mypage-service-tile__star.is-active {
  color: #ffde00;
}

.ua-mypage-service-tile__tooltip-btn {
  border-radius: 50%;
  font-family: "Gmarket Sans TTF", sans-serif;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.ua-mypage-service-tile__tooltip {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 20;
  width: 220px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(16, 24, 56, 0.95);
  color: #fff;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-line;
  word-break: break-word;
  transform: translateX(-50%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.ua-mypage-service-tile__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 96px;
  height: 110px;
  padding: 12px;
  border-radius: 7px;
  background: #f8f8f8;
}

.ua-mypage-service-tile__card[data-service-open] {
  cursor: pointer;
}

.ua-mypage-service-tile.is-pending .ua-mypage-service-tile__card {
  background: #ffde00;
  box-shadow: 0 4px 20px rgba(255, 222, 0, 0.5);
}

.ua-mypage-service-tile.is-rejected .ua-mypage-service-tile__card {
  background: #ffe3e3;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.18);
}

.ua-mypage-service-tile__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 40px;
}

.ua-mypage-service-tile__icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ua-mypage-service-tile__visual {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ua-mypage-service-tile__logo {
  display: block;
  height: 10px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.ua-mypage-service-tile__name {
  display: block;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  word-break: keep-all;
}

.ua-mypage-service-tile__status {
  position: relative;
  padding-right: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
}

.ua-mypage-service-tile__status::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #00c73c;
  transform: translateY(-50%);
}

.ua-mypage-service-tile__apply-btn {
  min-width: 64px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.ua-mypage-service-tile__unavailable {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
  line-height: 28px;
}

.ua-mypage-service-tile__apply-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.ua-mypage-service-tile__apply-btn:focus-visible {
  outline: 2px solid #ffde00;
  outline-offset: 2px;
}

.ua-mypage-service-tile.is-pending .ua-mypage-service-tile__status::after {
  display: none;
}

.ua-mypage-service-tile.is-rejected .ua-mypage-service-tile__status {
  color: #ffb4b4;
}

.ua-mypage-service-tile.is-rejected .ua-mypage-service-tile__status::after {
  display: none;
}

.ua-mypage-actions {
  margin-top: 24px;
  padding: 24px 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.ua-mypage-actions__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #f5f7fb;
  letter-spacing: -0.3px;
}

.ua-mypage-actions__buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ua-mypage-actions__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #f5f7fb;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.ua-mypage-actions__btn:hover,
.ua-mypage-actions__btn:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

.ua-mypage-actions__btn--primary {
  background: #1e60d6;
  color: #fff;
  border-color: #1e60d6;
}

.ua-mypage-actions__btn--primary:hover,
.ua-mypage-actions__btn--primary:focus-visible {
  background: #1851b8;
  border-color: #1851b8;
}

.ua-mypage-actions__btn--admin {
  background: #f5b400;
  color: #1a1a1a;
  border-color: #f5b400;
  text-decoration: none;
}

.ua-mypage-actions__btn--admin:hover,
.ua-mypage-actions__btn--admin:focus-visible {
  background: #d99a00;
  border-color: #d99a00;
}

.ua-mypage-group-card__service-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
}

.ua-mypage-group-card__service-item {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #f8fbff;
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
}

.ua-mypage-group-card__service-item--more {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.08);
  color: #dbe7ff;
}

@media (max-width: 768px) {
  .ua-mypage-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .ua-mypage-actions__buttons {
    width: 100%;
  }
  .ua-mypage-actions__btn {
    flex: 1;
    min-width: 0;
  }

  .ua-mypage-profile-card__logout {
    position: static;
    margin-top: 14px;
  }
}

.ua-mypage-groups {
  padding: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
}

.ua-mypage-groups[hidden] {
  display: none !important;
}

.ua-mypage-groups__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ua-mypage-groups__title {
  color: #fff;
  font-family: "Gmarket Sans TTF", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
}

.ua-mypage-groups__ghost,
.ua-mypage-groups__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.ua-mypage-groups__ghost {
  background: transparent;
  color: transparent;
}

.ua-mypage-groups__primary {
  background: #ffde00;
  color: #111;
}

.ua-mypage-groups__primary:hover,
.ua-mypage-groups__primary:focus-visible {
  background: #f5b400;
  color: #1a1a1a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.ua-mypage-groups__divider {
  height: 1px;
  margin: 20px 0 16px;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(-0.18deg);
}

.ua-mypage-groups__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1075px);
  margin: 0 auto;
  gap: 0;
  flex-wrap: nowrap;
}

.ua-mypage-group-card {
  width: 240px;
  min-height: 198px;
  padding: 30px 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ua-mypage-group-card.is-readonly {
  cursor: default;
}

.ua-mypage-group-card:hover {
  border-color: #ffde00;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
}

.ua-mypage-group-card.is-readonly:hover {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

.ua-mypage-group-card:focus-visible {
  border-color: #ffde00;
  outline: 2px solid #ffde00;
  outline-offset: 2px;
}

.ua-mypage-group-card__title {
  width: 200px;
  margin-bottom: 30px;
  color: #fff;
  font-family: "Gmarket Sans TTF", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.ua-mypage-group-card__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ua-mypage-group-card__row {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

.ua-mypage-group-card__icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
}

.ua-mypage-groups__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex: 0 0 23px;
}

.ua-mypage-groups__arrow--next {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
}

.ua-mypage-groups__arrow:disabled {
  background: transparent;
  cursor: default;
}

.ua-mypage-groups__arrow:not(:disabled) {
  background: rgba(255, 222, 0, 0.1);
}

.ua-mypage-groups__arrow-icon {
  display: block;
  width: 15px;
  height: 15px;
}

.ua-mypage-groups__arrow:disabled .ua-mypage-groups__arrow-icon {
  filter: brightness(0) invert(1);
}

.ua-mypage-groups__arrow-icon--prev {
  transform: rotate(180deg);
}

.ua-mypage-banner {
  position: relative;
  overflow: hidden;
  min-height: 189px;
  border-radius: 20px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.ua-mypage-banner__image {
  display: block;
  width: 100%;
  height: auto;
}

/* ================================
   반응형
   ================================ */
@media (max-width: 768px) {
  .fo-board-title {
    font-size: 24px;
  }

  .fo-table-header {
    display: none;
  }

  .fo-table-row {
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .fo-table-col--no {
    display: none;
  }

  .fo-table-col--title {
    width: 100%;
    margin-bottom: 8px;
  }

  .fo-table-col--author,
  .fo-table-col--date,
  .fo-table-col--views {
    width: auto;
    font-size: 13px;
  }

  .fo-article-title {
    font-size: 22px;
  }

  .fo-article-meta {
    flex-wrap: wrap;
    gap: 12px;
  }

  .ua-mypage {
    padding: 24px 16px 60px;
  }

  .ua-mypage-strip {
    flex-direction: column;
  }

  .ua-mypage-strip__profile,
  .ua-mypage-strip__services {
    flex: 1 1 auto;
    width: 100%;
    padding: 24px 20px;
  }

  .ua-mypage-service-strip__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-items: center;
    row-gap: 18px;
  }

  .ua-mypage-groups {
    padding: 24px 20px;
  }

  .ua-mypage-groups__head {
    gap: 12px;
    flex-wrap: wrap;
  }

  .ua-mypage-groups__list {
    gap: 16px;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
  }

  .ua-mypage-group-card {
    width: 240px;
    flex: 0 0 240px;
  }

  .ua-mypage-groups__arrow {
    flex: 0 0 23px;
  }

  .ua-mypage-profile-card__row {
    gap: 20px;
    font-size: 14px;
  }

  .ua-mypage-profile-card__avatar-button {
    width: 64px;
    height: 64px;
    min-width: 64px;
  }
}

/* ================================
   FO MyPage 1:1 문의 목록 (WC2-255)
   - groups__list는 카드 가로 정렬용이지만 inquiries 섹션은 세로 ul 리스트
   - 제목/날짜 간격 확장, hover 통일
   ================================ */
.ua-mypage-inquiries .ua-mypage-groups__list {
  display: block;
  width: 100%;
}

.ua-mypage-groups__ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ua-mypage-groups__ul .ua-mypage-groups__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: border-color 0.15s, background-color 0.15s;
}

.ua-mypage-groups__ul .ua-mypage-groups__item:hover {
  border-color: rgba(255, 222, 0, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

.ua-mypage-groups__name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ua-mypage-groups__meta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .ua-mypage-groups__ul .ua-mypage-groups__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
  }
  .ua-mypage-groups__name {
    white-space: normal;
  }
}

/* ================================
   FO Edutech Apply Popup
   ================================ */
.ua-edutech-apply-popup {
  width: 100%;
  padding: 28px 20px 40px;
}

.ua-edutech-apply-popup__window {
  max-width: 918px;
  margin: 0 auto;
  border: 1px solid #ffde00;
  background: #fff;
  color: #1e2124;
}

.ua-edutech-apply-popup__header {
  min-height: 62px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ffde00;
  background: #fff;
}

.ua-edutech-apply-popup__title {
  margin: 0;
  color: #000;
  font-family: "Pretendard", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
}

.ua-edutech-apply-popup__close {
  min-width: 0;
  border: 0;
  border-radius: 5px;
  background: #f6f6f6;
  color: #6a6a6a;
  font-family: "Pretendard", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 8px 12px;
  cursor: pointer;
}

.ua-edutech-apply-popup__url {
  margin: 0;
  padding: 16px 20px 0;
}

.ua-edutech-apply-popup__url a {
  display: block;
  min-height: 50px;
  padding: 14px 16px;
  border: 1px solid #ffde00;
  background: #fff;
  color: #6b7280;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  text-decoration: none;
  box-sizing: border-box;
}

.ua-edutech-apply-popup__content {
  padding: 20px;
}

.ua-edutech-apply-popup__lead {
  margin: 6px 0 0;
  color: #000;
  font-family: "Pretendard", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  word-break: keep-all;
}

.ua-edutech-apply-popup__divider {
  margin: 24px 0 20px;
  border-top: 1px solid #ececec;
}

.ua-edutech-apply-popup__body {
  display: flex;
  gap: 20px;
}

.ua-edutech-apply-popup__table {
  flex: 1 1 0;
  min-width: 0;
  border-collapse: collapse;
  background: #fff;
}

.ua-edutech-apply-popup__table th,
.ua-edutech-apply-popup__table td {
  border: 1px solid #ececec;
  padding: 14px 14px;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.ua-edutech-apply-popup__table th {
  width: 110px;
  background: #fafafa;
  text-align: left;
  color: #000;
  font-weight: 700;
}

.ua-edutech-apply-popup__table td a {
  color: #1d4ed8;
  text-decoration: underline;
}

.ua-edutech-apply-popup__guide {
  flex: 0 0 300px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #ececec;
  background: #fafafa;
  box-sizing: border-box;
}

.ua-edutech-apply-popup__guide-title {
  margin: 0 0 12px;
  color: #000;
  font-family: "Pretendard", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.ua-edutech-apply-popup__guide p {
  margin: 0 0 10px;
  color: #4b5563;
  font-family: "Pretendard", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.ua-edutech-apply-popup__footer {
  padding: 0 20px 20px;
}

.ua-edutech-apply-popup__loading {
  margin: 0 0 10px;
  color: #9ca3af;
  font-family: "Pretendard", sans-serif;
  font-size: 14px;
}

.ua-edutech-apply-popup__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.ua-edutech-apply-popup__cancel,
.ua-edutech-apply-popup__submit {
  min-width: 210px;
  min-height: 59px;
  padding: 15px 24px;
  border-radius: 5px;
  border: 0;
  font-family: "Pretendard", sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 150%;
  cursor: pointer;
}

.ua-edutech-apply-popup__cancel {
  background: #d3d3d3;
  color: #979797;
}

.ua-edutech-apply-popup__submit {
  background: #ffde00;
  color: #000;
}

.ua-edutech-apply-popup__submit:disabled {
  opacity: 0.55;
  cursor: default;
}

@media (max-width: 900px) {
  .ua-edutech-apply-popup {
    padding: 16px 12px 24px;
  }

  .ua-edutech-apply-popup__body {
    flex-direction: column;
    gap: 14px;
  }

  .ua-edutech-apply-popup__table,
  .ua-edutech-apply-popup__guide {
    width: 100%;
  }

  .ua-edutech-apply-popup__lead {
    font-size: 26px;
  }

  .ua-edutech-apply-popup__cancel,
  .ua-edutech-apply-popup__submit {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 17px;
  }
}

/* ================================
   FO Login
   ================================ */
.ua-login-page {
  min-height: 100vh;
  background: url("/img/login/pattern.png") repeat center top, #fff;
  color: #111;
}

.ua-login-page *,
.ua-login-page *::before,
.ua-login-page *::after {
  box-sizing: border-box;
}

.ua-auth-login {
  position: relative;
  overflow: hidden;
}

.ua-auth-login::before,
.ua-auth-login::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ua-auth-login::before {
  background:
    radial-gradient(circle at 12% 30%, rgba(215, 243, 250, 0.8) 0, rgba(215, 243, 250, 0.8) 32px, transparent 33px),
    radial-gradient(circle at 80% 18%, rgba(255, 245, 184, 0.55) 0, rgba(255, 245, 184, 0.55) 28px, transparent 29px),
    radial-gradient(circle at 85% 78%, rgba(223, 227, 255, 0.7) 0, rgba(223, 227, 255, 0.7) 42px, transparent 43px),
    radial-gradient(circle at 24% 82%, rgba(245, 227, 188, 0.75) 0, rgba(245, 227, 188, 0.75) 48px, transparent 49px);
  opacity: 0.9;
}

.ua-auth-login__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 446px;
  margin: 0 auto;
  padding: 136px 0 175px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ua-auth-login__hero {
  margin-bottom: 20px;
}

.ua-auth-login__hero-image {
  width: 303px;
  max-width: 100%;
  height: auto;
  display: block;
}

.ua-auth-login__title {
  margin: 0 0 26px;
  text-align: center;
  font-family: "Gmarket Sans TTF", sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.6px;
  color: #111;
}

.ua-auth-login__title-icon {
  display: inline-block;
  width: 29px;
  height: 29px;
  margin-left: 4px;
  vertical-align: middle;
}

.ua-auth-login__form {
  width: 100%;
}

.ua-auth-login__field + .ua-auth-login__field {
  margin-top: 12px;
}

.ua-auth-login__label {
  display: block;
  margin-bottom: 10px;
  font-family: "Pretendard", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.36px;
  color: #111;
}

.ua-auth-login__input {
  width: 100%;
  height: 40px;
  padding: 0 15px;
  border: 1px solid #b5b5b5;
  border-radius: 10px;
  background: #fff;
  font-family: "Pretendard", sans-serif;
  font-size: 12px;
  color: #111;
}

.ua-auth-login__input::placeholder {
  color: #b5b5b5;
}

.ua-auth-login__input:focus {
  outline: none;
  border-color: #111;
}

.ua-auth-login__error {
  min-height: 18px;
  margin-top: 6px;
  font-size: 12px;
  color: #d93025;
}

.ua-auth-login__options {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 8px;
}

.ua-auth-login__check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.ua-auth-login__check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ua-auth-login__check-box {
  width: 24px;
  height: 24px;
  border: 1px solid #58616a;
  border-radius: 4px;
  background: #fff;
  position: relative;
  flex: 0 0 auto;
}

.ua-auth-login__check input:checked + .ua-auth-login__check-box {
  background: #ffde00;
  border-color: #ffde00;
}

.ua-auth-login__check input:checked + .ua-auth-login__check-box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 2px;
  width: 7px;
  height: 13px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(40deg);
}

.ua-auth-login__check-label {
  font-family: "Pretendard", sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  color: #131416;
}

.ua-auth-login__submit {
  width: 100%;
  margin-top: 24px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.ua-auth-login__help {
  margin: 16px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #929292;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.32px;
}

.ua-auth-login__help img {
  width: 15px;
  height: 15px;
}

@media (max-width: 860px) {
  .ua-auth-login__inner {
    padding: 72px 20px 80px;
  }

  .ua-auth-login__hero-image {
    width: 240px;
  }

  .ua-auth-login__title {
    font-size: 24px;
  }

  .ua-auth-login__options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .ua-auth-login__check-label {
    font-size: 16px;
  }
}

.ua-modal-open {
  overflow: hidden;
}

.ua-common-modal[hidden] {
  display: none;
}

.ua-common-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.ua-common-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 20, 22, 0.44);
}

.ua-common-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 392px);
  background: #fff;
  border: 1px solid #b1b8be;
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14);
  padding: 24px;
  box-sizing: border-box;
}

.ua-common-modal__close-row {
  display: flex;
  justify-content: flex-end;
}

.ua-common-modal__close {
  width: 24px;
  height: 24px;
  border: 0;
  padding: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.ua-common-modal__close::before,
.ua-common-modal__close::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 3px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #1e2124;
}

.ua-common-modal__close::before {
  transform: rotate(45deg);
}

.ua-common-modal__close::after {
  transform: rotate(-45deg);
}

.ua-common-modal__content {
  padding: 8px 16px;
}

.ua-common-modal__title {
  margin: 0;
  color: #1e2124;
  font-family: "Pretendard", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

.ua-common-modal__message {
  margin-top: 16px;
  color: #1e2124;
  font-family: "Pretendard", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

.ua-common-modal__message p {
  margin: 0;
  min-height: 1.5em;
}

.ua-common-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 16px 0;
}

.ua-common-modal__actions--single {
  gap: 0;
}

.ua-common-modal__button {
  min-width: 100px;
  height: 46px;
  border: 0;
  border-radius: 5px;
  padding: 10px 20px;
  font-family: "Pretendard", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}

.ua-common-modal__button--primary {
  background: #ffde00;
  color: #000;
}

.ua-common-modal__button--secondary {
  background: #d3d3d3;
  color: #979797;
}

.ua-inquiry-actions__button.is-disabled,
.ua-inquiry-actions__button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .ua-common-modal__dialog {
    width: 100%;
    padding: 20px 16px 16px;
  }

  .ua-common-modal__content {
    padding-inline: 8px;
  }

  .ua-common-modal__title {
    font-size: 22px;
  }

  .ua-common-modal__message {
    font-size: 16px;
  }

  .ua-common-modal__actions {
    padding-inline: 8px;
  }
}

.ua-login-required {
  min-height: calc(100vh - 33.1rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 110px;
  background: #fff;
}

.ua-login-required__inner {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ua-login-required__hero {
  margin-bottom: 28px;
}

.ua-login-required__hero-image {
  display: block;
  width: 224px;
  max-width: 100%;
  height: auto;
}

.ua-login-required__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ua-login-required__title {
  margin: 0;
  color: #4b5563;
  font-family: "Pretendard", sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.5px;
}

.ua-login-required__desc {
  margin: 0;
  color: #4b5563;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.32px;
}

.ua-login-required__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.ua-login-required__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 59px;
  padding: 15px 24px;
  border-radius: 5px;
  font-family: "Pretendard", sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.38px;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
  background: #ffde00;
  color: #111;
}

.ua-login-required__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

@media (max-width: 860px) {
  .ua-login-required {
    min-height: auto;
    padding: 64px 20px 80px;
  }

  .ua-login-required__hero {
    margin-bottom: 20px;
  }

  .ua-login-required__hero-image {
    width: 180px;
  }

  .ua-login-required__title {
    font-size: 22px;
  }

  .ua-login-required__desc {
    font-size: 15px;
  }

  .ua-login-required__actions {
    width: 100%;
    flex-direction: column;
  }

  .ua-login-required__button {
    width: 100%;
    max-width: 280px;
    min-height: 54px;
    font-size: 17px;
  }
}

.ua-fo-error {
  min-height: calc(100vh - 33.1rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 76px 20px 96px;
  background: #fff;
}

.ua-fo-error__inner {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ua-fo-error__hero {
  position: relative;
  margin-bottom: 24px;
}

.ua-fo-error__hero-image {
  display: block;
  width: 208px;
  max-width: 100%;
  height: auto;
}

.ua-fo-error__badge-icon {
  position: absolute;
  right: 2px;
  bottom: 6px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(17, 17, 17, 0.16);
}

.ua-fo-error__badge-icon img {
  width: 24px;
  height: 24px;
}

.ua-fo-error__title {
  margin: 0;
  color: #b3b3b3;
  font-family: "Pretendard", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.76px;
}

.ua-fo-error__desc {
  margin: 12px 0 0;
  color: #b3b3b3;
  font-family: "Pretendard", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.48px;
}

.ua-fo-error__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.ua-fo-error__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 59px;
  padding: 15px 24px;
  border: 0;
  border-radius: 5px;
  font-family: "Pretendard", sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.38px;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
  background: #ffde00;
  color: #111;
  cursor: pointer;
}

.ua-fo-error__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.ua-fo-error__button--secondary {
  background: #d3d3d3;
  color: #8a8a8a;
}

@media (max-width: 860px) {
  .ua-fo-error {
    min-height: auto;
    padding: 64px 20px 80px;
  }

  .ua-fo-error__hero-image {
    width: 172px;
  }

  .ua-fo-error__title {
    font-size: 27px;
  }

  .ua-fo-error__desc {
    font-size: 16px;
  }

  .ua-fo-error__actions {
    width: 100%;
    flex-direction: column;
  }

  .ua-fo-error__button {
    width: 100%;
    max-width: 280px;
    min-height: 54px;
    font-size: 17px;
  }
}

/* ========================================================
 * USE-FO-1080 / 1090 — 로그인·회원가입 폼
 * ====================================================== */
.ua-auth {
  padding: 60px 20px 80px;
  background: #0e1633;
  min-height: 70vh;
}

.ua-auth__inner {
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 40px 32px;
}

.ua-auth__header {
  text-align: center;
  margin-bottom: 28px;
}

.ua-auth__title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  color: #f5f7fb;
}

.ua-auth__desc {
  margin: 0;
  font-size: 14px;
  color: #c8cfdc;
}

.ua-auth__sso {
  margin-bottom: 24px;
}

.ua-auth__sso-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  border-radius: 10px;
  background: #1e60d6;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

.ua-auth__sso-btn:hover,
.ua-auth__sso-btn:focus-visible {
  background: #1851b8;
}

.ua-auth__sso-icon {
  font-size: 18px;
}

.ua-auth__sso-desc {
  margin: 8px 0 0;
  font-size: 12px;
  color: #9ba6b8;
  text-align: center;
}

.ua-auth__divider {
  position: relative;
  text-align: center;
  margin: 24px 0;
  color: #9ba6b8;
  font-size: 12px;
}

.ua-auth__divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.ua-auth__divider span {
  position: relative;
  background: #14213f;
  padding: 0 10px;
}

.ua-auth__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ua-auth__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ua-auth__label {
  font-size: 13px;
  font-weight: 600;
  color: #f5f7fb;
}

.ua-auth__field input {
  height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #f5f7fb;
  font-size: 14px;
}

.ua-auth__field input:focus-visible {
  outline: 2px solid #1e60d6;
  outline-offset: 1px;
}

.ua-auth__help {
  font-size: 11px;
  color: #9ba6b8;
}

.ua-auth__input-row {
  display: flex;
  gap: 8px;
}

.ua-auth__input-row input {
  flex: 1;
}

.ua-auth__check {
  height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #f5f7fb;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

.ua-auth__terms {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 8px 0 0;
}

.ua-auth__check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #c8cfdc;
  padding: 4px 0;
}

.ua-auth__terms-link {
  margin-left: auto;
  font-size: 12px;
  color: #80a8ff;
  text-decoration: underline;
}

.ua-auth__error {
  color: #ff8b8b;
  font-size: 13px;
  min-height: 18px;
}

.ua-auth__success {
  color: #6dd28b;
  font-size: 13px;
  min-height: 18px;
}

.ua-auth__submit {
  height: 52px;
  border-radius: 10px;
  background: #1e60d6;
  color: #fff;
  border: 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}

.ua-auth__submit:hover,
.ua-auth__submit:focus-visible {
  background: #1851b8;
}

.ua-auth__links {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #c8cfdc;
}

.ua-auth__links a {
  color: #80a8ff;
  text-decoration: underline;
  margin: 0 4px;
}

.ua-auth__linkbtn {
  background: transparent;
  border: 0;
  color: #80a8ff;
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
  padding: 0 4px;
}

@media (max-width: 540px) {
  .ua-auth__inner {
    padding: 28px 20px;
  }
  .ua-auth__input-row {
    flex-direction: column;
  }
  .ua-auth__check {
    width: 100%;
  }
  .ua-auth__terms-link {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .ua-auth--login {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

/* ============================================================
 * 동적 배너 (BO 등록 활성 배너 슬롯)
 * ============================================================ */
.ua-banner__dynamic {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.ua-banner__image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  border-radius: 12px;
}
.ua-banner__link {
  display: block;
  width: 100%;
  outline: none;
}
.ua-banner__link:focus-visible {
  outline: 2px solid #1f5fff;
  outline-offset: 4px;
  border-radius: 12px;
}

/* ============================================================
 * FO 팝업 모달 (BO 등록 활성 팝업)
 * 공통 .ua-common-modal 위에 추가 스타일만 정의.
 * ============================================================ */
.ua-fo-popup__dialog {
  padding: 12px 12px 16px;
  width: min(100%, 480px);
  max-height: calc(100vh - 32px);
  overflow: auto;
}
.ua-fo-popup__body {
  padding: 0 4px;
}
.ua-fo-popup__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.ua-fo-popup__link {
  display: block;
}
.ua-fo-popup__link:focus-visible {
  outline: 2px solid #1f5fff;
  outline-offset: 2px;
  border-radius: 8px;
}
.ua-fo-popup__text {
  margin-top: 12px;
  font-family: "Pretendard", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #1e2124;
  word-break: break-word;
}
.ua-fo-popup__foot {
  margin-top: 12px;
  padding: 8px 4px 0;
  border-top: 1px solid #eef0f3;
  display: flex;
  justify-content: flex-start;
}
.ua-fo-popup__dismiss-today {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: #565b62;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  user-select: none;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ua-fo-popup__dismiss-today:hover,
.ua-fo-popup__dismiss-today:focus-visible {
  color: #1f5fff;
}

/* ============================================================
 * 약관 재동의 모달 (필수 약관 변경 시 강제 노출)
 * ============================================================ */
.ua-fo-terms-renewal__dialog {
  width: min(100%, 640px);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 24px;
}
.ua-fo-terms-renewal__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #1e2124;
}
.ua-fo-terms-renewal__desc {
  margin: 0 0 16px;
  font-size: 14px;
  color: #565b62;
}
.ua-fo-terms-renewal__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ua-fo-terms-renewal__item {
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 4px 0;
  background: #fff;
}
.ua-fo-terms-renewal__item-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: #1e2124;
  cursor: pointer;
  list-style: none;
}
.ua-fo-terms-renewal__item-title::-webkit-details-marker {
  display: none;
}
.ua-fo-terms-renewal__item-title input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #1f5fff;
}
.ua-fo-terms-renewal__item-body {
  padding: 0 16px 16px;
  max-height: 200px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.6;
  color: #2d3748;
  border-top: 1px solid #f0f2f5;
  padding-top: 12px;
}
.ua-fo-terms-renewal__actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.ua-fo-terms-renewal__btn {
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.ua-fo-terms-renewal__btn--secondary {
  background: #fff;
  border-color: #d4d8dd;
  color: #565b62;
}
.ua-fo-terms-renewal__btn--primary {
  background: #1f5fff;
  color: #fff;
}

/* ============================================================
 * FAQ 카테고리 탭
 * ============================================================ */
.ua-faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 12px;
}
.ua-faq-tab {
  padding: 8px 16px;
  border: 1px solid #d4d8dd;
  border-radius: 999px;
  background: #fff;
  color: #565b62;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
}
.ua-faq-tab:hover {
  border-color: #1f5fff;
  color: #1f5fff;
}
.ua-faq-tab.is-active {
  background: #1f5fff;
  border-color: #1f5fff;
  color: #fff;
  font-weight: 600;
}

/* ============================================================
 * 이용가이드 (BO 도움말 동적 로드)
 * ============================================================ */
.ua-help {
  padding: 32px 0 64px;
}
.ua-help__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.ua-help__head {
  margin-bottom: 24px;
}
.ua-help__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #1e2124;
}
.ua-help__desc {
  margin: 8px 0 0;
  font-size: 15px;
  color: #565b62;
}
.ua-help__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e3e6ea;
  padding-bottom: 12px;
}
.ua-help__tab {
  padding: 8px 16px;
  border: 1px solid #d4d8dd;
  border-radius: 999px;
  background: #fff;
  color: #565b62;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
}
.ua-help__tab:hover {
  border-color: #1f5fff;
  color: #1f5fff;
}
.ua-help__tab.is-active {
  background: #1f5fff;
  border-color: #1f5fff;
  color: #fff;
  font-weight: 600;
}
.ua-help__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ua-help__empty {
  margin: 32px 0;
  text-align: center;
  color: #8f8f8f;
}
.ua-help__item {
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 4px 0;
  background: #fff;
}
.ua-help__item[open] {
  border-color: #1f5fff;
}
.ua-help__item-title {
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #1e2124;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.ua-help__item-title::-webkit-details-marker {
  display: none;
}
.ua-help__item-title::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #8f8f8f;
}
.ua-help__item[open] .ua-help__item-title::after {
  content: '−';
  color: #1f5fff;
}
.ua-help__item-content {
  padding: 0 20px 16px;
  font-size: 15px;
  line-height: 1.6;
  color: #2d3748;
  word-break: break-word;
}

/* 1:1 문의 마이페이지 미니 배지 */
.ua-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}
.ua-badge--ok {
  background: #e6f4ea;
  color: #137333;
}
.ua-badge--wait {
  background: #fff4e0;
  color: #b35c00;
}
