@charset "utf-8";

/* =====================================================
   MyPage 공통 스타일
   마이페이지 관련 페이지에서 사용되는 공통 CSS
   ===================================================== */

/* --- 페이지 래퍼 (마이페이지는 흰 배경) --- */
.ua-lookup-page-wrap.ua-mypage-page,
body.ua-mypage-standalone .ua-lookup-page-wrap {
  width: 100%;
  background: #fff;
}

/* 브레드크럼·ua-lookup 카드/폼: views/site/assets/css/subpages.css */

/* --- 마이페이지 섹션 --- */
/* --- 사용자 프로필 박스 (사이드바 상단) --- */
.ua-mypage-profile-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  margin-bottom: 10px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  height: 60px;
}
.ua-mypage-profile-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
}
.ua-mypage-profile-avatar svg {
  width: 20px;
  height: 20px;
}
.ua-mypage-profile-body {
  min-width: 0;
  flex: 1;
}
.ua-mypage-profile-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}
.ua-mypage-profile-name {
  font-size: 13px;
  font-weight: bold;
  color: #111827;
  min-width: 0;
}
.ua-mypage-profile-contact {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 2px;
}
.ua-mypage-profile-logout {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.ua-mypage-profile-logout:hover {
  color: #111827;
  background: #f3f4f6;
}
.ua-mypage-profile-logout svg {
  width: 14px;
  height: 14px;
}
.ua-mypage-profile-count {
  font-size: 13px;
  color: #374151;
  font-weight: 600;
}

.ua-mypage-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 55px;
  margin: 0 0 15px 0;
}
.ua-mypage-section-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: bold;
  color: #111;
  margin: 0;
}
.ua-mypage-section-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #374151; margin-top:4px;
}
.ua-mypage-section-title-icon svg {
  width: 100%;
  height: 100%;
}
.ua-mypage-section-count {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  flex-shrink: 0;
}

/* MY 예약 카테고리 링크 */
.ua-mypage-booking-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.ua-mypage-cat-link {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: #374151;
  text-decoration: none;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}
.ua-mypage-cat-link:hover {
  background: #e5e7eb;
  color: #111827;
}
.ua-mypage-cat-link.is-active {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

/* 예약 목록 검색 필터 */
.ua-mypage-booking-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 0 0 10px 0;
  border-bottom: 1px solid #e5e7eb;
}
.ua-mypage-filter-input {
  flex: 1;
  min-width: 140px;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
}
.ua-mypage-filter-input:focus {
  outline: none;
  border-color: #111827;
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.1);
}
.ua-mypage-filter-select {
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  min-width: 120px;
}
.ua-mypage-filter-select:focus {
  outline: none;
  border-color: #111827;
}
.ua-mypage-filter-reset {
  padding: 8px 14px;
  font-size: 13px;
  color: #6b7280;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
}
.ua-mypage-filter-reset:hover {
  background: #e5e7eb;
  color: #374151;
}
.ua-mypage-filter-empty {
  padding: 24px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
  background: #f9fafb;
  border-radius: 12px;
  margin-top: 12px;
}

.ua-mypage-card-spacer {
  margin-top: 24px;
}
.ua-mypage-card-bd {
  padding: 24px;
}
.ua-mypage-help-spacer {
  margin-top: 16px;
}

/* --- 마이페이지 대시보드 (tenant/dashboard 톤) --- */
.ua-mypage-dashboard-wrap {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
.ua-mypage-dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.ua-mypage-dashboard-head-simple {
  margin-bottom: 14px;
}
.ua-mypage-dashboard-sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: #6b7280;
}
.ua-mypage-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.ua-mypage-dashboard-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
}
.ua-mypage-dashboard-actions a:hover {
  border-color: #111827;
  color: #111827;
}
.ua-mypage-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.ua-mypage-dashboard-stat {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
}
.ua-mypage-dashboard-stat-label {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}
.ua-mypage-dashboard-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
}
.ua-mypage-dashboard-stat-value span {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin-left: 2px;
}
.ua-mypage-dashboard-booking-item {
  border-radius: 12px;
  border-color: #e5e7eb;
}
.ua-mypage-dashboard-booking-item .ua-mypage-booking-no {
  color: #111827;
  font-weight: 700;
}
.ua-mypage-dashboard-booking-item .ua-mypage-booking-amount {
  color: #111827;
  font-weight: 700;
}
.ua-mypage-dashboard-more {
  margin-top: 14px;
}

/* --- 마이페이지 웰컴 --- */
.ua-mypage-welcome {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
}
.ua-mypage-welcome .ua-lookup-hd-icon {
  background: rgba(255, 255, 255, 0.7);
}
.ua-mypage-welcome .ua-lookup-bd {
  padding: 0 24px 24px;
}
.ua-mypage-welcome .user-email {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 12px;
}
.ua-mypage-welcome .logout-link {
  font-size: 14px;
  color: #6b7280;
  text-decoration: none;
}
.ua-mypage-welcome .logout-link:hover {
  color: #111;
}

/* --- 예약 목록 (bookings) --- */
.ua-mypage-booking-list {
  display: grid;
  gap: 12px;
}

/* 예약목록 외곽: 보더/패딩 제거 */
.ua-mypage-booking-outer {
  border: 0;
  border-radius: 0;
}
.ua-mypage-booking-outer-bd {
  padding: 0;
}

/* 카드형 예약 목록 (이미지 참고) */
.ua-mypage-booking-cards {
  display: grid;
  gap: 16px;
}
.ua-mypage-booking-card {
  display: block;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.ua-mypage-booking-card:hover {
  border-color: #111827;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}
.ua-mypage-booking-card-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 20px;
  background: #fafafa;
  border-bottom: 1px solid #eee;
}
.ua-mypage-booking-card-hd-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #374151;
}
.ua-mypage-booking-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #6b7280;
}
.ua-mypage-booking-card-icon svg {
  width: 100%;
  height: 100%;
}
.ua-mypage-booking-card-no {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ua-mypage-booking-card-date {
  color: #6b7280;
}
.ua-mypage-booking-card-status-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ua-mypage-booking-card-status {
  font-size: 14px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ua-mypage-booking-card-badge {
  font-size: 14px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ua-mypage-booking-card-badge-cancel,
.ua-mypage-booking-card-badge-change {
  background: #fef2f2;
  color: #b91c1c;
  border: 0;
}
.ua-mypage-booking-card-status.status-waiting {
  background: #fef3c7;
  color: #b45309;
}
.ua-mypage-booking-card-status.status-expired {
  background: #f3f4f6;
  color: #111827;
}
.ua-mypage-booking-card-status.status-confirmed {
  background: #dbeafe;
  color: #1d4ed8;
}
.ua-mypage-booking-card-status.status-cancelled {
  background: #fee2e2;
  color: #b91c1c;
}
.ua-mypage-booking-card-status.status-checkout {
  background: #dbeafe;
  color: #1d4ed8;
}
.ua-mypage-booking-card-body {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
  align-items: start;
}
.ua-mypage-booking-card-thumb {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  flex-shrink: 0;
}
.ua-mypage-booking-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ua-mypage-booking-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}
.ua-mypage-booking-card-thumb-placeholder svg {
  width: 36px;
  height: 36px;
}
.ua-mypage-booking-card-info {
  min-width: 0;
}
.ua-mypage-booking-card-info-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.ua-mypage-booking-card-product {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}
.ua-mypage-booking-card-price {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  flex-shrink: 0;
}
.ua-mypage-booking-card-date-right {
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  flex-shrink: 0;
}
.ua-mypage-booking-card-summary-wrap {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e5e7eb;
}
.ua-mypage-booking-card-summary {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e5e7eb;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ua-mypage-booking-card-detail-line {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ua-mypage-detail-value {
  color: #111827;
  font-weight: 600;
}
.ua-mypage-booking-card-payment-section {
  margin-bottom: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}
.ua-mypage-booking-card-payment-title {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 8px;
}
.ua-mypage-booking-card-payment-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ua-mypage-booking-card-payment-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  align-items: start;
}
.ua-mypage-payment-label {
  flex-shrink: 0;
}
.ua-mypage-payment-value {
  min-width: 0;
}
.ua-mypage-booking-card-bank-info {
  margin-top: 2px;
  font-size: 13px;
  color: #111827;
  font-weight: 600;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ua-mypage-booking-card-payment-deadline {
  margin-top: 4px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}
.ua-mypage-deadline-value {
  color: #dc2626;
  font-weight: 600;
}
.ua-mypage-bank-copy-btn {
  font-size: 12px;
  padding: 4px 10px;
  border: 1px solid #2563eb;
  background: #fff;
  color: #2563eb;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  flex-shrink: 0;
}
.ua-mypage-bank-copy-btn:hover {
  background: #eff6ff;
}
.ua-mypage-bank-copy-btn:disabled {
  opacity: 0.7;
  cursor: default;
}
.ua-mypage-booking-card-period {
  font-size: 14px;
  color: #374151;
  margin-bottom: 8px;
}
.ua-mypage-booking-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.ua-mypage-booking-card-guest {
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}
.ua-mypage-booking-card-days-left {
  margin-top: 10px;
  font-size: 14px;
  color: #0f766e;
  font-weight: 600;
  text-align: right;
}
.ua-mypage-booking-card-ft {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid #eee;
  background: #fafafa;
}
.ua-mypage-booking-card-ft-spacer {
  flex: 1;
}
.ua-mypage-booking-card-detail {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ua-mypage-booking-card-detail .ua-mypage-detail-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.ua-mypage-booking-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid #eceff3;
  border-radius: 16px;
  background: #f8fafc;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}
.ua-mypage-booking-item:hover {
  border-color: #111827;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
/* 대시보드용 단순 스타일 */
.ua-mypage-booking-item.ua-mypage-booking-simple {
  display: block;
  grid-template-columns: none;
  padding: 14px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 10px;
  background: #fff;
}
.ua-mypage-booking-item.ua-mypage-booking-simple:last-child {
  margin-bottom: 0;
}
.ua-mypage-booking-item.ua-mypage-booking-simple:hover {
  border-color: #3b82f6;
  background: #f8fafc;
  box-shadow: none;
}
.ua-mypage-booking-item.ua-mypage-booking-simple .ua-mypage-booking-no {
  font-size: 16px;
  font-weight: 600;
  color: #1d4ed8;
  margin-bottom: 8px;
}
.ua-mypage-booking-item.ua-mypage-booking-simple .ua-mypage-booking-meta {
  font-size: 14px;
  gap: 12px 20px;
}
.ua-mypage-booking-item.ua-mypage-booking-simple .ua-mypage-booking-amount {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  margin-top: 8px;
}
.ua-mypage-booking-main {
  min-width: 0;
}
.ua-mypage-booking-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.ua-mypage-booking-no {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}
.ua-mypage-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.ua-mypage-chip.booking {
  background: #eef2ff;
  color: #3730a3;
}
.ua-mypage-chip.booking.status-waiting {
  background: #fef3c7;
  color: #b45309;
}
.ua-mypage-chip.booking.status-confirmed {
  background: #d1fae5;
  color: #047857;
}
.ua-mypage-chip.booking.status-cancelled {
  background: #fee2e2;
  color: #b91c1c;
}
.ua-mypage-chip.booking.status-checkout {
  background: #e0e7ff;
  color: #3730a3;
}
.ua-mypage-chip.payment {
  background: #ecfeff;
  color: #0f766e;
}
.ua-mypage-chip.payment-method {
  background: #f3f4f6;
  color: #4b5563;
}
.ua-mypage-booking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
  color: #6b7280;
}
.ua-mypage-booking-meta span {
  display: inline-flex;
  align-items: center;
}
.ua-mypage-booking-side {
  text-align: right;
  flex-shrink: 0;
}
.ua-mypage-booking-amount {
  font-size: 25px;
  font-weight: bold;
  color: #111827;
  line-height: 1;
}
.ua-mypage-booking-currency {
  margin-top: 6px;
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
}
.ua-mypage-empty {
  padding: 24px 28px;
  text-align: center;
  color: #6b7280;
  font-size: 15px;
}
.ua-mypage-empty-link { color: var(--ua-brand, #2563eb); text-decoration: underline; }

/* 즐겨찾기 - 이벤트 리스트 스타일 */
.ua-fav-list { display: flex; flex-direction: column; gap: 0; }
.ua-fav-item-wrap { position: relative; }
.ua-fav-item-remove {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.ua-fav-item-remove svg { width: 16px; height: 16px; }
.ua-fav-item-remove:hover { color: #dc2626; border-color: #fca5a5; background: #fef2f2; }
.ua-fav-item-remove:disabled { opacity: 0.6; cursor: not-allowed; }
.ua-fav-item {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #fff;
}
.ua-fav-item-wrap + .ua-fav-item-wrap {
  border-top: 1px solid #e5e7eb;
  margin-top: 12px;
  padding-top: 12px;
}
.ua-fav-item-thumb {
  width: 150px;
  min-width: 150px;
  height: 150px;
  min-height: 150px;
  background: #f3f4f6;
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 16px;
  border-radius: 7px;
}
.ua-fav-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ua-fav-item-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}
.ua-fav-item-thumb-placeholder svg { width: 36px; height: 36px; }
.ua-fav-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--ua-brand, #2563eb);
  margin-top: 8px;
}
.ua-fav-item-sep {
  width: 3px;
  min-width: 3px;
  background: var(--ua-brand, #2563eb);
  flex-shrink: 0;
}
.ua-fav-item-content {
  flex: 1;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.ua-fav-item-location {
  font-size: 13px;
  color: var(--ua-brand, #2563eb);
  font-weight: 500;
  margin-bottom: 4px;
}
.ua-fav-item-title {
  margin: 0 0 6px 0;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
}
.ua-fav-item-desc {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 768px) {
  .ua-fav-item { flex-wrap: wrap; }
  .ua-fav-item-thumb { width: 100%; min-width: 100%; aspect-ratio: 1; }
  .ua-fav-item-sep { width: 100%; min-width: 100%; height: 2px; }
  .ua-fav-item-content { padding: 12px 16px; }
  .ua-fav-item-title { font-size: 15px; }
}

.ua-mypage-booking-view-msg {
  padding: 12px 16px;
  margin-bottom: 16px;
  border-radius: 8px;
  font-size: 14px;
}
.ua-mypage-booking-view-msg-info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}
.ua-mypage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.ua-mypage-actions a {
  font-size: 14px;
  color: #6b7280;
  text-decoration: none;
}
.ua-mypage-actions a:hover {
  color: #111;
}
.ua-mypage-shell-main .ua-lookup-wrap {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* --- 마이페이지 셸 (사이드바 + 메인) --- */
.ua-mypage-shell {
  display: grid !important;
  grid-template-columns: 250px minmax(0, 1fr) !important;
  gap: 50px;
  align-items: start;
  min-height: calc(100vh - 250px);
}
.ua-mypage-side {
  width: 250px;
  background: #fff;
  position: sticky;
  top: 20px;
}
.ua-mypage-side-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin: 2px 4px 10px;
}
.ua-mypage-side-list {
  display: grid;
  gap: 6px;
}
.ua-mypage-side-link {
  display: block;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 15px;
  color: #374151;
  text-decoration: none;
  background: #fff;
}
.ua-mypage-side-link:hover {
  background: #f3f4f6;
}
.ua-mypage-side-link.is-active {
  background: #111827;
  color: #fff;
  font-weight: 600;
}
.ua-mypage-side-link.is-disabled {
  background: #f9fafb;
  color: #9ca3af;
  cursor: not-allowed;
}
.ua-mypage-side-link.is-parent-active {
  background: #f3f4f6;
  font-weight: 600;
  color: #111827;
}
.ua-mypage-side-sublist {
  display: grid;
  gap: 5px;
  margin: 4px 0 8px 20px;
  padding-left: 12px;
  border-left: 2px solid #e5e7eb;
}
.ua-mypage-side-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 15px;
  color: #6b7280;
  text-decoration: none;
  background: transparent;
}
.ua-mypage-side-sublink:hover {
  background: #f3f4f6;
  color: #374151;
}
.ua-mypage-side-sublink.is-active {
  background: #111827;
  color: #fff;
  font-weight: 600;
}
.ua-mypage-side-subcount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.ua-mypage-side-sublink.is-active .ua-mypage-side-subcount {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.ua-mypage-shell-main {
  min-width: 0;
  width: 100%;
  min-height: calc(100vh - 250px);
}
.ua-mypage-shell-main.ua-mypage-form-main {
  max-width: 720px;
}
.ua-mypage-shell-main.ua-mypage-form-main-wide {
  max-width: 760px;
}

@media (max-width: 600px) {
  .ua-mypage-booking-card-ft-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .ua-mypage-booking-card-ft-actions .ua-mypage-booking-view-btn {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .ua-mypage-shell {
    grid-template-columns: 1fr !important;
  }
  .ua-mypage-side {
    position: static;
  }
  .ua-mypage-profile-box {
    padding: 16px 20px;
    gap: 14px;
  }
  .ua-mypage-profile-avatar {
    width: 48px;
    height: 48px;
  }
  .ua-mypage-profile-avatar svg {
    width: 24px;
    height: 24px;
  }
  .ua-mypage-profile-name {
    font-size: 16px;
  }
  .ua-lookup-hd,
  .ua-lookup-bd {
    padding-left: 20px;
    padding-right: 20px;
  }
  .ua-mypage-booking-item {
    grid-template-columns: 1fr;
  }
  .ua-mypage-booking-side {
    text-align: left;
  }
  .ua-mypage-booking-amount {
    font-size: 28px;
  }
  .ua-mypage-booking-card-body {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }
  .ua-mypage-booking-card-thumb {
    width: 80px;
    height: 80px;
  }
  .ua-mypage-booking-card-product {
    font-size: 16px;
  }
  .ua-mypage-booking-card-price {
    font-size: 16px;
  }
  .ua-mypage-booking-card-hd {
    padding: 12px 16px;
  }
  .ua-mypage-booking-card-hd-left {
    font-size: 13px;
  }
  .ua-mypage-booking-card-ft {
    padding: 10px 16px;
  }
  .ua-mypage-dashboard-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .ua-mypage-dashboard-actions {
    justify-content: flex-start;
  }
  .ua-mypage-dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ua-lookup-hd,
  .ua-lookup-bd {
    padding-left: 20px;
    padding-right: 20px;
  }
  .ua-mypage-dashboard-stats {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   Standalone 페이지 (change_pay, change_form, cancel_form, booking_view)
   테마 없이 단독 HTML로 렌더링되는 페이지용
   ===================================================== */

body.ua-mypage-standalone {
  font-family: Arial, sans-serif;
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.ua-mypage-standalone .ua-mypage-h1 {
  margin: 0 0 10px 0;
}

.ua-mypage-standalone .ua-mypage-box {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}

.ua-mypage-standalone .ua-mypage-box-info {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  background: #fafafa;
  color: #444;
  font-size: 13px;
  line-height: 1.5;
}

.ua-mypage-standalone .ua-mypage-alert-error {
  border: 1px solid #ffd1d1;
  background: #fff4f4;
  color: #b30000;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}

.ua-mypage-standalone .ua-mypage-alert-ok {
  border: 1px solid #c9f3c9;
  background: #f1fff1;
  color: #116b11;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}

.ua-mypage-standalone .ua-mypage-form {
  display: grid;
  gap: 10px;
}

.ua-mypage-standalone .ua-mypage-form-label {
  display: grid;
  gap: 6px;
}

.ua-mypage-standalone .ua-mypage-form-input,
.ua-mypage-standalone .ua-mypage-form-textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.ua-mypage-standalone .ua-mypage-form-textarea {
  resize: vertical;
}

.ua-mypage-standalone .ua-mypage-btn {
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.ua-mypage-standalone .ua-mypage-btn-block {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.ua-mypage-standalone .ua-mypage-link {
  text-decoration: none;
}

.ua-mypage-standalone .ua-mypage-mt {
  margin-top: 12px;
}

.ua-mypage-standalone .ua-mypage-form-count {
  font-size: 12px;
  color: #777;
}

.ua-mypage-standalone .ua-mypage-result {
  margin-top: 12px;
  color: #444;
}

/* --- 예약 상세 --- */
.ua-mypage-standalone .ua-mypage-card-label {
  color: #666;
}

.ua-mypage-standalone .ua-mypage-card-value {
  font-weight: 900;
  font-size: 20px;
}

.ua-mypage-standalone .ua-mypage-card-row {
  margin-top: 10px;
  display: grid;
  gap: 6px;
  color: #111;
}

.ua-mypage-standalone .ua-mypage-section {
  margin-top: 12px;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 12px;
  background: #fafafa;
}

.ua-mypage-standalone .ua-mypage-section-title {
  font-weight: 900;
  margin-bottom: 6px;
}

.ua-mypage-standalone .ua-mypage-section-muted {
  color: #777;
}

.ua-mypage-standalone .ua-mypage-section-pre {
  white-space: pre-wrap;
  margin: 0;
}

.ua-mypage-standalone .ua-mypage-section-body {
  color: #666;
  font-size: 13px;
  line-height: 1.6;
}

.ua-mypage-standalone .ua-mypage-actions-bar {
  margin-top: 12px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.ua-mypage-standalone .ua-mypage-link-cancel {
  text-decoration: none;
  color: #b30000;
  font-weight: 800;
}

.ua-mypage-standalone .ua-mypage-link-change {
  text-decoration: none;
  color: #0b4cff;
  font-weight: 800;
}

.ua-mypage-standalone .ua-mypage-muted-sm {
  margin-top: 10px;
  color: #777;
  font-size: 12px;
}

/* 예약 상세 - 추가 요청 불가 라벨 */
.ua-mypage-booking-view-label {
  display: inline-block;
  margin-top: 12px;
  margin-left: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  line-height: 1.4;
}
.ua-mypage-booking-view-label-warning {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

/* --- 예약 상세 (booking_view) 카드형 레이아웃 --- */
.ua-mypage-booking-view-main {
  width: 100%;
  max-width: none;
  padding-bottom: 70px;
}
.ua-mypage-booking-view-main .ua-mypage-h1 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}
.ua-mypage-booking-view-summary {
  font-size: 13px;
  color: #6b7280;
  padding-top: 5px;
}
.ua-mypage-booking-view-card {
  background: #fff;
  border: 0px solid #e5e7eb;
  overflow: hidden;
  margin-bottom: 20px;
}
.ua-mypage-booking-view-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 20px;
  background: #fafafa;
  border-bottom: 1px solid #e5e7eb;
}
.ua-mypage-booking-view-hd-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ua-mypage-booking-view-no {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}
.ua-mypage-booking-view-date {
  font-size: 13px;
  color: #6b7280;
}
.ua-mypage-booking-view-product {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0px;
  border-bottom: 1px solid #e5e7eb;
}
.ua-mypage-booking-view-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
}
.ua-mypage-booking-view-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ua-mypage-booking-view-product-info {
  min-width: 0;
  flex: 1;
}
.ua-mypage-booking-view-product-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
}
.ua-mypage-booking-view-body {
  padding: 20px 0 20px 100px;
}
.ua-mypage-booking-view-section {
  margin-bottom: 20px;
}
.ua-mypage-booking-view-section:last-child {
  margin-bottom: 0;
}
.ua-mypage-booking-view-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 12px;
}
.ua-mypage-booking-view-payment {
  padding: 15px 0px;
  border-top: 1px dashed #e5e7eb;
  border-bottom: 1px dashed #e5e7eb;
}
.ua-mypage-booking-view-payment .ua-mypage-booking-view-section-title {
  margin-bottom: 10px;
}
.ua-mypage-booking-view-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ua-mypage-booking-view-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  align-items: start;
}
.ua-mypage-bv-label {
  color: #6b7280;
  flex-shrink: 0;
}
.ua-mypage-bv-value {
  color: #111827;
  font-weight: 500;
  min-width: 0;
}
.ua-mypage-booking-view-section .ua-mypage-booking-card-bank-info {
  margin-top: 6px;
}
.ua-mypage-booking-view-section .ua-mypage-booking-card-payment-deadline {
  margin-top: 6px;
}
.ua-mypage-booking-card-detail-line-dashed {
  border-top: 1px dashed #e5e7eb;
  padding-top: 12px;
  margin-top: 12px;
}
.ua-mypage-booking-view-options {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}
.ua-mypage-booking-view-traveler {
  margin-bottom: 16px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.ua-mypage-booking-view-traveler:last-child {
  margin-bottom: 0;
}
.ua-mypage-booking-view-traveler-header {
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}
.ua-mypage-booking-view-traveler-title-row {
  margin: 0;
  font-weight: 700;
}
.ua-mypage-booking-view-traveler-title-row .ua-mypage-bv-label {
  color: #374151;
}
.ua-mypage-booking-view-traveler-name {
  text-decoration: underline;
}
.ua-mypage-booking-view-traveler-body {
  background: #fff;
  padding: 16px;
}
.ua-mypage-booking-view-traveler-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ua-mypage-booking-view-traveler-col {
  min-width: 0;
}
.ua-mypage-booking-view-traveler-col + .ua-mypage-booking-view-traveler-col {
  border-left: 1px dashed #e5e7eb;
  padding-left: 24px;
}
.ua-mypage-booking-view-traveler-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 8px;
}
.ua-mypage-booking-view-traveler-line {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 4px;
}
.ua-mypage-booking-view-traveler-line:last-child {
  margin-bottom: 0;
}
.ua-mypage-booking-view-muted {
  font-size: 14px;
  color: #9ca3af;
}
.ua-mypage-booking-view-cancel {
  padding: 16px;
  background: #fef2f2;
  border-radius: 12px;
  border: 1px solid #fecaca;
}
.ua-mypage-booking-view-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}
.ua-mypage-booking-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  font-family: inherit;
}
button.ua-mypage-booking-view-btn {
  appearance: none;
  -webkit-appearance: none;
}
.ua-mypage-booking-view-btn-icon {
  display: inline-flex;
  flex-shrink: 0;
}
.ua-mypage-booking-view-btn-icon svg {
  width: 16px;
  height: 16px;
}
.ua-mypage-booking-view-btn-secondary {
  background: #fff;
  color: #374151;
  border: 1px solid #e5e7eb;
}
.ua-mypage-booking-view-btn-secondary:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}
.ua-mypage-booking-view-btn-primary {
  background: #111827;
  color: #fff;
  border: 1px solid #111827;
}
.ua-mypage-booking-view-btn-primary:hover {
  background: #000;
}
.ua-mypage-booking-view-btn-cancel {
  background: #fff;
  color: #dc2626;
  border: 1px solid #fca5a5;
}
.ua-mypage-booking-view-btn-cancel:hover {
  background: #fef2f2;
}

/* --- 예약 변경 요청 폼 --- */
.ua-mypage-change-info {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}
.ua-mypage-change-info p {
  margin: 0 0 6px 0;
}
.ua-mypage-change-info p:last-child {
  margin-bottom: 0;
}
.ua-mypage-change-alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.ua-mypage-alert-ok.ua-mypage-change-alert {
  background: #f1fff1;
  border: 1px solid #c9f3c9;
  color: #116b11;
}
.ua-mypage-alert-error.ua-mypage-change-alert {
  background: #fff4f4;
  border: 1px solid #ffd1d1;
  color: #b30000;
}
.ua-mypage-change-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ua-mypage-change-form-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: start;
}
.ua-mypage-change-form-row.ua-mypage-change-form-hint {
  grid-column: 1 / -1;
}
.ua-mypage-bv-hint {
  font-size: 13px;
  color: #6b7280;
}
.ua-mypage-change-form-row .ua-mypage-bv-label {
  padding-top: 10px;
  color: #6b7280;
  font-size: 14px;
}
.ua-mypage-change-input,
.ua-mypage-change-textarea {
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.ua-mypage-change-input:focus,
.ua-mypage-change-textarea:focus {
  outline: none;
  border-color: #111827;
}
.ua-mypage-change-textarea {
  resize: vertical;
  min-height: 100px;
}
.ua-mypage-change-form .ua-mypage-booking-view-actions {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px dashed #e5e7eb;
}
.ua-mypage-changes-cancels-card {
  display: block;
}
.ua-mypage-changes-cancels-ft {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding: 12px 16px;
}
.ua-mypage-cancel-reason-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ua-mypage-cancel-reason-wrap .ua-mypage-form-count {
  font-size: 12px;
  color: #6b7280;
}

@media (max-width: 600px) {
  .ua-mypage-booking-view-hd {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }
  .ua-mypage-booking-view-body {
    padding: 16px;
  }
  .ua-mypage-booking-view-traveler-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ua-mypage-booking-view-row {
    grid-template-columns: 70px 1fr;
    gap: 8px;
    font-size: 13px;
  }
  .ua-mypage-booking-view-product-title {
    font-size: 16px;
  }
  .ua-mypage-booking-view-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .ua-mypage-booking-view-btn {
    justify-content: center;
  }
  .ua-mypage-change-form-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .ua-mypage-change-form-row .ua-mypage-bv-label {
    padding-top: 0;
  }
}

/* 고객지원(FAQ) */
.ua-support-wrap { min-height: calc(100vh - 200px); }
.ua-support-wrap .ua-mypage-section-title {
  align-items: center;
  line-height: 1;
}
.ua-support-wrap .ua-mypage-section-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ua-support-wrap .ua-mypage-section-title-icon svg {
  display: block;
}
.ua-support-empty {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  padding: 48px 28px;
  text-align: center;
}
.ua-support-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: #9ca3af;
}
.ua-support-empty p {
  margin: 0 0 24px 0;
  font-size: 16px;
  color: #6b7280;
  line-height: 1.5;
}
.ua-mypage-shell-main > .ua-lookup-card + .ua-lookup-card {
  margin-top: 20px;
}
.ua-support-inquiry-guest-panel {
  margin: 0 0 8px 0;
  padding: 20px 20px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fafbfc;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
}
.ua-support-inquiry-guest-lead {
  margin: 0;
}
.ua-support-inquiry-guest-panel strong { color: #111827; }
.ua-support-inquiry-guest-note-sub {
  margin-top: 10px;
  font-size: 13px;
  color: #6b7280;
}
.ua-support-inquiry-guest-note-sub a { color: #2563eb; }
.ua-support-inquiry-guest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.ua-consult-lookup-submit {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 20px;
  padding: 14px 20px;
  border: 0;
  border-radius: 10px;
  background: var(--ua-brand, #2563eb);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
}
.ua-consult-lookup-submit:hover {
  background: #1d4ed8;
}
.ua-support-inquiry-empty { padding: 12px 0 8px; }
.ua-support-inquiry-table-wrap {
  overflow-x: auto;
  margin-top: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
.ua-support-inquiry-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}
.ua-support-inquiry-table th,
.ua-support-inquiry-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: middle;
}
.ua-support-inquiry-table th {
  font-weight: 700;
  color: #374151;
  background: #f9fafb;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: -0.01em;
}
.ua-support-inquiry-table thead th {
  border-bottom: 1px solid #e5e7eb;
}
.ua-support-inquiry-table tbody tr:hover td {
  background: #fafafa;
}
.ua-support-inquiry-table tr:last-child td { border-bottom: none; }
.ua-support-inquiry-actions-col,
.ua-support-inquiry-actions {
  text-align: center;
  white-space: nowrap;
}
.ua-support-inquiry-case-cell {
  font-weight: 700;
  color: #374151;
  font-size: 13px;
}
.ua-support-inquiry-subj {
  max-width: 280px;
  word-break: break-word;
  color: #111827;
  font-weight: 500;
}
.ua-support-inquiry-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #f3f4f6;
  color: #6b7280;
}
.ua-support-inquiry-badge--ok {
  background: #dcfce7;
  color: #166534;
}
.ua-support-inquiry-detail-link {
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  white-space: nowrap;
}
.ua-support-inquiry-detail-link:hover { text-decoration: underline; }
.ua-support-inquiry-actions .ua-support-inquiry-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  font-weight: 600;
  font-size: 13px;
}
.ua-support-inquiry-actions .ua-support-inquiry-detail-link:hover {
  background: #f9fafb;
  text-decoration: none;
  border-color: #d1d5db;
  color: #111827;
}
.ua-support-inquiry-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 14px;
}
.ua-support-inquiry-page-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}
.ua-support-inquiry-footer-actions {
  margin-top: 24px;
  padding-top: 8px;
}
.ua-support-inquiry-form-actions {
  margin-top: 24px;
  padding-top: 8px;
  justify-content: flex-end;
}
/* Extra space below inquiry table / pager (form footer pattern) */
.ua-consult-inquiry-inner .ua-support-inquiry-table-wrap ~ .ua-support-inquiry-form-actions,
.ua-consult-inquiry-inner .ua-support-inquiry-pager ~ .ua-support-inquiry-form-actions {
  margin-top: 32px;
  padding-top: 12px;
}
.ua-support-inquiry-form-actions .ua-support-inquiry-new-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex: 0 0 auto;
  width: fit-content;
  max-width: 180px;
  min-width: 0;
  padding: 12px 18px;
  font-size: 14px;
  box-sizing: border-box;
}
.ua-support-wrap.ua-consult-form-wrap .ua-support-inquiry-form-actions .ua-consult-form-submit.ua-support-inquiry-new-btn {
  flex: 0 0 auto;
  width: fit-content;
  max-width: 180px;
  min-width: 0;
  padding: 12px 18px;
  font-size: 14px;
}
.ua-support-inquiry-btn-secondary {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 1:1 inquiry list/detail (booking-view card pattern) */
.ua-mypage-inquiry-view-card .ua-mypage-booking-view-body {
  padding-top: 4px;
}
.ua-mypage-inquiry-view-subject-block {
  padding: 16px 20px 0;
  border-bottom: 1px solid #f3f4f6;
}
.ua-mypage-inquiry-view-subject-block .ua-mypage-booking-view-product-title {
  margin: 0 0 8px 0;
}
.ua-mypage-inquiry-body-box {
  margin: 0;
  padding: 14px 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: #374151;
}
.ua-mypage-inquiry-body-box p {
  margin: 0;
}
.ua-mypage-inquiry-replies-section .ua-mypage-inquiry-reply-empty {
  padding: 12px 0;
}
.ua-mypage-inquiry-replies-section .ua-mypage-inquiry-reply-empty p {
  margin: 0 0 6px 0;
}
.ua-mypage-inquiry-reply-item {
  padding: 14px 16px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  margin-top: 10px;
}
.ua-mypage-inquiry-reply-item:first-of-type {
  margin-top: 4px;
}
.ua-mypage-inquiry-reply-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 8px;
  font-size: 13px;
}
.ua-mypage-inquiry-reply-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  background: #111827;
  color: #fff;
}
.ua-mypage-inquiry-reply-body {
  font-size: 14px;
  line-height: 1.65;
  color: #1e293b;
}
.ua-mypage-inquiry-list-lead {
  margin: 0 0 16px 0;
  font-size: 14px;
  line-height: 1.55;
  color: #6b7280;
}
.ua-support-inquiry-table .ua-mypage-booking-card-status {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 6px;
}
.ua-support-inquiry-actions .ua-mypage-booking-view-btn {
  white-space: nowrap;
}

/* 1:1 문의 목록 카드 */
.ua-consult-inquiry-inner { padding-bottom: 8px; }
.ua-consult-inquiry-cards {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}
.ua-consult-inquiry-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 18px 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.ua-consult-inquiry-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.ua-consult-inquiry-case-no {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  letter-spacing: 0.02em;
}
.ua-consult-inquiry-subject {
  margin: 0 0 12px 0;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
}
.ua-consult-inquiry-meta {
  margin: 0;
  display: grid;
  gap: 6px;
}
.ua-consult-inquiry-meta-row {
  display: flex;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
}
.ua-consult-inquiry-meta-row dt {
  margin: 0;
  flex: 0 0 52px;
  color: #6b7280;
  font-weight: 600;
}
.ua-consult-inquiry-meta-row dd {
  margin: 0;
  color: #111827;
}
.ua-consult-inquiry-card-actions {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
}
.ua-consult-inquiry-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #111827;
  text-decoration: none;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.ua-consult-inquiry-detail-btn:hover {
  background: #0f172a;
  opacity: 0.95;
}

/* 1:1 문의 상세 (view) */
.ua-consult-detail-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.ua-consult-detail-header-text { flex: 1 1 240px; margin-bottom: 0; }
.ua-consult-detail-panel {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px 20px 18px;
  background: #fff;
  margin-top: 16px;
}
.ua-consult-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.ua-consult-detail-case-no {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
}
.ua-consult-detail-chip {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #f3f4f6;
  color: #4b5563;
}
.ua-consult-detail-chip--muted {
  background: #f9fafb;
  color: #6b7280;
  font-weight: 500;
}
.ua-consult-detail-subject {
  margin: 0 0 14px 0;
  font-size: 19px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
}
.ua-consult-detail-body {
  padding: 16px;
  background: #f9fafb;
  border-radius: 10px;
  margin-bottom: 14px;
}
.ua-consult-detail-body p {
  margin: 0;
  color: #374151;
  font-size: 15px;
  line-height: 1.75;
  white-space: pre-wrap;
}
.ua-consult-detail-footer-meta {
  font-size: 13px;
  color: #6b7280;
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
}
.ua-consult-reply-panel { margin-top: 18px; }
.ua-consult-reply-title {
  margin: 0 0 16px 0;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
}
.ua-consult-detail-empty {
  text-align: center;
  padding: 36px 16px;
}
.ua-consult-detail-empty-lead {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
}
.ua-consult-detail-empty-sub {
  margin: 8px 0 0 0;
  color: #9ca3af;
  font-size: 13px;
}
.ua-consult-reply-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ua-consult-reply-item {
  padding: 16px;
  background: #eff6ff;
  border-radius: 10px;
  border-left: 3px solid #3b82f6;
}
.ua-consult-reply-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 10px;
}
.ua-consult-reply-author {
  font-size: 14px;
  color: #111827;
}
.ua-consult-reply-badge {
  padding: 2px 8px;
  background: #3b82f6;
  color: #fff;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}
.ua-consult-reply-date {
  font-size: 12px;
  color: #6b7280;
}
.ua-consult-reply-body {
  color: #374151;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
}

@media (max-width: 640px) {
  .ua-support-inquiry-table-wrap {
    border: none;
    background: transparent;
    margin-top: 4px;
  }
  .ua-support-inquiry-table {
    min-width: 0;
  }
  .ua-support-inquiry-table thead { display: none; }
  .ua-support-inquiry-table tr {
    display: block;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 8px 0;
    background: #fff;
  }
  .ua-support-inquiry-table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    border: none;
    padding: 8px 14px;
    text-align: right;
  }
  .ua-support-inquiry-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #6b7280;
    flex-shrink: 0;
    text-align: left;
  }
  .ua-support-inquiry-table .ua-support-inquiry-actions {
    justify-content: center;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid #f3f4f6;
  }
  .ua-support-inquiry-table .ua-support-inquiry-actions::before { content: ''; }
  .ua-support-inquiry-subj { max-width: none; }
}
.ua-support-faq-list { display: grid; gap: 10px; }
.ua-support-faq-cats {
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE, Edge legacy */
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  margin: 8px 0 14px;
}
.ua-support-faq-cats::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
  width: 0;
  height: 0;
}

/* MyPage login type switch (member/guest) */
.ua-mypage-login-switch {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.ua-mypage-login-switch-btn {
  appearance: none;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: #374151;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.ua-mypage-login-switch-btn.is-active {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
}
.ua-mypage-login-panel {
  display: none;
}
.ua-mypage-login-panel.is-active {
  display: block;
}
.ua-support-faq-cat {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  background: none;
  color: #6b7280;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all .2s ease;
}
.ua-support-faq-cat:hover {
  color: #2563eb;
  border-bottom-color: #93c5fd;
}
.ua-support-faq-cat.is-active {
  border-bottom-color: #2563eb;
  background: none;
  color: #1d4ed8;
  font-weight: 600;
}
.ua-support-faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.ua-support-faq-question {
  width: 100%;
  border: 0;
  background: #fff;
  color: #111827;
  text-align: left;
  cursor: pointer;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}
.ua-support-faq-question:hover { background: #f9fafb; }
.ua-support-faq-question .faq-toggle-icon {
  width: 20px;
  height: 20px;
  color: #6b7280;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.ua-support-faq-question .faq-toggle-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.ua-support-faq-question[aria-expanded="true"] .faq-toggle-icon { transform: rotate(180deg); }
.ua-support-faq-answer {
  display: none;
  padding: 16px 18px 16px 18px;
  color: #4b5563;
  line-height: 1.7;
  font-size: 14px; border-top:1px solid #eee;
}
.ua-support-faq-answer.is-open { display: block; }
.ua-support-item {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 20px 24px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ua-support-item:last-child { margin-bottom: 0; }
.ua-support-item:hover { border-color: #1d4ed8; box-shadow: 0 2px 8px rgba(29,78,216,0.08); }
.ua-support-item-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.ua-support-item-no { font-size: 14px; font-weight: 600; color: #1d4ed8; }
.ua-support-item-badges span { padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 500; }
.ua-support-item-badges .badge-status { background: #f3f4f6; color: #374151; }
.ua-support-item-badges .badge-type { background: #eff6ff; color: #1d4ed8; }
.ua-support-item-title { font-size: 17px; font-weight: 600; color: #111; margin: 0 0 8px 0; line-height: 1.4; }
.ua-support-item-body { font-size: 14px; color: #6b7280; line-height: 1.5; margin: 0 0 12px 0; }
.ua-support-item-footer { font-size: 13px; color: #9ca3af; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ua-support-item-arrow { margin-left: auto; color: #d1d5db; }
.ua-support-pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.ua-support-pagination a {
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.ua-support-pagination a:hover { background: #f9fafb; border-color: #1d4ed8; color: #1d4ed8; }
.ua-support-pagination span { padding: 10px 18px; color: #6b7280; font-size: 14px; }

/* 1:1 inquiry detail — align with support list badges & actions */
.ua-support-inquiry-badge--pending {
  background: #fef3c7;
  color: #92400e;
}
.ua-mypage-inquiry-view-card .ua-mypage-booking-card-no {
  text-decoration: none;
  font-weight: 700;
  color: #111827;
}
.ua-mypage-inquiry-view-actions.ua-support-inquiry-footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
