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

:root {
  --fv-teal: #62c4b9;
  --fv-teal-dark: #4aa89e;
  --fv-dark-blue: #256596;
  --fv-nano-blue: #0097e8;
  --fv-sky-blue: #00b9e6;
  --fv-dark-gray: #48494c;
  --fv-pale: #f6fafb;
  --fv-orange: #ff9f1c;
  --fv-orange-dark: #e88f0f;

  /* light module surfaces, matched to flovision.com
     (white page, pale-blue cards with a hairline dark-blue border) */
  --fv-white: #ffffff;
  --fv-card: #eef5f7; /* site card fill (.fv-disc-offramp) */
  --fv-surface: #ffffff;
  --fv-surface-hover: #f6fafb;
  --fv-line: rgba(37, 101, 150, 0.14); /* site card border */
  --fv-line-strong: rgba(37, 101, 150, 0.32);
  --fv-heading: var(--fv-dark-blue);
  --fv-text: var(--fv-dark-gray);
  --fv-muted: rgba(72, 73, 76, 0.78);
  --fv-faint: rgba(72, 73, 76, 0.5);
  --fv-teal-tint: rgba(98, 196, 185, 0.16);
  --fv-blue-tint: rgba(37, 101, 150, 0.08);
  --fv-error: #c0392b;

  --fv-gradient: linear-gradient(120deg, var(--fv-teal) 0%, var(--fv-nano-blue) 100%);
  --fv-gradient-deep: linear-gradient(160deg, #2b6fa6 0%, #0f88cf 100%);
}

* {
  box-sizing: border-box;
}
html,
body {
  min-height: 100%;
}
body {
  margin: 0;
  font-family: "Poppins", "Avenir", -apple-system, sans-serif;
  color: var(--fv-text);
  background: var(--fv-white);
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: rgba(37, 101, 150, 0.2);
  border-radius: 8px;
}

.svm-main {
  padding: 44px 24px 52px;
}

/* ---------- step 0: meeting type list ---------- */
.svm-types {
  max-width: 660px;
  margin: 0 auto;
  position: relative;
}
.svm-types__blob {
  display: none;
  position: absolute;
  top: -50px;
  right: -30px;
  width: 200px;
  height: 200px;
  border-radius: 42% 58% 63% 37% / 41% 45% 55% 59%;
  background: radial-gradient(circle at 50% 50%, var(--fv-orange) 0%, transparent 70%);
  opacity: 0.28;
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}
.svm-types__intro {
  position: relative;
  text-align: center;
  margin-bottom: 34px;
}
.svm-types__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fv-dark-blue);
  margin: 0 0 14px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.svm-types__eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--fv-dark-blue);
}
.svm-types__title {
  font-size: 32px;
  font-weight: 600;
  color: var(--fv-heading);
  margin: 0 0 10px;
}
.svm-types__subtitle {
  font-size: 15px;
  color: var(--fv-muted);
  margin: 0;
}
.svm-types__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.svm-type {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--fv-surface);
  border-radius: 14px;
  padding: 20px 22px;
  border: 1px solid var(--fv-line);
  box-shadow: 0 4px 14px rgba(37, 101, 150, 0.06);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  text-align: left;
  font-family: inherit;
}
.svm-type:hover {
  border-color: var(--fv-teal);
  background: var(--fv-surface-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 101, 150, 0.12);
}
.svm-type__badge {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: var(--fv-teal-tint);
  color: var(--fv-dark-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.svm-type__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--fv-heading);
  margin-bottom: 3px;
}
.svm-type__desc {
  font-size: 13px;
  color: var(--fv-muted);
  line-height: 1.5;
}
.svm-type__meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--fv-faint);
  margin-top: 6px;
}
.svm-type__arrow {
  font-size: 20px;
  color: var(--fv-dark-blue);
  flex: none;
  align-self: center;
  transition: transform 0.15s ease;
}
.svm-type:hover .svm-type__arrow {
  transform: translateX(4px);
}

/* ---------- split card (step 1+) ---------- */
.svm-card {
  display: flex;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
  box-shadow: 0 18px 44px rgba(37, 101, 150, 0.1);
  border-radius: 20px;
  overflow: hidden;
  background: var(--fv-white);
  border: 1px solid var(--fv-line);
}

.svm-sidebar {
  width: 310px;
  flex: none;
  background: var(--fv-card);
  color: var(--fv-text);
  padding: 36px 30px;
  min-height: 560px;
  box-sizing: border-box;
  position: relative;
}
.svm-sidebar::after {
  display: none;
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 55%);
  pointer-events: none;
}
.svm-sidebar > * {
  position: relative;
  z-index: 1;
}
.svm-sidebar__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fv-dark-blue);
  cursor: pointer;
  margin-bottom: 32px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  transition: color 0.15s ease;
}
.svm-sidebar__back:hover {
  color: var(--fv-dark-gray);
}
.svm-sidebar__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fv-dark-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}
.svm-sidebar__host {
  font-size: 13px;
  font-weight: 700;
  color: var(--fv-dark-blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.svm-sidebar__name {
  font-size: 22px;
  font-weight: 600;
  color: var(--fv-heading);
  line-height: 1.3;
  margin-bottom: 16px;
}
.svm-sidebar__row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fv-text);
  margin-bottom: 10px;
}
.svm-sidebar__row svg {
  width: 15px;
  height: 15px;
  flex: none;
  stroke: var(--fv-dark-blue);
}
.svm-sidebar__desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--fv-muted);
  margin-top: 12px;
}
.svm-sidebar__selected {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--fv-line-strong);
}
.svm-sidebar__selected-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--fv-heading);
  margin-bottom: 4px;
}
.svm-sidebar__selected-time {
  font-size: 13px;
  color: var(--fv-dark-gray);
  font-weight: 600;
}

.svm-panel {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 34px 38px;
  box-sizing: border-box;
  min-height: 560px;
  overflow: hidden;
}
.svm-panel__blob {
  display: none;
  position: absolute;
  top: -60px;
  right: -50px;
  width: 180px;
  height: 180px;
  border-radius: 42% 58% 63% 37% / 41% 45% 55% 59%;
  background: radial-gradient(circle at 50% 50%, var(--fv-orange) 0%, transparent 70%);
  opacity: 0.2;
  filter: blur(6px);
  pointer-events: none;
}

/* ---------- calendar + times ---------- */
.svm-step1 {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 36px;
}
.svm-cal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.svm-cal__nav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--fv-dark-blue);
  cursor: pointer;
  border: 1px solid var(--fv-line);
  background: var(--fv-surface);
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.svm-cal__nav:hover {
  background: var(--fv-surface-hover);
  border-color: var(--fv-teal);
}
.svm-cal__nav:disabled {
  color: rgba(72, 73, 76, 0.25);
  cursor: default;
  border-color: transparent;
  background: transparent;
}
.svm-cal__nav:disabled:hover {
  background: transparent;
  border-color: transparent;
}
.svm-cal__month {
  font-size: 17px;
  font-weight: 600;
  color: var(--fv-heading);
}
.svm-cal__weekdays,
.svm-cal__week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.svm-cal__weekdays {
  margin-bottom: 8px;
}
.svm-cal__weekday {
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--fv-faint);
}
.svm-cal__week {
  margin-bottom: 6px;
}
.svm-cal__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  color: var(--fv-dark-blue);
  background: var(--fv-blue-tint);
  font-weight: 600;
  border: 1.5px solid transparent;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.svm-cal__cell:not(:disabled):hover {
  border-color: var(--fv-teal);
  background: var(--fv-teal-tint);
}
.svm-cal__cell:disabled {
  color: rgba(72, 73, 76, 0.35);
  font-weight: 400;
  cursor: default;
  background: transparent;
  visibility: visible;
}
.svm-cal__cell--empty {
  visibility: hidden;
  cursor: default;
  background: transparent;
}
.svm-cal__cell--today {
  border-color: var(--fv-line-strong);
}
.svm-cal__cell--selected,
.svm-cal__cell--selected:not(:disabled):hover {
  background: var(--fv-dark-blue);
  color: #fff;
  font-weight: 600;
  border-color: var(--fv-dark-blue);
}

.svm-times {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.svm-times__label {
  font-size: 13px;
  color: var(--fv-muted);
  font-weight: 600;
  margin-bottom: 14px;
}
.svm-times__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 4px;
}
.svm-times__slot {
  padding: 12px 14px;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--fv-line);
  background: var(--fv-surface);
  color: var(--fv-dark-blue);
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.svm-times__slot:hover {
  border-color: var(--fv-teal);
  background: var(--fv-teal-tint);
}
.svm-times__slot--selected,
.svm-times__slot--selected:hover {
  border-color: var(--fv-dark-blue);
  background: var(--fv-dark-blue);
  color: #fff;
}
.svm-times__empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--fv-faint);
  font-size: 13px;
  padding: 30px 10px;
}
.svm-times__empty a {
  color: var(--fv-dark-blue);
}
.svm-continue {
  margin-top: 16px;
  padding: 13px;
  border-radius: 999px;
  border: none;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--fv-faint);
  cursor: pointer;
  font-family: inherit;
  background: var(--fv-card);
}
.svm-continue--active {
  background: var(--fv-orange);
  color: #fff;
  cursor: pointer;
}
.svm-continue--active:hover {
  background: var(--fv-orange-dark);
}
.svm-continue:disabled {
  cursor: default;
}

/* ---------- form ---------- */
.svm-form-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--fv-heading);
  margin: 0 0 20px;
  position: relative;
}
.svm-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fv-muted);
  margin-bottom: 6px;
}
.svm-field {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--fv-line-strong);
  background: var(--fv-surface);
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 4px;
  color: var(--fv-text);
}
.svm-field::placeholder {
  color: var(--fv-faint);
}
.svm-field:focus {
  outline: none;
  border-color: var(--fv-dark-blue);
  box-shadow: 0 0 0 3px var(--fv-teal-tint);
  background: var(--fv-surface);
}
.svm-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 14px 0 16px;
}
.svm-field-error {
  font-size: 12px;
  color: var(--fv-error);
  min-height: 14px;
  margin-bottom: 0;
}
textarea.svm-field {
  resize: vertical;
  min-height: 64px;
  margin-bottom: 22px;
}
.svm-submit {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 999px;
  background: var(--fv-orange);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}
.svm-submit:hover {
  background: var(--fv-orange-dark);
}
.svm-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.svm-form-message {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fv-error);
}

/* ---------- success ---------- */
.svm-success {
  position: relative;
  text-align: center;
  padding: 20px 0;
}
.svm-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--fv-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 22px rgba(98, 196, 185, 0.32);
}
.svm-success__icon svg {
  width: 30px;
  height: 30px;
  stroke: #fff;
}
.svm-success h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--fv-heading);
  margin: 0 0 8px;
}
.svm-success p {
  font-size: 14px;
  color: var(--fv-muted);
  margin: 0 0 22px;
}
.svm-success__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.svm-success__actions a {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--fv-line);
  background: var(--fv-surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--fv-dark-blue);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.svm-success__actions a:hover {
  border-color: var(--fv-teal);
  background: var(--fv-surface-hover);
}
.svm-success__again {
  font-size: 13px;
  font-weight: 600;
  color: var(--fv-dark-blue);
  cursor: pointer;
  margin-bottom: 6px;
  background: none;
  border: none;
  font-family: inherit;
}
.svm-success__fineprint {
  font-size: 12px;
  color: var(--fv-faint);
}

@media (max-width: 760px) {
  .svm-main {
    padding: 28px 14px 40px;
  }
  .svm-card {
    flex-direction: column;
    border-radius: 18px;
  }
  .svm-sidebar {
    width: 100%;
    min-height: 0;
    padding: 26px 24px;
  }
  .svm-panel {
    min-height: 0;
    padding: 26px 22px 30px;
  }
  .svm-step1 {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .svm-types__title {
    font-size: 27px;
  }
  .svm-cal__cell {
    min-height: 40px;
  }
}

/* ---------- embedded on the website ----------
   The website's frame wrapper supplies the white card, border and radius,
   so the module drops its own outer card and page padding. */
.svm-embedded body {
  background: var(--fv-white);
}
.svm-embedded .svm-main {
  padding: 28px 22px 30px;
}
.svm-embedded .svm-main:has(.svm-card) {
  padding: 0;
}
.svm-embedded .svm-card {
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.svm-embedded .svm-types__intro {
  margin-bottom: 24px;
}
.svm-embedded .svm-types__title {
  font-size: 26px;
}
.svm-embedded .svm-sidebar {
  padding: 22px 24px;
}
.svm-embedded .svm-sidebar__back {
  margin-bottom: 16px;
}
.svm-embedded .svm-sidebar__avatar {
  display: none;
}
.svm-embedded .svm-sidebar__name {
  font-size: 20px;
  margin-bottom: 12px;
}
.svm-embedded .svm-sidebar__selected {
  margin-top: 16px;
  padding-top: 14px;
}
.svm-embedded .svm-panel {
  padding: 22px 22px 24px;
}
.svm-embedded .svm-times__list {
  max-height: 260px;
}
