/* Tropical Andamans enquiry form, in the theme's colours: amber button #e8a83e, ink #172b2e, soft green-grey lines. */
.te-form { --te-accent: #e8a83e; --te-ink: #172b2e; --te-muted: #5c6f70; --te-line: #d9e3dc; --te-soft: #f6f9f6; position: relative; color: var(--te-ink); font-family: inherit; text-align: left; }
.te-form * { box-sizing: border-box; }
.te-head { margin: 0 0 14px; }
.te-title { margin: 0; color: var(--te-ink); font-size: 22px; font-weight: 700; line-height: 1.25; }
.te-sub { margin: 4px 0 0; color: var(--te-muted); font-size: 14px; }
.te-about { display: inline-block; margin: 0 0 12px; padding: 5px 11px; border: 1px solid var(--te-line); border-radius: 999px; background: var(--te-soft); color: var(--te-muted); font-size: 13px; line-height: 1.4; }
.te-about strong { color: var(--te-ink); }
.te-field { margin: 0 0 12px; }
.te-form label { display: block; margin: 0 0 5px; color: var(--te-ink); font-size: 13px; font-weight: 600; line-height: 1.3; }
.te-form label span { color: var(--te-muted); font-weight: 400; }
.te-form input, .te-form select, .te-form textarea { display: block; width: 100%; min-height: 46px; margin: 0; padding: 10px 12px; border: 1px solid var(--te-line); border-radius: 8px; background: #fff; box-shadow: none; color: var(--te-ink); font: inherit; font-size: 15px; line-height: 1.4; }
.te-form textarea { min-height: 84px; resize: vertical; }
.te-form input::placeholder, .te-form textarea::placeholder { color: #8a9a9b; }
.te-form input:focus, .te-form select:focus, .te-form textarea:focus { border-color: var(--te-accent); outline: 2px solid var(--te-accent); outline-offset: 1px; }
.te-phone { display: flex; gap: 8px; }
.te-phone select { flex: 0 0 92px; width: 92px; }
.te-phone input { flex: 1 1 auto; min-width: 0; }
.te-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.te-submit { display: block; width: 100%; min-height: 50px; margin: 4px 0 0; padding: 12px 20px; border: 0; border-radius: 8px; background: var(--te-accent); color: var(--te-ink); cursor: pointer; font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; }
.te-submit:hover { filter: brightness(0.95); }
.te-submit:disabled { cursor: wait; opacity: 0.6; }
.te-note { margin: 8px 0 0; color: var(--te-muted); font-size: 12.5px; text-align: center; }
.te-status { margin: 8px 0 0; font-size: 14px; }
.te-status:empty { display: none; }
.te-status.te-error { color: #b42318; }
.te-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.te-done { padding: 20px 18px; border: 1px solid var(--te-line); border-radius: 12px; background: var(--te-soft); text-align: center; outline: none; }
.te-done-title { margin: 0 0 6px; color: var(--te-ink); font-size: 18px; font-weight: 700; line-height: 1.3; }
.te-done p { margin: 0 0 12px; color: var(--te-muted); }
.te-wa { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border-radius: 8px; background: #25d366; color: #fff !important; font-weight: 700; text-decoration: none !important; }
.te-form[hidden], .te-fields[hidden], .te-done[hidden] { display: none !important; }
/* The header pop-up: room for the longer form on small screens. */
.tropnav-modal-box:has(.te-form--modal) { max-height: calc(100vh - 32px); overflow-y: auto; }
.te-sticky { display: none; }
@media (max-width: 767px) {
  .te-row { grid-template-columns: 1fr; }
  /* 16px or more, or iPhones zoom the page when a field is tapped (the theme sets 14px on package-page fields). */
  .te-form input, .te-form select, .te-form textarea { font-size: 16px !important; }
  .te-sticky { display: block; position: fixed; right: 12px; bottom: 12px; left: 12px; z-index: 999; padding: 14px; border-radius: 10px; background: #e8a83e; box-shadow: 0 8px 24px rgba(23, 43, 46, 0.25); color: #172b2e !important; font-weight: 700; text-align: center; text-decoration: none !important; transition: opacity 0.2s, transform 0.2s; }
  .te-sticky--hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }
  body.single-andaman-packages { padding-bottom: 72px; }
}
