/* ── Launchy Main Reservation & Contact Form — Unified Design ─────────── */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap");

/* ── Wrapper & Card ──────────────────────────────────────────────────────── */
.lmrf-wrapper {
  font-family: "DM Sans", sans-serif;
  width: 100%;
}

.lmrf-card {
  background: transparent;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  width: 100%;
}

/* ── Alert ───────────────────────────────────────────────────────────────── */
.lmrf-alert {
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.5;
}
.lmrf-alert.lmrf-success {
  background: #edfaf3;
  color: #1a7a4a;
  border: 1px solid #a3e6c5;
}
.lmrf-alert.lmrf-error {
  background: #fff2f2;
  color: #c0392b;
  border: 1px solid #f5c6c6;
}

/* ── Form layout ─────────────────────────────────────────────────────────── */
#lmrf-contact-form,
#lmrf-booking-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Two-column row ──────────────────────────────────────────────────────── */
.lmrf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── Fields ──────────────────────────────────────────────────────────────── */
.lmrf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lmrf-field label {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #524026;
  letter-spacing: 0.2px;
}

/* ── Unified Input, Select, Textarea Styling ────────────────────────────── */
.lmrf-field input,
.lmrf-field input[type="text"],
.lmrf-field input[type="email"],
.lmrf-field input[type="tel"],
.lmrf-field input[type="number"],
.lmrf-field input[type="date"],
.lmrf-field input[type="time"],
.lmrf-field select,
.lmrf-field textarea {
  width: 100%;
  padding: 16px 20px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #524026;
  background-color: #fffdf5 !important; /* توحيد لون الخلفية العاجية لكل الحقول */
  border: none !important;              /* إلغاء الـ border كلياً لجميع الحقول */
  outline: none !important;
  border-radius: 16px !important;       /* توحيد الحواف الدائرية */
  box-shadow: none !important;
  box-sizing: border-box;
  transition: background-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
  resize: vertical;
}

/* Select arrow customization */
.lmrf-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23524026' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  padding-right: 44px !important;
  cursor: pointer;
}

/* Placeholders & Date inputs */
.lmrf-field input::placeholder,
.lmrf-field textarea::placeholder {
  color: #a39580;
  font-size: 14px;
  opacity: 1;
}

.lmrf-field input[type="date"],
.lmrf-field input[type="time"] {
  cursor: pointer;
  color: #a39580;
}

.lmrf-field input[type="date"]:not(:placeholder-shown),
.lmrf-field input[type="date"]:focus,
.lmrf-field input[type="time"]:not(:placeholder-shown),
.lmrf-field input[type="time"]:focus {
  color: #524026;
}

/* Focus Ring */
.lmrf-field input:focus,
.lmrf-field select:focus,
.lmrf-field textarea:focus {
  box-shadow: 0 0 0 2px rgba(82, 64, 38, 0.2) !important;
}

/* ── Submit Button ───────────────────────────────────────────────────────── */
.lmrf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 32px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700 !important;
  color: #ffffff;
  background: #59431f;
  border: none;
  border-radius: 24px !important; 
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.3px;
}

.lmrf-btn-full {
  width: 100%;
}

.lmrf-btn:hover:not(:disabled) {
  background: #00783c;
}

.lmrf-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ── Spinner ─────────────────────────────────────────────────────────────── */
.lmrf-spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: lmrf-spin 0.7s linear infinite;
  flex-shrink: 0;
}
.lmrf-btn.loading .lmrf-spinner {
  display: block;
}
.lmrf-btn.loading .lmrf-btn-text {
  opacity: 0.75;
}
@keyframes lmrf-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Mobile Responsive ──────────────────────────────────────────────────── */
@media (max-width: 540px) {
  .lmrf-row {
    grid-template-columns: 1fr;
  }
}