/* ========== FONT & UTILITY CLASSES ========== */
@font-face {
  font-family: 'Noto Sans HK';
  src: url('./NotoSansHK-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Noto Sans HK';
  src: url('./NotoSansHK-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('./Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

/* 全局樣式 */
:root {
    --primary-color: #666;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --transition: all 0.3s ease;

    /* Font family utility classes */
    --font-family-main: 'Noto Sans HK', Arial, Helvetica, sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;

    /* Font size utility classes */
    --text-xs: 0.75rem; /* 12px */
    --text-sm: 0.875rem; /* 14px */
    --text-base: 1rem; /* 16px */
    --text-lg: 1.125rem; /* 18px */
    --text-xl: 1.25rem; /* 20px */
    --text-2xl: 1.5rem; /* 24px */
    --text-3xl: 2rem; /* 32px */
    --text-4xl: 2.25rem; /* 36px */
    --text-5xl: 3rem; /* 48px */
    --text-6xl: 3.75rem; /* 60px */

}

* {
    box-sizing: border-box;
    max-width: 100%;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    border-radius: 0 !important;
}

body {
    line-height: 1.6;
    color: var(--dark-color);
    font-family: var(--font-family-main);
    font-weight: var(--font-weight-regular);
    font-style: normal;
}


button, input, select {
  border-radius: 0 !important;
}

button:active {
  background: inherit;
  color: inherit;
}

.text-regular {
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-regular);
}
.text-medium {
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-medium);
}
.text-semibold {
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-semibold);
}

/* 導航欄樣式 */
.navbar-brand {
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-2xl);
}

/* Hero Section 樣式 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-features {
    margin: 2rem 0;
}

.feature-item {
    margin-bottom: 1rem;
    font-size: var(--text-base);
}

.image-placeholder {
    background: rgba(255,255,255,0.1);
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Features Section 樣式 */
.feature-card {
    background: white;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.feature-icon {
    color: #666;
}

/* Validation Section 樣式 */
.validation-section {
    padding: 4rem 0;
    background: var(--light-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.validation-card {
    background: white;
    box-shadow: var(--box-shadow);
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
}

.validation-icon {
    color: #666;
}

.form-control {
    border: 2px solid #e9ecef;
    transition: var(--transition);
}

.form-control:focus {
    border-color: #666;
    box-shadow: 0 0 0 0.2rem rgba(102, 102, 102, 0.25);
}

.form-control-lg {
    padding: 0.75rem 1rem;
    font-size: var(--text-base);
}

/* Mobile first: 原生 select 樣式 */
.form-select {
  font-size: var(--text-base);
  padding: 16px 16px;
  min-height: 48px;
  border-radius: 8px;
  background-color: #EEE !important;
  border: 1.5px solid #e0e0e0;
  color: #222;
  /* 不加 appearance: none; 不加 background-image; */
}

/* Success Section 樣式 */
.success-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.success-card {
    background: white;
    box-shadow: var(--box-shadow);
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.success-circle {
    width: 120px;
    height: 120px;
    background: var(--success-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(25, 135, 84, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0);
    }
}

.success-details {
    background: var(--light-color);
    padding: 2rem;
}

.detail-item {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.benefit-card {
    background: var(--light-color);
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.benefit-icon {
    color: var(--success-color);
    margin-bottom: 1rem;
}

/* Info Section 樣式 */

/* 按鈕樣式 */
.btn {
    transition: var(--transition);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: var(--text-base);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
}

/* Loading 動畫 */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* 響應式設計 */
/* === Mobile First 預設樣式 === */
.hero-section {
    text-align: center;
    padding: 2rem 0;
}
.hero-content h1 {
    font-size: var(--text-4xl);
}
.validation-card,
.success-card {
    padding: 2rem;
    margin: 1rem;
}
.success-circle {
    width: 100px;
    height: 100px;
}
.success-circle i {
    font-size: var(--text-4xl);
}
.benefit-card {
    margin-bottom: 1rem;
}
.detail-item {
    text-align: center;
}

/* 動畫效果 */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 表單驗證樣式 */
.was-validated .form-control:valid {
    border-color: var(--success-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='m2.3 6.73.94-.94 2.83 2.83L8.77 4.5l.94.94L6.07 9.5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:invalid {
    border-color: var(--danger-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 1.4 1.4m0-1.4L7.2 6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* 工具提示樣式 */
.tooltip {
    font-size: var(--text-sm);
}

/* Let's Park Landing Page 樣式（Mobile First） */
/* Mobile First 預設樣式（default） */
.lp-header {
  position: relative;
  width: 100%;
  background: #e9f5f4;
  overflow: hidden;
  height: auto;
}
.lp-header-bg {
  max-height: 850px;
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  min-height: 432px;
}
.lp-header-content {
  position: absolute;
  top: 0;
  padding: 0px 16px;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.lp-header-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  z-index: 1000; /* Make sure it's above the header background */
  min-height: 0;
}

.lp-logo {
    position: relative;
    top: 0;
    left: 16px;
    bottom: 0;
    width: 40%;
    max-width: 280px;
    display: block;
    object-fit: cover;
    aspect-ratio: 160/70;
    z-index: 2;
}

.lp-lang-btn {
  position: relative;
  background: #d9d9d980;
  color: #000;
  margin-right: 16px;
  min-width: 54px;
  min-height: 28px;
  font-size: var(--text-sm);
  text-decoration: underline;
  z-index: 10;
}

.lp-lang-btn:hover {
  background: #e3e3e3d3 !important;
  color: #000 !important;
}

.lp-lang-btn:active,
.lp-lang-btn:focus {
  opacity: 1 !important;
}

.lp-header-title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 26px;
  width: auto;
  color: #FFF;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
  text-align: left;
  display: block;
  z-index: 3;
}
.lp-main-title {
  display: none;
}
.index_title {
  font-size: var(--text-4xl);
}

/* Main 內容區 */
.lp-main {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  background: transparent;
  position: relative;
}
.lp-main-box {
    top: 0px;
    background: transparent;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
}
.index-filter-section {
  background: #FEFEFE;
  padding: 24px 16px;
  box-sizing: border-box;
}
.index-location-list-section {
  background: transparent;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  margin-bottom: 0;
}
.lp-main,
.lp-main-box,
.index-filter-section,
.index-location-list-section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
/* Mobile-first 字級統一 */
/* Find Place 標籤 */
.lp-filter-box label {
  color: #000;
  font-size: var(--text-2xl);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
/* 地區選單 */
#locationSelect {
  background: #E7E7E7;
  border: none;
  padding: 14px 40px 14px 16px; /* 右側預留空間 */
  margin-top: 8px;
  color: #000;
  appearance: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  background-image: url('../assets/vector.png');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 9px;
}
#locationSelect:focus {
  outline: none;
  border: 2px solid #b6d12c;
}
.lp-location-box {
    background: #fff;
    padding: 32px 24px 24px 24px;
    max-width: 1140px;
    margin: 0 auto;
}
.index-location-list {
  padding: 16px;
}
.index-location-card {
  background-color: #FFF;
  box-shadow: 8px 32px rgba(0,0,0,0.80);
  border: none;
}
.index-location-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.lp-price {
    color: #b6d12c;
    font-size: var(--text-lg);
    
}

/* 列表標題樣式 */
/* 停車場名稱 */
.index-location-card-title {
  color: #373C3A;
  font-size: var(--text-xl);
  line-height: normal;
  letter-spacing: 1px;
  cursor: pointer;
  transition: text-decoration 0.2s, box-shadow 0.2s, transform 0.1s;
}
.index-location-card-title:hover,
.index-location-card-title:focus {
  text-decoration: underline;
  outline: none;
}
.index-location-card-title:active {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* 列表副標題樣式 */
/* 地址 */
.index-location-card-subtitle {
  color: #7F8683;
  font-size: var(--text-xs);
  line-height: normal;
  letter-spacing: 1px;
}

/* 列表價格樣式 */
/* 價格 */
.index-location-card-pricing,
.index-location-card-old-pricing {
  font-size: var(--text-base);
  line-height: normal;
  letter-spacing: 1px;
}

/* 列表舊價格樣式 */
.index-location-card-old-pricing {
  color: #C4C4C4;
  font-size: var(--text-sm);
  text-decoration-line: line-through;
}

/* MORE DETAIL 按鈕 */
.index-location-card-detail-btn, .promotion-form-form-btn, .confirmation-book-btn {
  margin-top: 18px;
  margin-bottom: 8px;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 20px;
  background: #dbe25a;
  color: #FFF;
  display: block;
  box-shadow: 0 2px 8px rgba(219,226,90,0.10);
  font-size: var(--text-xl);
}

.index-location-card-detail-btn:hover, .promotion-form-form-btn:hover, .confirmation-book-btn:hover,
.index-location-card-detail-btn:active, .promotion-form-form-btn:active, .confirmation-book-btn:active
.index-location-card-detail-btn:focus, .promotion-form-form-btn:focus, .confirmation-book-btn:focus
 {
  background: #dbe25a !important;
  color: #FFF !important;
}

/* Footer 樣式（Mobile First） */
.lp-footer {
  margin-top: 60px;
  padding: 24px 0px;
  background-color: #FFF;
  width: 100%;
  box-sizing: border-box;
  background-image: url('../assets/mobile-footer-background.png');
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 588px;
  box-shadow: 0 8px 60px rgba(0,0,0,0.08);
}
.lp-footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    max-width: auto;
    margin: 0 auto;
    width: 100%;
    padding: 0 12px;
    align-items: center;
    text-align: center;
}
.lp-footer-image-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.lp-footer-qr-code {
    min-width: 100px;
    max-width: 130px;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}
.lp-footer-company-icon {
    min-width: 180px;
    max-width: 260px;
    width: 100%;
    top: 0;
    aspect-ratio: 254 / 60;
    object-fit: contain;
}

.lp-footer-hstack1 {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: auto;
  max-width: 700px;
  flex: 0 1 auto;
  text-align: left;
  justify-content: flex-start;
}
.lp-footer-qr-code {
  min-width: 100px;
  max-width: 130px;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
}
.lp-footer-vstack2 {
  flex: 2.5 1 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  margin-left: 12px;
  height: 100%;
}
.lp-footer-company-icon {
  min-width: 180px;
  max-width: 260px;
  width: 100%;
  top: 0;
  aspect-ratio: 254 / 60;
  object-fit: contain;
  flex: 8 1 0;
  align-self: flex-start;
  max-width: 400px;
}
.lp-footer-join-text {
  flex: 2 1 0;
  margin: 0;
  text-align: left;
  font-size: var(--text-sm);
  color: #C4C4C4;
  width: 100%;
  align-self: flex-start;
  display: flex;
  align-items: flex-end;
  padding-left: 8px;
}
.social {
    text-align: center;
    margin: 40px 0px;
    color: #333;
    width: 100%;
}
.social div {
    margin: 5px 0;
}
.social a {
    color: #007bff;
    text-decoration: none;
}
.social a:hover {
    text-decoration: underline;
}
.footer-divider {
    width: 100%;
    border: 0;
    border-top: 1px solid #ccc;
}
.copyright {
    text-align: center;
    font-size: var(--text-sm);
    color: #666;
}

.social-title {
  font-size: var(--text-2xl);
  line-height: normal;
}

.social-content {
  font-size: var(--text-sm);
}

/* index page */
.index_find_location {
  font-size: var(--text-2xl);
}

.index-location-card-detail-btn {
  width: 98% !important;
}

/* promotion-form page */
.promotion-form-container {
  background: #fff;
  box-shadow: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.promotion-form-form-section {
  background: #FEFEFE;
  padding: 16px;
  border-bottom: 1px solid #e9ecef;
}
.promotion-form-form-row {
  display: grid;
  row-gap: 2px;
  margin-bottom: 16px;
}

.promotion-form-form-label {
  font-size: var(--text-base);
  color: #000;
  display: block;
}

.promotion-form-form-static,
.promotion-form-form-input {
  font-size: var(--text-base);
  color: #000;
}
.promotion-form-form-static{
  padding: 0px 1px;
}


.promotion-form-terms-section {
  padding: 24px 16px 30px 16px;
}

.promotion-form-terms-title {
  font-size: var(--text-xl);
  text-align: center;
  margin-bottom: 16px;
  color: #222;
}

.promotion_form_terms_paragraph {
  font-size: var(--text-base);
  color: #000;
  padding: 0px 8px;
  line-height: 28px;
}
.promotion_form_terms_paragraph p + p {
  margin-top: 4px;
}
.promotion_form_terms_paragraph br + b {
  margin-top: 12px;
  display: inline-block;
}

.promotion-form-form-btn {
  width: 95% !important;
}

/* confirmation page */
.confirmation-container {
  display: flex;
  background: #fff;
  box-shadow: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 16px 26px;
  overflow: hidden;
  flex-direction: column;
  gap: 24px;
}

.confirmation-title {
  font-size: var(--text-3xl);
  text-align: center;
}

.confirmation-copy-tip {
  font-size: var(--text-xl);
  color: #000000;
  text-align: center;
}
.confirmation-code-row {
  display: flex;
  flex-direction: column;
  align-items: center;      /* 置中（column時橫向） */
  justify-content: center;  /* 置中（column時縱向） */
  gap: 8px;
  padding: 12px 16px;
  font-size: var(--text-base);
}

.confirmation-code-label {
  font-size: var(--text-3xl);
  margin-right: 12px;
  min-width: 120px;
}

.confirmation-code-box {
  width: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #E7E7E7;
  padding: 4px 8px;
}

.confirmation-code-value {
  font-size: var(--text-2xl);
  padding: 4px 12px;
  color: #888;
  letter-spacing: 1px;
}

.confirmation-copy-btn,
.confirmation-copy-btn:hover {
  background: url('../assets/confirmation-copy-btn.png') center center no-repeat;
  background-size: 20px 20px;
  width: 32px;
  height: 32px;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-block;
}
.confirmation-copy-btn:hover {
  filter: brightness(1.5);
}
.confirmation-copy-btn:active {
  transform: scale(1.2);
}

.confirmation-book-btn  {
  padding-left: 60px;
  padding-right: 60px;
  width: auto !important;
}

/* common page */
@media (min-width: 768px) {
  .lp-lang-btn {
    position: relative;
    z-index: 10;
    min-width: 63px;
    margin-right: 82px;
    font-size: var(--text-base);
  }
  .lp-logo {
    left: 56px;
  }
  .lp-header-title {
    display: none;
  }
  .index_title {

    font-size: clamp(var(--text-3xl), 4vw, var(--text-6xl));
  }
  .lp-main {
    margin-top: -20%;
    z-index: 10;
    background: none !important;
    box-shadow: none !important;
  }
  .lp-main-title, .lp-main-box {
    margin: 0px 82px;
    width: auto;

  }
  .lp-main-title {
    display: block;
    margin-bottom: 20px;
    padding-left: 8px;
    font-size: var(--text-5xl);
    color: #FFF;
  }
  .lp-main-box {
    margin-bottom: 32px;
    box-shadow: 0px 6px 30px 0px rgba(0, 0, 0, 0.15);
  }

  .lp-footer {
    background-image: url('../assets/footer-background.png');
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100% 100%;
    min-height: 140px;
    max-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .lp-footer-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    margin-top: 0px !important;
    padding-top: 0px !important;
    margin: 0px 64px;
    padding: 0px;
    width: auto;
  }
  .lp-footer-hstack1 {
    flex: 0 1 auto;
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .social {
    position: relative;
    padding-top: 0px;
    right: 0px;
    top: 0;
    margin-top: 0px;
    margin-bottom: auto;
    align-self: flex-start;
    text-align: right;
    min-width: 320px;
    display: flex;
    flex-direction: column;
  }
  .social-content {
    font-size: var(--text-base);
  }

  .index-location-card-detail-btn, .promotion-form-form-btn, .confirmation-book-btn {
    width: auto !important;
    margin-left: auto;
    margin-right: 0;
    padding: 8px 20px;
    font-size: var(--text-2xl);
  }

} 

/* index page */
@media (min-width: 768px) {
  .index_find_location {
    font-size: var(--text-3xl);
  }
  .index-filter-section {
    background: #FEFEFE;
    padding: 32px 32px 24px 32px;
  }
  .index-location-list-section {
    background: #FEFEFE;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding-left: 32px;
    padding-right: 32px;
  }
  .form-select {
    font-size: var(--text-lg);
    min-height: 56px;
    padding: 18px 48px 18px 24px;
    appearance: none;
    background-image: url('../assets/vector.png');
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 9px;
  }
  .index-location-card-title {
    font-size: var(--text-2xl);
  }
  .index-location-card-subtitle {
    font-size: var(--text-base);
  }
  .index-location-card-pricing,
  .index-location-card-old-pricing {
    font-size: var(--text-lg);
    line-height: normal;
    letter-spacing: 1px;
  }
  .index-location-card-old-pricing {
      color: #C4C4C4;
      font-size: var(--text-base);
      text-decoration-line: line-through;
  }
  
} 

/* promotion page */
@media (min-width: 768px) {
  .promotion-form-container {
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    max-width: auto;
  }
  .promotion-form-form-section {
    padding: 32px 32px 24px 32px;
  }
  .promotion-form-terms-section {
    padding: 32px 32px 30px 32px;
  }
  .promotion-form-form-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
  }
  .promotion-form-form-label {
    min-width: 240px;
    margin-bottom: 0px;
    margin-right: 12px;
    text-align: left;
    flex-shrink: 0;
    align-items: center;
    font-size: var(--text-3xl);
  }
  .promotion-form-form-static,
  .promotion-form-form-input {
    align-items: center;
    width: 100%;
    height: auto;
    margin-bottom: 0px;
    font-size: var(--text-2xl);
    flex: 1 1 0;
    box-sizing: border-box;
  }

  .promotion-form-form-btn {
    font-size: var(--text-2xl);
  }
  .promotion-form-terms-title {
    font-size: var(--text-3xl);
    color: #000;
  }
  /* 條款段落行高 */
  .promotion_form_terms_paragraph {
    font-size: var(--text-2xl);
    color: #000;
    padding: 0px 60px;
    line-height: 28px;
  }
  /* 段落間距（如果有多個段落） */
  .promotion_form_terms_paragraph p + p {
    margin-top: 4px;
  }
  /* 條款間距：用 br + b 選擇器讓每條條款間距 12px */
  .promotion_form_terms_paragraph br + b {
    margin-top: 24px;
    display: inline-block;
  }

  .promotion-form-error-message-box {
    max-width: 60%;
    min-width: 470px;
  }

  .promotion-form-error-title,
  .promotion-form-error-body,
  .promotion-form-error-contact {
    font-size: var(--text-2xl) !important;
  }

}

/* confirmation page */
@media (min-width: 768px) {
  .confirmation-container {
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    max-width: auto;
  }

  .confirmation-title {
    font-size: var(--text-6xl);
    text-align: center;
    margin-bottom: 0;
  }
  .confirmation-code-row {
    display: flex;
    flex-direction: row;
    align-items: center;     
    justify-content: center;
  }
  .confirmation-book-btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 72px;
  }

}

.floating-whatsapp-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s, background 0.2s;
}
.floating-whatsapp-btn:hover {
  background: #1ebe57;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
.floating-whatsapp-btn img {
  width: 36px;
  height: 36px;
  display: block;
}

.floating-whatsapp-icon {
  width: 36px;
  height: 36px;
  display: block;
}

.promotion-form-error-message-box {
  background: #fff3f3;
  border: 1px solid #FF4343;
  border-radius: 12px;
  padding: 28px 36px;
  margin: 24px auto;
  max-width: 80%;
  min-width: 330px;
  color: #b02a37;
  box-shadow: 0 2px 12px rgba(220,53,69,0.08);
  text-align: left;
}
.promotion-form-error-title {
  font-size: var(--text-base);
  margin-bottom: 12px;
  color: #FF0404
}
.promotion-form-error-body {
  font-size: var(--text-base);
  line-height: 1.7;
  color: #FF0404;
}
.promotion-form-error-contact {
  display: block;
  font-size: var(--text-base);
  margin-top: 12px;
  color: #000;
}
.promotion-form-error-contact a {
  color: #33A933;
  text-decoration: underline;
}

