/* ============================================================
   MyceliaOS — Book a Demo Form
   File: static/css/book_demo.css
   Split layout: white form (left) + navy info panel (right)
   No shadows used anywhere.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Montserrat:wght@400;500;600&display=swap');

:root {
  --mycelia-grey: #3f444b;
  --mycelia-green: #00BD00;
  --mycelia-cyan: #01A3E2;

  --text-primary: var(--mycelia-grey);
  --text-muted: #5A6478;
  --text-ghost: #9AA3B5;
  --border: #E4E7EE;
  --input-bg: #FFFFFF;

  --error: #D64545;
  --error-bg: rgba(214, 69, 69, 0.06);

  --panel-width: 42%;
}

* {
  box-shadow: none;
}

body {
  margin: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* ----------------------------------------------------------
   PAGE — two-column flex row
   ---------------------------------------------------------- */
.demo-page {
  display: flex;
  min-height: 100vh;
  background: #FAFBFC;
}

/* ----------------------------------------------------------
   LEFT: FORM PANEL
   ---------------------------------------------------------- */
.demo-form-panel {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-start;
  background: #FAFBFC;
  padding: 56px 0;
}

.demo-card {
  width: 100%;
  max-width: 560px;
  margin: 0 64px;
  box-sizing: border-box;
}

.demo-logo {
  display: block;
  max-width: 150px;
  height: auto;
  margin-bottom: 32px;
}

.demo-title {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--mycelia-grey);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.demo-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 28px;
  line-height: 1.6;
}

/* ----------------------------------------------------------
   ALERT
   ---------------------------------------------------------- */
.demo-alert {
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.5;
}

.demo-alert p {
  margin: 0;
}

.demo-alert--error {
  background: var(--error-bg);
  border: 1px solid var(--error);
  color: var(--error);
}

/* ----------------------------------------------------------
   FORM LAYOUT / FIELDS
   ---------------------------------------------------------- */
.demo-form {
  display: flex;
  flex-direction: column;
}

.demo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.demo-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.demo-row .demo-field {
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   LABELS
   ---------------------------------------------------------- */
.demo-label {
  font-size: 13px;
  font-weight: 600;

  color: #1A1D2E;
}
.form-control {
  min-height: 5px;
  resize: vertical;
  line-height: 1.6;
  border-radius: 6px;
  border:#5A6478 solid 1px;
  color: red
}

.demo-required {
  color: var(--error);
  margin-left: 2px;
}

.demo-optional {
  color: var(--text-ghost);
  font-weight: 400;
  font-size: 12px;
  margin-left: 4px;
}

/* ----------------------------------------------------------
   INPUTS, TEXTAREA, SELECT
   ---------------------------------------------------------- */
.demo-input,
.demo-textarea {
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.15s ease;
}

.demo-input::placeholder,
.demo-textarea::placeholder {
  color: var(--text-ghost);
}

.demo-input:focus,
.demo-textarea:focus {
  border-color: var(--mycelia-cyan);
}

.demo-field--error .demo-input,
.demo-field--error .demo-select,
.demo-field--error .demo-textarea {
  border-color: var(--error);
}

.demo-textarea {
  min-height: 108px;
  resize: vertical;
  line-height: 1.6;
}

.demo-select-wrap {
  position: relative;
}

.demo-select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300006D' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

.demo-select {
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 36px 12px 14px;
  font-size: 14px;
  color: var(--text-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s ease;
}

.demo-select:focus {
  border-color: var(--mycelia-cyan);
}

.demo-select option {
  color: var(--text-primary);
}
/* ==========================================================
   INTERESTS (Checkbox Pills)
   ========================================================== */

.demo-interest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.demo-interest-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;

  padding: 14px 16px;

  border: 1px solid var(--border);
  border-radius: 10px;

  background: #fff;

  cursor: pointer;

  transition:
    border-color .2s ease,
    background .2s ease,
    transform .15s ease;
}

.demo-interest-option:hover {
  border-color: var(--mycelia-cyan);
  background: rgba(1, 163, 226, .04);
}

.demo-interest-option input[type="checkbox"] {
  margin: 2px 0 0;
  accent-color: var(--mycelia-green);

  width: 18px;
  height: 18px;

  flex-shrink: 0;
}

.demo-interest-option span {
  color: var(--text-primary);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

.demo-interest-option:has(input:checked) {
  border-color: var(--mycelia-green);
  background: rgba(0, 189, 0, .08);
}

.demo-interest-option:has(input:focus-visible) {
  outline: 2px solid var(--mycelia-cyan);
  outline-offset: 2px;
}

.demo-field--error .demo-interest-option {
  border-color: var(--error);
}

/* ----------------------------------------------------------
   ERRORS
   ---------------------------------------------------------- */
.demo-error {
  display: block;
  font-size: 12px;
  color: var(--error);
  line-height: 1.4;
}

/* ----------------------------------------------------------
   SUBMIT BUTTON — solid navy
   ---------------------------------------------------------- */
.demo-submit-wrap {
  margin-top: 12px;
}

.demo-submit {
  background: #00BD00;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 15px 28px;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease;
}

.demo-submit:hover {
  filter: brightness(1.15);
}

.demo-submit:active {
  transform: scale(0.99);
}

/* ----------------------------------------------------------
   TRUST LINE
   ---------------------------------------------------------- */
.demo-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  font-size: 11px;
  color: var(--text-ghost);
}

.demo-trust-dot {
  color: var(--border);
}

/* ============================================================
   RIGHT: INFO PANEL (navy)
   ============================================================ */
.demo-info-panel {
  flex: 0 0 var(--panel-width);
  background: var(--mycelia-navy);
  display: flex;
  align-items: center;
}

.demo-info-inner {
  padding: 64px 56px;
  box-sizing: border-box;
}

.demo-info-eyebrow {
  display: block;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00BD00;
  margin-bottom: 20px;
}

.demo-info-heading {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.35;
  color: #FFFFFF;
  margin: 0 0 24px;
}

.demo-info-text {
  font-size: 15px;
  line-height: 1.65;
  color: #C7CCE6;
  margin: 0 0 16px;
}

.demo-info-features {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.demo-info-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}

.demo-info-feature-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--mycelia-cyan);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-info-feature-title {
  display: block;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #00BD00;
  margin-bottom: 4px;
}

.demo-info-feature-text {
  font-size: 13px;
  line-height: 1.6;
  color: #C7CCE6;
  margin: 0;
}

.demo-info-callout {
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 16px 18px;
}

.demo-info-callout-label {
  display: block;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.demo-info-callout-text {
  font-size: 12px;
  line-height: 1.6;
  color: #E4E7F5;
  margin: 0;
}

/* ----------------------------------------------------------
   RESPONSIVE — stack on small screens
   ---------------------------------------------------------- */
@media (max-width: 900px) {
  .demo-page {
    flex-direction: column;
  }

  .demo-info-panel {
    flex: 0 0 auto;
    order: -1;
  }

  .demo-info-inner {
    padding: 40px 24px;
  }

  .demo-info-heading {
    font-size: 22px;
  }

  .demo-form-panel {
    padding: 32px 0;
  }
  .demo-interest-grid {
    grid-template-columns: 1fr;
  }

  .demo-card {
    margin: 0 20px;
  }

  .demo-row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }

  .demo-row .demo-field {
    margin-bottom: 20px;
  }
}