/* 熙樂 Ciel｜預約完成與 LINE 確認畫面的日系水彩繪本樣式。
 * 只改呈現，保留 #step-4/#step-5、預約送出、LINE 複製與跳轉、付款提醒邏輯。
 * 「申請送出」不等於付款完成；重要提醒不被隱藏或改寫。
 */
#view-booking:has(#step-4:not(.hidden)) > div:first-child,
#view-booking:has(#step-5:not(.hidden)) > div:first-child {
  border:1px solid #d6b792 !important;
  border-radius:25px !important;
  background:
    linear-gradient(180deg,rgba(255,250,240,.83),rgba(249,235,216,.90)),
    url('../images/paper-wash.webp') center top / 100% auto repeat-y,
    #fff7e7 !important;
  box-shadow:0 12px 34px rgba(93,68,43,.11) !important;
}
#view-booking:has(#step-4:not(.hidden)) > div:first-child > .p-6,
#view-booking:has(#step-5:not(.hidden)) > div:first-child > .p-6 {
  padding:clamp(.88rem,2.6vw,1.7rem) !important;
  background:transparent !important;
  min-width:0;
}
#view-booking #step-4,
#view-booking #step-5 {
  min-width:0;
  max-width:100%;
  color:#704b35;
  padding:clamp(.7rem,2vw,1.35rem) .25rem !important;
}
#view-booking #step-4 > h2,
#view-booking #step-5 > h2 {
  color:#704b35 !important;
  margin:0 auto 1.15rem !important;
  font:500 clamp(1.35rem,3.2vw,1.8rem)/1.55 'Iansui','Noto Serif TC',serif !important;
  letter-spacing:.065em;
  text-wrap:balance;
}
#view-booking #step-4 > .bg-yellow-50 {
  width:min(100%,510px);
  max-width:100% !important;
  margin:0 auto 1.4rem !important;
  padding:1.05rem clamp(.85rem,2vw,1.2rem) !important;
  border:1px solid #ddba95 !important;
  border-left:5px solid #bf9975 !important;
  border-radius:17px !important;
  background:rgba(255,247,227,.91) !important;
  box-shadow:0 6px 18px rgba(103,76,43,.055);
}
#view-booking #step-4 > .bg-yellow-50 > p:first-child {
  color:#80553b !important;
  font-size:clamp(.99rem,2vw,1.08rem) !important;
  line-height:1.6;
}
#view-booking #step-4 > .bg-yellow-50 > p:last-child {
  color:#72553f !important;
  font-size:clamp(.91rem,1.9vw,1rem) !important;
  line-height:1.72;
  overflow-wrap:anywhere;
}
#view-booking #step-4 > .bg-yellow-50 .underline { text-underline-offset:3px; }
#view-booking #step-4 > .max-w-sm.space-y-4 {
  width:min(100%,510px);
  max-width:100% !important;
  margin:0 auto 1.7rem !important;
}
#view-booking #step-4 > .max-w-sm.space-y-4 > button {
  min-height:54px;
  border:1px solid #5a764a !important;
  border-radius:999px !important;
  background:#728d5d !important;
  color:#fffdf8 !important;
  box-shadow:0 7px 16px rgba(72,97,62,.14) !important;
  font-size:clamp(1rem,2vw,1.15rem) !important;
  line-height:1.55;
  padding:.75rem 1rem !important;
  transform:none !important;
  white-space:normal;
}
#view-booking #step-4 > .max-w-sm.space-y-4 > button:hover {
  background:#607c4c !important;
}
#view-booking #step-4 > .max-w-sm.space-y-4 > button:focus-visible {
  outline:3px solid #879d6c;
  outline-offset:3px;
}
#view-booking #step-4 > .max-w-sm.space-y-4 > button > span.absolute {
  display:none; /* only remove the decorative hover sheen, not the real action */
}
#view-booking #step-4 > .max-w-sm.space-y-4 > p {
  color:#836b53 !important;
  font-size:.88rem !important;
  line-height:1.65 !important;
}
#view-booking #booking-summary-card {
  width:min(100%,590px);
  max-width:100% !important;
  margin:0 auto 1.2rem !important;
  padding:clamp(1rem,2.8vw,1.55rem) !important;
  border:1px solid #d8c0a0 !important;
  border-radius:21px !important;
  background:
    linear-gradient(145deg,rgba(255,252,246,.99),rgba(252,243,228,.93)) !important;
  box-shadow:0 8px 22px rgba(97,70,45,.085) !important;
  color:#70503b;
  opacity:1 !important;
  min-width:0;
}
#view-booking #booking-summary-card > div.absolute {display:none;}
#view-booking #booking-summary-card > h3 {
  color:#714e36 !important;
  padding-bottom:.85rem !important;
  margin-bottom:1rem !important;
  border-bottom:1px solid #e0c9a9 !important;
  font:500 clamp(1.05rem,2.2vw,1.24rem)/1.6 'Iansui','Noto Serif TC',serif !important;
  letter-spacing:.03em;
  flex-wrap:wrap;
  gap:.55rem;
}
#view-booking #summary-payment-badge {
  padding:.27rem .7rem !important;
  border:1px solid #cbd2bb;
  border-radius:999px !important;
  background:#eef3e5 !important;
  color:#4f6b43 !important;
  font-family:'Huninn',sans-serif;
  font-size:.8rem !important;
  white-space:nowrap;
}
#view-booking #booking-summary-card > .space-y-3 {
  display:flex;
  flex-direction:column;
  gap:.83rem !important;
  margin:0 !important;
}
#view-booking #booking-summary-card > .space-y-3 > div {
  min-width:0;
  margin:0 !important;
  padding:0 0 .65rem;
  border-bottom:1px dashed rgba(185,155,121,.48);
  align-items:baseline;
  gap:.4rem 1rem;
  flex-wrap:wrap;
}
#view-booking #booking-summary-card > .space-y-3 > div:last-child {border-bottom:0;}
#view-booking #booking-summary-card > .space-y-3 > div > span:first-child {
  color:#80674f !important;
  font-size:clamp(.93rem,1.6vw,1rem) !important;
  line-height:1.6;
  flex:0 0 auto;
}
#view-booking #booking-summary-card > .space-y-3 > div > span:last-child {
  color:#604732 !important;
  font-size:clamp(.98rem,1.65vw,1.08rem) !important;
  line-height:1.6;
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:break-word;
  text-align:right;
  margin-left:auto;
  font-variant-numeric:tabular-nums;
}
#view-booking #booking-notification-status:not(.hidden) {
  width:min(100%,590px);
  margin:1rem auto !important;
  padding:.85rem 1rem;
  border:1px solid #ddc19a;
  border-left:4px solid #ba9872;
  border-radius:13px;
  background:rgba(255,249,228,.94);
  color:#825f46 !important;
  font-size:.94rem;
  line-height:1.7;
  overflow-wrap:anywhere;
}
#view-booking #saved-payment-action:not(.hidden) {
  display:block;
  width:min(100%,510px);
  min-height:45px;
  margin:1.1rem auto !important;
  padding:.7rem 1rem !important;
  border:1px solid #9caf89 !important;
  border-radius:999px !important;
  background:#eff4e8 !important;
  color:#557044 !important;
  font-size:.99rem;
  line-height:1.6;
  font-weight:700;
  white-space:normal;
}
#view-booking #saved-payment-action:hover {background:#e4ecdb !important;}
#view-booking #saved-payment-action:focus-visible {
  outline:3px solid #82986b;
  outline-offset:3px;
}

/* 維持實際的 LINE 聯絡與付款完成後核對提醒；只調整裝飾。 */
#payment-reminder-modal {
  padding:.65rem !important;
  background:rgba(67,51,40,.54) !important;
  backdrop-filter:blur(3px);
}
#payment-reminder-modal > div {
  width:min(100%,440px);
  max-width:440px !important;
  max-height:calc(100dvh - 1.3rem);
  overflow-x:hidden;
  overflow-y:auto;
  padding:clamp(1rem,3vw,1.55rem) !important;
  border:1px solid #d9bd99;
  border-radius:24px !important;
  background:
    linear-gradient(180deg,rgba(255,251,243,.94),rgba(251,239,217,.94)),
    url('../images/paper-wash.webp') center top / cover no-repeat,
    #fff7e7 !important;
  box-shadow:0 22px 70px rgba(45,33,22,.22);
}
#payment-reminder-modal > div > div > .w-16.h-16 {
  width:66px !important;
  height:66px !important;
  margin-bottom:1rem !important;
  border:1px solid #d8c1a5;
  border-radius:50%;
  background:#f3e7d5 !important;
  color:#8a775b !important;
  box-shadow:0 4px 12px rgba(94,72,45,.07);
}
#payment-reminder-modal > div > div > .w-16.h-16 i {
  color:#8d996d !important;
}
#payment-reminder-modal > div > div > .bg-yellow-50 {
  padding:1rem !important;
  margin-bottom:1.2rem !important;
  border:1px solid #dbc2a0 !important;
  border-left:5px solid #c09b78 !important;
  border-radius:14px !important;
  background:rgba(255,248,233,.93) !important;
}
#payment-reminder-modal #line-channel-modal-title {
  color:#704b35 !important;
  font:500 clamp(1.16rem,2.5vw,1.35rem)/1.55 'Iansui',serif !important;
  letter-spacing:.035em;
}
#payment-reminder-modal #line-channel-modal-title span {
  color:#597449 !important;
  font:600 clamp(1.25rem,2.7vw,1.5rem)/1.5 'Iansui',serif !important;
}
#payment-reminder-modal #line-channel-modal-description {
  color:#755b44 !important;
  line-height:1.75;
}
#payment-reminder-modal #modal-private-line-btn,
#payment-reminder-modal #modal-official-line-btn {
  min-height:68px;
  padding:1rem .9rem !important;
  border:1px solid #536e49 !important;
  border-radius:16px !important;
  background:#667c59 !important;
  color:#fffdf5 !important;
  box-shadow:0 5px 14px rgba(69,92,58,.13) !important;
}
#payment-reminder-modal #modal-official-line-btn:not(.hidden) {
  border-color:#53875d !important;
  background:#688d6b !important;
}
#payment-reminder-modal #modal-private-line-btn:focus-visible,
#payment-reminder-modal #modal-official-line-btn:focus-visible {
  outline:3px solid #8da374;
  outline-offset:3px;
}
#payment-reminder-modal #modal-private-line-btn #modal-private-line-title,
#payment-reminder-modal #modal-private-line-btn i {
  color:#fff1cd !important;
}
#payment-reminder-modal #modal-private-line-detail,
#payment-reminder-modal #modal-private-line-detail span {
  color:#fff7e7 !important;
}
#payment-reminder-modal #modal-private-line-badge {
  background:#b47c61 !important;
  color:#fff !important;
  border-radius:0 0 0 10px !important;
}
#payment-reminder-modal #reminder-modal-text {
  padding:.87rem !important;
  border:1px solid #dac2a2;
  border-radius:13px;
  background:rgba(255,249,238,.91);
  color:#785941 !important;
  font-size:clamp(.92rem,1.8vw,.99rem) !important;
  line-height:1.77 !important;
  overflow-wrap:anywhere;
}
#payment-reminder-modal #line-channel-paste-hint {
  color:#806953 !important;
  line-height:1.65;
  margin-top:.9rem !important;
}

/* 使用者已完成 LINE 動作的最後回饋。 */
#view-booking #step-5 > div:first-child {
  width:80px !important;
  height:80px !important;
  margin:0 auto 1.2rem !important;
  border:1px solid #b7cb9d;
  border-radius:50% !important;
  background:#eff4e7 !important;
  box-shadow:0 5px 13px rgba(95,122,72,.075) !important;
}
#view-booking #step-5 > div:first-child i { color:#6a8452 !important; }
#view-booking #step-5 > p {
  color:#785d45 !important;
  font-size:clamp(.95rem,1.75vw,1.04rem) !important;
  line-height:1.7;
}
#view-booking #step-5 > .bg-gray-50 {
  width:min(100%,490px);
  max-width:100% !important;
  margin:1.25rem auto 1.4rem !important;
  padding:1rem 1.1rem !important;
  border:1px solid #d9bf9c;
  border-left:5px solid #c4a07c;
  border-radius:15px !important;
  background:rgba(255,248,232,.91) !important;
  color:#745b46 !important;
  line-height:1.75;
}
#view-booking #step-5 > .bg-gray-50 p {color:#765b46 !important;}
#view-booking #step-5 > .bg-gray-50 p:first-child {color:#674932 !important;}
#view-booking #step-5 #success-private-line-btn,
#view-booking #step-5 #success-official-line-btn {
  min-height:66px;
  padding:.92rem .9rem !important;
  border:1px solid #58724d !important;
  border-radius:16px !important;
  background:#697f5d !important;
  color:#fffdf6 !important;
  box-shadow:0 5px 14px rgba(84,107,74,.10) !important;
}
#view-booking #step-5 #success-official-line-btn:not(.hidden) {
  border-color:#59875f !important;
  background:#6c9070 !important;
}
#view-booking #step-5 #success-private-line-title,
#view-booking #step-5 #success-private-line-btn .text-yellow-300 {
  color:#fff1cd !important;
}
#view-booking #step-5 #success-private-line-detail {
  color:#fff5e5 !important;
}
#view-booking #step-5 #success-private-line-badge {
  background:#b37f64 !important;
  border-radius:0 0 0 11px !important;
}
#view-booking #step-5 button[onclick="backToHome()"] {
  min-height:48px;
  border:1px solid #d2b797 !important;
  border-radius:999px !important;
  background:#fff8ea !important;
  color:#775940 !important;
  font-weight:700;
  box-shadow:none !important;
}
#view-booking #step-5 button:focus-visible {
  outline:3px solid #869c6c;
  outline-offset:3px;
}
#view-booking #step-5 > div,
#view-booking #step-4 > div {
  min-width:0;
}
@media (max-width:767px) {
  #view-booking:has(#step-4:not(.hidden)) > div:first-child,
  #view-booking:has(#step-5:not(.hidden)) > div:first-child {
    border-radius:19px !important;
  }
  #view-booking #step-4 > .max-w-sm.space-y-4,
  #view-booking #booking-summary-card {width:100%;}
  #payment-reminder-modal > div {border-radius:19px !important;}
}
@media (prefers-reduced-motion:reduce) {
  #view-booking #step-4 > .max-w-sm.space-y-4 > button,
  #view-booking #step-5 button {transition:none !important;}
}
