/* ==========================================================================
   고객 예약 페이지 전용 스타일 (css/customer.css)
   ========================================================================== */

.booking-card {
  background: #ffffff;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-sky-200);
  box-shadow: var(--shadow-card);
  padding: 1.75rem 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

@media (min-width: 640px) {
  .booking-card {
    padding: 2.25rem 2rem;
  }
}

.booking-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.booking-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--color-sky-50);
  color: var(--color-teal-800);
  border: 1px solid var(--color-sky-200);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.booking-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--color-slate-900);
  letter-spacing: -0.02em;
}

.booking-desc {
  font-size: 0.88rem;
  color: var(--color-slate-500);
  margin-top: 0.25rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-slate-800);
  margin-bottom: 0.45rem;
}

.label-req {
  color: var(--color-rose-600);
  margin-left: 0.2rem;
}

.form-input {
  width: 100%;
  height: 50px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-slate-900);
  background: #ffffff;
  border: 1.5px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--color-teal-600);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.form-input::placeholder {
  color: var(--color-slate-400);
}

/* Header Phone Inquiry in customer.html */
.header-inquiry-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 56px;
}

.header-inquiry-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.header-inquiry-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-slate-900);
  line-height: 1.3;
}

.header-inquiry-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-slate-500);
  line-height: 1.3;
}

.btn-header-inquiry {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.52rem 1rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-teal-700), var(--color-emerald-600));
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-header-inquiry:hover {
  background: linear-gradient(135deg, var(--color-teal-600), var(--color-emerald-500));
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 118, 110, 0.35);
  color: #ffffff;
}

.btn-header-inquiry svg {
  width: 16px;
  height: 16px;
}

/* 모바일 화면에서도 2줄 문구가 숨김 없이 온전히 표시되도록 높이 및 레이아웃 확장 */
@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding: 0.65rem 1rem;
  }

  .header-inquiry-box {
    width: 100%;
    min-height: 62px;
    height: auto;
    padding: 0.55rem 0.85rem;
    background: var(--color-sky-50);
    border: 1px solid var(--color-sky-200);
    border-radius: var(--radius-xl);
    justify-content: space-between;
    box-sizing: border-box;
    gap: 0.65rem;
  }

  .header-inquiry-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex: 1;
    min-width: 0;
  }

  .header-inquiry-title {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--color-slate-900);
    line-height: 1.35;
    white-space: nowrap;
  }

  .header-inquiry-sub {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-slate-600);
    line-height: 1.35;
    white-space: normal;
    word-break: keep-all;
  }

  .btn-header-inquiry {
    padding: 0.48rem 0.85rem;
    font-size: 0.82rem;
    flex-shrink: 0;
  }
}

/* Guest Counter - 직접 입력 Stepper(좌) & 2행 3열 칩 버튼(우) 수평 나란히 배치 */
.counter-container {
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
  width: 100%;
}

.counter-stepper {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 82px;
  flex-shrink: 0;
}

.counter-direct-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-slate-600);
  white-space: nowrap;
}

.counter-input-box-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1.5px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  padding: 0 0.4rem;
  height: 42px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.counter-input-box-wrap:focus-within {
  border-color: var(--color-teal-600);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.counter-direct-input {
  flex: 1;
  min-width: 0;
  width: 36px;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-slate-900);
  text-align: center;
  font-family: inherit;
  padding: 0;
  -moz-appearance: textfield;
}

.counter-direct-input::-webkit-outer-spin-button,
.counter-direct-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.counter-unit-label {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-slate-700);
  margin-left: 0.15rem;
  user-select: none;
  flex-shrink: 0;
}

/* 2행 3열 칩 버튼 ("2명", "3명", "4명" / "5명", "6명", "7명") */
.chips-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

.guest-chip {
  padding: 0.4rem 0.25rem;
  min-height: 42px;
  border-radius: var(--radius-md);
  background: var(--color-sky-50);
  border: 1px solid var(--color-sky-200);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-slate-700);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  white-space: nowrap;
}

.guest-chip:hover {
  border-color: var(--color-teal-500);
  background: var(--color-sky-100);
  color: var(--color-teal-800);
}

.guest-chip.active {
  background: var(--color-teal-700);
  color: #ffffff;
  border-color: var(--color-teal-700);
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.25);
}

/* Date & Time Grid */
.datetime-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .datetime-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 0.85rem;
  }
}

.date-picker-field {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.date-calendar-icon {
  position: absolute;
  left: 0.85rem;
  color: var(--color-teal-700);
  pointer-events: none;
  z-index: 2;
  flex-shrink: 0;
}

.form-input.date-input-field {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding-left: 2.6rem !important;
  padding-right: 0.75rem !important;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-slate-900);
  background-color: #ffffff;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-input.date-input-field::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.85;
  filter: invert(33%) sepia(85%) saturate(450%) hue-rotate(130deg);
}

.time-select-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.form-select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: 50px;
  padding: 0 0.85rem;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 700;
  color: var(--color-slate-900);
  background: #ffffff;
  border: 1.5px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.form-select:focus {
  border-color: var(--color-teal-600);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.holiday-warning-banner {
  display: none;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: var(--color-rose-700);
  font-size: 0.8rem;
  font-weight: 700;
}

.holiday-warning-banner.show {
  display: flex;
}

/* Memo Input with Character Counter */
.memo-wrapper {
  position: relative;
}

.char-counter {
  font-size: 0.78rem;
  color: var(--color-slate-400);
  font-weight: 600;
}

.char-counter.near-limit {
  color: var(--color-amber-500);
  font-weight: 800;
}

.char-counter.at-limit {
  color: var(--color-rose-600);
  font-weight: 800;
}

.memo-suggestions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.memo-tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-teal-800);
  background: var(--color-teal-50);
  border: 1px solid var(--color-teal-200);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
}

.memo-tag:hover {
  background: var(--color-teal-100);
  border-color: var(--color-teal-500);
}

/* Submit Button */
.btn-submit-booking {
  width: 100%;
  height: 54px;
  background: linear-gradient(135deg, var(--color-teal-700) 0%, var(--color-emerald-600) 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-xl);
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.3);
  transition: all 0.2s ease;
  margin-top: 1.75rem;
}

.btn-submit-booking:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(15, 118, 110, 0.4);
}

.btn-submit-booking:active {
  transform: translateY(0);
}

.btn-submit-booking:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Title Highlight: 등록/조회 */
.title-highlight-lookup {
  color: #92003A;
  font-weight: 900;
}

/* Lookup Button: 예약 전화번호로 조회하기 (#769826) */
.btn-lookup-booking {
  width: 100%;
  height: 52px;
  background-color: #769826;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-xl);
  font-size: 1.05rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  box-shadow: 0 4px 14px rgba(118, 152, 38, 0.3);
  transition: all 0.2s ease;
}

.btn-lookup-booking:hover {
  background-color: #65831f;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(118, 152, 38, 0.4);
}

.btn-lookup-booking:active {
  transform: translateY(0);
}

.btn-lookup-booking:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   고객 예약 조회 결과 뷰 및 인라인 수정 (Customer Lookup & Edit View)
   ========================================================================== */
.lookup-view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--color-sky-100);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lookup-title-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lookup-view-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-slate-900);
}

.lookup-count-badge {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: var(--color-teal-100);
  color: var(--color-teal-800);
}

.btn-return-booking {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  background: #FF8F00;
  color: #ffffff;
  border: 1px solid #e68100;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(255, 143, 0, 0.25);
}

.btn-return-booking:hover {
  background: #e68000;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(230, 128, 0, 0.35);
}

.btn-return-booking:active {
  background: #cc7200;
  transform: translateY(1px);
}

.lookup-cards-stream {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lookup-res-card {
  background: #ffffff;
  border: 1.5px solid var(--color-sky-200);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.05);
  transition: all 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.lookup-res-card:hover {
  border-color: var(--color-teal-500);
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.1);
}

.lookup-res-card.editing {
  border-color: var(--color-teal-600);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18);
}

.lookup-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--color-slate-200);
}

.lookup-item-id-badge {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-slate-500);
}

.lookup-item-date-badge {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-teal-800);
  background: var(--color-teal-50);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-teal-200);
}

.lookup-item-fields {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.lookup-field-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.lookup-field-label {
  font-weight: 700;
  color: var(--color-slate-500);
  width: 100px;
  flex-shrink: 0;
}

.lookup-field-val {
  font-weight: 800;
  color: var(--color-slate-900);
  flex: 1;
}

.lookup-field-val.memo-val {
  font-weight: 600;
  color: var(--color-slate-700);
  background: var(--color-slate-50);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-slate-200);
}

/* 액션 버튼 [수정], [삭제] */
.lookup-item-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
}

.btn-lookup-action {
  flex: 1;
  height: 42px;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 800;
  font-family: inherit;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.btn-lookup-edit {
  background: var(--color-slate-100);
  color: var(--color-slate-800);
  border: 1.5px solid var(--color-slate-300);
}

.btn-lookup-edit:hover {
  background: var(--color-slate-200);
  border-color: var(--color-slate-400);
}

.btn-lookup-confirm {
  background: var(--color-teal-700);
  color: #ffffff;
}

.btn-lookup-confirm:hover {
  background: var(--color-teal-600);
}

.btn-lookup-delete {
  background: #fff1f2;
  color: var(--color-rose-700);
  border: 1.5px solid #fecdd3;
}

.btn-lookup-delete:hover {
  background: var(--color-rose-600);
  color: #ffffff;
}

.btn-lookup-cancel {
  background: var(--color-slate-100);
  color: var(--color-slate-600);
  border: 1.5px solid var(--color-slate-200);
}

.btn-lookup-cancel:hover {
  background: var(--color-slate-200);
}

/* 수정 폼 스타일 */
.lookup-edit-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.lookup-edit-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.lookup-edit-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-slate-600);
}

.lookup-edit-input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0.45rem 0.75rem;
  font-size: 0.92rem;
  font-family: inherit;
  font-weight: 700;
  color: var(--color-slate-900);
  background: #ffffff;
  border: 1.5px solid var(--color-slate-300);
  border-radius: var(--radius-md);
  box-sizing: border-box;
  outline: none;
}

.lookup-edit-input:focus {
  border-color: var(--color-teal-600);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.lookup-date-picker-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.lookup-date-calendar-icon {
  position: absolute;
  left: 0.75rem;
  color: var(--color-teal-700);
  pointer-events: none;
  z-index: 2;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.lookup-edit-input.edit-date {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 42px;
  min-height: 42px;
  padding-left: 2.35rem !important;
  padding-right: 0.65rem !important;
  font-size: 0.92rem;
  font-family: inherit;
  font-weight: 700;
  color: var(--color-slate-900) !important;
  -webkit-text-fill-color: var(--color-slate-900);
  background-color: #ffffff;
  border: 1.5px solid var(--color-slate-300);
  border-radius: var(--radius-md);
  box-sizing: border-box !important;
  display: flex;
  align-items: center;
  margin: 0;
  outline: none;
  cursor: pointer;
  opacity: 1 !important;
}

.lookup-edit-input.edit-date:focus {
  border-color: var(--color-teal-600);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.lookup-edit-input.edit-date::-webkit-date-and-time-value {
  text-align: left;
  min-height: 1.5em;
  margin: 0;
  padding: 0;
  color: var(--color-slate-900);
  font-size: 0.92rem;
  font-weight: 700;
}

.lookup-edit-input.edit-date::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.85;
  filter: invert(33%) sepia(85%) saturate(450%) hue-rotate(130deg);
  margin-right: 0.25rem;
}

.lookup-edit-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.lookup-edit-grid-2 .lookup-edit-group {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.lookup-edit-select {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  height: 42px;
  padding: 0 0.45rem !important;
  font-size: 0.88rem;
  font-family: inherit;
  font-weight: 700;
  color: var(--color-slate-900);
  background-color: #ffffff;
  border: 1.5px solid var(--color-slate-300);
  border-radius: var(--radius-md);
  cursor: pointer;
  outline: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 24 24' stroke='%23475569' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 1.5rem !important;
}

.lookup-edit-select:focus {
  border-color: var(--color-teal-600);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* Prominent Phone Inquiry Section */
.inquiry-call-card {
  background: linear-gradient(135deg, #ffffff 0%, var(--color-sky-50) 100%);
  border: 1.5px solid var(--color-sky-200);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-subtle);
  flex-wrap: wrap;
}

.inquiry-call-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.inquiry-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-teal-100);
  color: var(--color-teal-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.inquiry-icon-circle svg {
  width: 22px;
  height: 22px;
}

.inquiry-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-slate-900);
}

.inquiry-sub {
  font-size: 0.8rem;
  color: var(--color-slate-500);
}

.btn-phone-inquiry {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--color-teal-700);
  color: #ffffff;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-phone-inquiry:hover {
  background: var(--color-teal-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 118, 110, 0.35);
}

/* Success Modal Styles */
.success-modal-body {
  padding: 2rem 1.75rem;
  text-align: center;
}

.success-icon-bubble {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal-50), var(--color-teal-100));
  color: var(--color-teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 2px solid var(--color-teal-200);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.15);
  animation: pop-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-icon-bubble svg {
  width: 36px;
  height: 36px;
}

@keyframes pop-in {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-slate-900);
  margin-bottom: 0.35rem;
}

.success-subtitle {
  font-size: 0.88rem;
  color: var(--color-slate-500);
  margin-bottom: 1.5rem;
}

.ticket-card {
  background: var(--color-sky-50);
  border: 1.5px dashed var(--color-sky-300);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.45rem 0;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(186, 230, 253, 0.6);
}

.ticket-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ticket-label {
  font-weight: 700;
  color: var(--color-slate-500);
}

.ticket-val {
  font-weight: 800;
  color: var(--color-slate-900);
  text-align: right;
  max-width: 65%;
  word-break: break-word;
}

.ticket-val.highlight {
  color: var(--color-teal-700);
}

.modal-action-row {
  display: flex;
  gap: 0.75rem;
}

.modal-action-row .btn {
  flex: 1;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-modal-confirm {
  background: var(--color-teal-700);
  color: #ffffff;
}

.btn-modal-confirm:hover {
  background: var(--color-teal-600);
}

.btn-modal-sub {
  background: var(--color-slate-100);
  color: var(--color-slate-700);
}

.btn-modal-sub:hover {
  background: var(--color-slate-200);
}

/* 모바일 전용 예약 조회 및 수정 폼 반응형 최적화 */
@media (max-width: 640px) {
  .lookup-res-card {
    padding: 0.95rem 0.75rem;
  }

  .lookup-edit-form {
    gap: 0.65rem;
  }

  .lookup-edit-input {
    font-size: 0.88rem;
    padding: 0.4rem 0.55rem;
    height: 40px;
    min-height: 40px;
  }

  .lookup-date-picker-wrap {
    width: 100% !important;
    max-width: 100% !important;
  }

  .lookup-date-calendar-icon {
    left: 0.6rem;
    width: 16px;
    height: 16px;
  }

  .lookup-edit-input.edit-date {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 0.86rem;
    padding-left: 2.1rem !important;
    padding-right: 0.4rem !important;
    box-sizing: border-box !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  .lookup-edit-grid-2 {
    gap: 0.35rem;
  }

  .lookup-edit-select {
    height: 40px !important;
    min-height: 40px !important;
    font-size: 0.82rem;
    padding-left: 0.35rem !important;
    padding-right: 1.25rem !important;
    background-position: right 0.35rem center;
  }
}

