/* ========================================================
   Saint Martin Bengali Booking Page — Clean Responsive Styles
   ======================================================== */

.sm-form-page {
  padding: 36px 0 75px;
  background: var(--paper, #f7f4ec);
  min-height: calc(100vh - 160px);
}

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

/* Header badge and titles */
.sm-form-header {
  text-align: center;
  margin-bottom: 26px;
}
.sm-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #bc694e;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.sm-badge-tag .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  animation: sm-pulse 2s infinite ease-in-out;
}
@keyframes sm-pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
}

.sm-page-title {
  font-family: 'Noto Serif Bengali', serif;
  font-size: clamp(30px, 4.5vw, 42px);
  line-height: 1.2;
  color: #23362f;
  margin: 0 0 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.sm-page-subtitle {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #646f68;
  max-width: 620px;
  margin: 0 auto;
}

/* Season opening banner */
.sm-season-notice {
  background: #fbf5ea;
  border: 1px solid #ebd9b8;
  border-left: 4px solid #bc694e;
  padding: 15px 18px;
  border-radius: 4px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 24px;
  box-shadow: 0 3px 12px rgba(188, 105, 78, 0.05);
}
.sm-notice-icon {
  font-size: 20px;
  line-height: 1;
  flex: 0 0 auto;
  margin-top: 2px;
}
.sm-season-notice b {
  display: block;
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 14px;
  color: #6a3d1c;
  margin-bottom: 4px;
  font-weight: 600;
}
.sm-season-notice p {
  margin: 0;
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 13px;
  line-height: 1.65;
  color: #7b5934;
}

/* Main Form Card */
.sm-main-card {
  background: #fffdfa;
  border: 1px solid #e5e1d4;
  border-radius: 6px;
  padding: 36px 40px;
  box-shadow: 0 8px 30px rgba(35, 54, 47, 0.04);
}

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

/* Columns / Grid */
.sm-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.sm-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sm-field-full {
  width: 100%;
}

.sm-label {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #2b3d35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.sm-label-req {
  color: #bc694e;
  margin-left: 2px;
}
.sm-label-opt {
  font-size: 10px;
  font-weight: 500;
  color: #8b928b;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Text Inputs, Selects, Textareas */
.sm-input,
.sm-textarea {
  width: 100%;
  border: 1px solid #d9d6cb;
  background: #faf8f2;
  border-radius: 4px;
  padding: 11px 14px;
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 14px;
  color: #23362f;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.sm-input {
  height: 46px;
}
.sm-input:focus,
.sm-textarea:focus {
  background: #fff;
  border-color: #315448;
  box-shadow: 0 0 0 3px rgba(49, 84, 72, 0.12);
}
.sm-input::placeholder,
.sm-textarea::placeholder {
  color: #a7aea7;
}
.sm-field-hint {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 11px;
  color: #79837a;
  line-height: 1.5;
  margin-top: 2px;
}

/* Helper Chips (Members & Dates) */
.sm-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.sm-chip {
  background: #f1ede2;
  border: 1px solid #dcd7ca;
  color: #4c5750;
  padding: 4px 11px;
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 11px;
  cursor: pointer;
  border-radius: 14px;
  transition: all 0.15s ease;
  user-select: none;
}
.sm-chip:hover {
  background: #315448;
  color: #fff;
  border-color: #315448;
}

/* ========================================================
   RELOADED CUSTOM CHECKBOX & RADIO UI (No native ugly boxes)
   ======================================================== */

/* Strictly hide native inputs */
.sm-native-hidden {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* 3-Column Service Cards */
.sm-service-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 6px;
}

.sm-service-card {
  position: relative;
  border: 1.5px solid #d9d6cb;
  background: #faf8f2;
  border-radius: 5px;
  padding: 16px 14px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.18s, box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 130px;
  user-select: none;
}
.sm-service-card:hover {
  background: #f4efe4;
  border-color: #adb5ab;
  transform: translateY(-2px);
}
.sm-service-card.is-selected {
  border-color: #315448;
  background: #f1f6f3;
  box-shadow: 0 4px 14px rgba(49, 84, 72, 0.08);
}

.sm-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.sm-card-badge {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #bc694e;
  letter-spacing: 0.03em;
}

/* Custom Radio Indicator */
.sm-custom-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #bec4bc;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s ease;
}
.sm-service-card.is-selected .sm-custom-radio {
  border-color: #315448;
  background: #315448;
}
.sm-custom-radio::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.18s ease;
}
.sm-service-card.is-selected .sm-custom-radio::after {
  opacity: 1;
  transform: scale(1);
}

.sm-card-title {
  display: block;
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #23362f;
  margin-bottom: 4px;
  line-height: 1.35;
}
.sm-card-desc {
  display: block;
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 11px;
  color: #667269;
  line-height: 1.5;
}

/* Submit Area */
.sm-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid #e5e1d4;
  margin-top: 6px;
}
.sm-submit-btn {
  height: 50px;
  padding: 0 28px;
  background: #315448;
  color: #fff;
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.18s, transform 0.18s;
}
.sm-submit-btn:hover {
  background: #233e35;
  transform: translateY(-2px);
}
.sm-submit-hint {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 12px;
  line-height: 1.6;
  color: #778177;
  text-align: right;
}

/* Success Card */
.sm-success-card {
  text-align: center;
  padding: 16px 0 10px;
}
.sm-success-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e2ede5;
  color: #2b5644;
  font-size: 22px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}
.sm-success-card h2 {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 26px;
  color: #23362f;
  margin: 0 0 10px;
}
.sm-success-card p {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 14px;
  color: #667269;
  line-height: 1.7;
  margin: 0 auto 20px;
  max-width: 480px;
}
.sm-summary-box {
  background: #f7f5ed;
  border: 1px solid #dcd7ca;
  border-radius: 5px;
  padding: 18px 22px;
  max-width: 460px;
  margin: 0 auto 22px;
  text-align: left;
}
.sm-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed #dcd7ca;
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 13px;
}
.sm-summary-row:last-child {
  border-bottom: none;
}
.sm-summary-row span:first-child {
  color: #727c73;
}
.sm-summary-row span:last-child {
  font-weight: 600;
  color: #23362f;
  text-align: right;
}
.sm-wa-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 12px 24px;
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
  transition: background 0.18s, transform 0.18s;
}
.sm-wa-cta-btn:hover {
  background: #1ebc59;
  transform: translateY(-2px);
}

/* ========================================================
   Mobile Optimization & Responsive Layout
   ======================================================== */

@media (max-width: 768px) {
  .sm-main-card {
    padding: 28px 24px;
  }
  .sm-service-select-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .sm-form-page {
    padding: 20px 0 50px;
  }
  .sm-form-container {
    width: calc(100% - 24px);
  }
  .sm-main-card {
    padding: 22px 16px;
    border-radius: 4px;
  }
  .sm-row-2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .sm-page-title {
    font-size: 27px;
  }
  .sm-page-subtitle {
    font-size: 13px;
  }
  .sm-season-notice {
    padding: 13px 14px;
    gap: 10px;
  }
  .sm-season-notice b {
    font-size: 13px;
  }
  .sm-season-notice p {
    font-size: 12px;
  }
  .sm-submit-row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 12px;
  }
  .sm-submit-btn {
    width: 100%;
  }
  .sm-submit-hint {
    text-align: center;
  }
}
