/*
 * assets/lv/css/lv-pages.css
 * Additions for the redesigned pages (index / ordering / pos) that the static
 * design did not need: the live demo-request form, slot picker, alerts, and
 * small helpers for server-rendered pricing. Brand tokens match brand.css.
 */

/* ── Demo request section ── */
.demo-section {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start;
  margin-block: 72px;
}
.demo-copy h2 { font-size: 36px; line-height: 1.1; margin: 10px 0 14px; color: #1A2530; }
.demo-copy p { font-size: 17px; line-height: 1.6; color: #616B78; max-width: 460px; margin: 0 0 22px; }
html[lang=ar] .demo-copy h2 { letter-spacing: 0; }
.demo-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.demo-points li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: #1A2530; }
.demo-points .icon-svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #F8EED5; color: #004B87; }

.demo-card {
  background: #fff; border: 1px solid #E0E6ED; border-radius: 20px; padding: 28px;
  box-shadow: 0 8px 24px #004B8708;
}
.demo-form { display: grid; gap: 14px; }
.demo-form .field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-form .field {
  width: 100%; box-sizing: border-box; padding: 13px 14px; border: 1px solid #E0E6ED; border-radius: 8px;
  background: #FCFAF5; color: #1A2530; font: inherit; font-size: 16px; line-height: 1.4;
}
.demo-form .field::placeholder { color: #616B78; }
.demo-form .field:focus { outline: 3px solid #E8C87290; outline-offset: 1px; border-color: #C59B27; background: #fff; }
.demo-form textarea.field { resize: vertical; min-height: 92px; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.demo-submit { width: 100%; justify-content: center; min-height: 50px; font-size: 15px; }
.demo-submit:disabled { opacity: .6; cursor: wait; transform: none; }

/* Slot picker */
.slot-picker { border: 0; padding: 0; margin: 0; min-width: 0; }
.slot-picker legend { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 700; color: #1A2530; }
.slot-picker .req { color: #B3261E; }
.slot-nav { display: flex; gap: 8px; margin-bottom: 8px; }
.slot-nav-btn {
  width: 44px; border: 1px solid #E0E6ED; border-radius: 8px; background: #fff; color: #004B87;
  font-size: 22px; line-height: 1; cursor: pointer;
}
.slot-nav-btn:hover:not(:disabled) { background: #FCFAF5; border-color: #C59B27; }
.slot-nav-btn:disabled { opacity: .35; cursor: not-allowed; }
.slot-month {
  flex: 1; display: flex; align-items: center; justify-content: center; min-height: 44px;
  border: 1px solid #E0E6ED; border-radius: 8px; background: #FCFAF5; font-size: 15px; font-weight: 600; color: #1A2530;
}
.slot-grid-wrap { max-height: 230px; overflow-y: auto; border-radius: 8px; background: #FCFAF5; border: 1px solid #E0E6ED; padding: 10px; }
.slot-grid-wrap::-webkit-scrollbar { width: 6px; }
.slot-grid-wrap::-webkit-scrollbar-thumb { background: #E0E6ED; border-radius: 10px; }
.slot-msg { text-align: center; padding: 16px 8px; font-size: 15px; color: #616B78; }
.slot-msg.is-error { color: #B3261E; }
.slot-date-group { margin-bottom: 12px; }
.slot-date-label { font-size: 13px; font-weight: 700; color: #616B78; margin-bottom: 6px; }
.slot-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.slot-pill {
  border: 1px solid #E0E6ED; background: #fff; color: #1A2530; padding: 7px 12px; border-radius: 6px;
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s;
}
.slot-pill:hover:not(:disabled) { border-color: #C59B27; background: #FCFAF5; }
.slot-pill.slot-selected { background: #C59B27; border-color: #C59B27; color: #1A2530; }
.slot-pill.slot-booked { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.slot-selected-display { margin-top: 10px; font-size: 15px; font-weight: 700; color: #004B87; }
.slot-selected-display[hidden] { display: none; }

/* Alerts */
.form-alert { margin-bottom: 14px; padding: 12px 14px; border-radius: 8px; font-size: 15px; line-height: 1.5; border: 1px solid transparent; }
.form-alert[hidden] { display: none; }
.form-alert--success { background: #EAF6EE; border-color: #B7DFC3; color: #14532D; }
.form-alert--error { background: #FDECEA; border-color: #F3B8B2; color: #7A1812; }

@media (max-width: 900px) {
  .demo-section { grid-template-columns: 1fr; gap: 28px; margin-block: 48px; }
  .demo-copy h2 { font-size: 30px; }
}
@media (max-width: 560px) {
  .demo-form .field-grid { grid-template-columns: 1fr; }
  .demo-card { padding: 20px; border-radius: 16px; }
}

/* Server-rendered pricing helpers */
.launch-price-visual .launch-inclusions .icon-svg { color: #C59B27; }
.plan-art { max-width: 100%; height: auto; }
