/* ═══════════════════════════════════════════════════════════
   TEMPORARY OFFLINE BOOKING ENQUIRY MODAL STYLES (.tmp)
   Matu Luxe Adventure Resort
   ═══════════════════════════════════════════════════════════ */

.matu-enquiry-modal-tmp {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.matu-enquiry-modal-tmp.is-open {
  opacity: 1;
  visibility: visible;
  display: flex !important;
}

/* Backdrop Overlay */
.matu-enquiry-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 14, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Modal Wrapper & Container */
.matu-enquiry-modal-wrapper {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.matu-enquiry-modal-container {
  background: #141c1a;
  border: 1px solid rgba(204, 164, 88, 0.35);
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(204, 164, 88, 0.12);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
  animation: matuModalPop 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes matuModalPop {
  0% {
    transform: scale(0.92) translateY(20px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* Modal Header */
.matu-enquiry-modal-header {
  position: relative;
  padding: 28px 32px 20px;
  background: #192321;
  border-bottom: 1px solid rgba(204, 164, 88, 0.2);
}

.matu-enquiry-tag {
  display: inline-block;
  font-family: 'Mulish', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #cca458;
  font-weight: 700;
  margin-bottom: 6px;
}

.matu-enquiry-title {
  color: #f5eedc;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 6px 0;
  line-height: 1.2;
}

.matu-enquiry-subtitle {
  color: rgba(245, 238, 220, 0.72);
  font-family: 'Mulish', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  padding-right: 30px;
}

.matu-enquiry-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(204, 164, 88, 0.3);
  border-radius: 50%;
  color: #cca458;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  padding: 0;
}

.matu-enquiry-modal-close:hover {
  background: #cca458;
  color: #141c1a;
  border-color: #cca458;
  transform: rotate(90deg);
}

/* Modal Body */
.matu-enquiry-modal-body {
  padding: 24px 32px 28px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cca458 rgba(255, 255, 255, 0.05);
}

.matu-enquiry-modal-body::-webkit-scrollbar {
  width: 6px;
}

.matu-enquiry-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

.matu-enquiry-modal-body::-webkit-scrollbar-thumb {
  background: rgba(204, 164, 88, 0.4);
  border-radius: 3px;
}

.matu-enquiry-modal-body::-webkit-scrollbar-thumb:hover {
  background: #cca458;
}

/* Form Grid */
.matu-enquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.matu-enquiry-field {
  display: flex;
  flex-direction: column;
}

.matu-enquiry-fullwidth {
  grid-column: 1 / -1;
}

.matu-enquiry-field label {
  color: #f5eedc;
  font-family: 'Mulish', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.matu-enquiry-field label .req {
  color: #cca458;
  font-weight: 700;
}

/* Inputs, Selects & Textarea */
.matu-enquiry-field input[type="text"],
.matu-enquiry-field input[type="tel"],
.matu-enquiry-field input[type="email"],
.matu-enquiry-field input[type="date"],
.matu-enquiry-field select,
.matu-enquiry-field textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(204, 164, 88, 0.3);
  border-radius: 6px;
  padding: 11px 14px;
  color: #f5eedc;
  font-family: 'Mulish', sans-serif;
  font-size: 14px;
  transition: all 0.25s ease;
  outline: none;
}

.matu-enquiry-field input[type="date"] {
  color-scheme: dark;
}

.matu-enquiry-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cca458' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 36px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.matu-enquiry-field select option {
  background: #141c1a;
  color: #f5eedc;
  padding: 8px;
}

.matu-enquiry-field input:focus,
.matu-enquiry-field select:focus,
.matu-enquiry-field textarea:focus {
  border-color: #cca458;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 10px rgba(204, 164, 88, 0.25);
}

.matu-enquiry-field textarea {
  resize: vertical;
  min-height: 70px;
}

/* Form Alert Messages */
.matu-enquiry-alert {
  padding: 12px 16px;
  border-radius: 6px;
  font-family: 'Mulish', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 18px;
}

.matu-enquiry-alert-error {
  background: rgba(192, 57, 43, 0.18);
  border: 1px solid #c0392b;
  color: #ff9b90;
}

.matu-enquiry-alert-success {
  display: none !important;
}

/* Footer & Buttons */
.matu-enquiry-footer {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.matu-enquiry-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #cca458 0%, #b89243 100%);
  color: #141c1a;
  font-family: 'Mulish', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(204, 164, 88, 0.25);
}

.matu-enquiry-submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #dfb768 0%, #cca458 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(204, 164, 88, 0.35);
}

.matu-enquiry-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.matu-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(20, 28, 26, 0.3);
  border-top-color: #141c1a;
  border-radius: 50%;
  animation: matuSpin 0.7s linear infinite;
}

@keyframes matuSpin {
  to { transform: rotate(360deg); }
}

.matu-enquiry-disclaimer {
  color: rgba(245, 238, 220, 0.6);
  font-family: 'Mulish', sans-serif;
  font-size: 12px;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

/* Mobile Responsiveness */
@media (max-width: 680px) {
  .matu-enquiry-modal-header {
    padding: 22px 20px 16px;
  }
  .matu-enquiry-title {
    font-size: 22px;
  }
  .matu-enquiry-modal-body {
    padding: 18px 20px 22px;
  }
  .matu-enquiry-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ═══════════════════════════════════════════════════════════
   THANK YOU POPUP MODAL STYLES (.tmp)
   ═══════════════════════════════════════════════════════════ */
.matu-thankyou-modal-tmp {
  z-index: 9999999 !important;
}

.matu-thankyou-wrapper {
  max-width: 520px;
}

.matu-thankyou-container {
  text-align: center;
  position: relative;
  padding: 40px 36px 36px;
  background: #141c1a;
  border: 1px solid rgba(204, 164, 88, 0.45);
  border-radius: 12px;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.9), 0 0 40px rgba(204, 164, 88, 0.22);
  transform: scale(0.85) translateY(30px);
  opacity: 0;
  transition: none;
}

.matu-thankyou-modal-tmp.is-open .matu-thankyou-container {
  animation: matuThankYouPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes matuThankYouPop {
  0% {
    transform: scale(0.75) translateY(40px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.matu-thankyou-modal-close {
  top: 16px;
  right: 16px;
}

/* Checkmark Badge & Drawing SVG Animation */
.matu-thankyou-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(204, 164, 88, 0.12);
  border: 2px solid rgba(204, 164, 88, 0.35);
  margin: 0 auto 16px;
  box-shadow: 0 0 30px rgba(204, 164, 88, 0.25);
  animation: matuBadgeGlow 2.5s ease-in-out infinite;
}

@keyframes matuBadgeGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(204, 164, 88, 0.2);
    border-color: rgba(204, 164, 88, 0.35);
  }
  50% {
    box-shadow: 0 0 35px rgba(204, 164, 88, 0.45);
    border-color: rgba(204, 164, 88, 0.65);
  }
}

.matu-checkmark-svg {
  width: 48px;
  height: 48px;
  display: block;
}

.matu-checkmark-circle {
  stroke: #cca458;
  stroke-width: 2.5;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: matuStrokeCircle 0.65s cubic-bezier(0.65, 0, 0.45, 1) 0.15s forwards;
}

.matu-checkmark-check {
  stroke: #f5eedc;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: matuStrokeCheck 0.45s cubic-bezier(0.65, 0, 0.45, 1) 0.7s forwards;
}

@keyframes matuStrokeCircle {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes matuStrokeCheck {
  100% {
    stroke-dashoffset: 0;
  }
}

.matu-thankyou-title {
  color: #f5eedc;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  margin: 4px 0 6px 0;
  line-height: 1.2;
}

.matu-thankyou-lead {
  color: #cca458;
  font-family: 'Mulish', sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 18px 0;
  line-height: 1.5;
}

.matu-thankyou-details-box {
  background: rgba(25, 35, 33, 0.8);
  border: 1px solid rgba(204, 164, 88, 0.22);
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 18px;
  text-align: left;
}

.matu-thankyou-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.matu-thankyou-detail-row:last-child {
  border-bottom: none;
}

.matu-ty-label {
  color: rgba(245, 238, 220, 0.65);
  font-weight: 500;
}

.matu-ty-value {
  color: #f5eedc;
  font-weight: 700;
  text-align: right;
}

.matu-thankyou-message {
  color: rgba(245, 238, 220, 0.82);
  font-family: 'Mulish', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 18px 0;
}

.matu-thankyou-hotline {
  background: rgba(204, 164, 88, 0.08);
  border-left: 3px solid #cca458;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 13px;
  color: rgba(245, 238, 220, 0.8);
  margin-bottom: 22px;
  text-align: left;
  line-height: 1.5;
}

.matu-thankyou-hotline a {
  color: #cca458;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.matu-thankyou-hotline a:hover {
  color: #dfb768;
  text-decoration: underline;
}

.matu-thankyou-actions {
  display: flex;
  justify-content: center;
}

.matu-thankyou-close-btn {
  display: inline-block;
  background: linear-gradient(135deg, #cca458 0%, #b89243 100%);
  color: #141c1a !important;
  font-family: 'Mulish', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 12px 36px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(204, 164, 88, 0.25);
}

.matu-thankyou-close-btn:hover {
  background: linear-gradient(135deg, #dfb768 0%, #cca458 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(204, 164, 88, 0.35);
}

@media (max-width: 680px) {
  .matu-thankyou-container {
    padding: 30px 18px 22px;
  }
  .matu-thankyou-title {
    font-size: 24px;
  }
  .matu-thankyou-badge {
    width: 64px;
    height: 64px;
  }
  .matu-checkmark-svg {
    width: 38px;
    height: 38px;
  }
}
