@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;

  /* dark-blue module surfaces */
  --fv-ink: #12395a; /* deepest navy */
  --fv-surface: rgba(255, 255, 255, 0.06);
  --fv-surface-hover: rgba(255, 255, 255, 0.1);
  --fv-line: rgba(255, 255, 255, 0.16);
  --fv-line-strong: rgba(255, 255, 255, 0.28);
  --fv-white: #ffffff;
  --fv-muted: rgba(255, 255, 255, 0.72);
  --fv-faint: rgba(255, 255, 255, 0.5);

  --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-white);
  background: radial-gradient(120% 100% at 100% 0%, #2a6da4 0%, #235f8f 45%, #163e60 100%);
  background-attachment: fixed;
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  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 {
  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-orange);
  margin: 0 0 10px;
}
.svm-types__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--fv-white);
  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: 1.5px solid var(--fv-line);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
  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-orange);
  background: var(--fv-surface-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.svm-type__badge {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: rgba(255, 159, 28, 0.18);
  color: var(--fv-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.svm-type__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--fv-white);
  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-orange);
  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 24px 60px rgba(0, 0, 0, 0.28);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--fv-line);
}

.svm-sidebar {
  width: 310px;
  flex: none;
  background: var(--fv-gradient-deep);
  color: #fff;
  padding: 36px 30px;
  min-height: 560px;
  box-sizing: border-box;
  position: relative;
}
.svm-sidebar::after {
  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: rgba(255, 255, 255, 0.85);
  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-orange);
}
.svm-sidebar__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  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: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.svm-sidebar__name {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}
.svm-sidebar__row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 10px;
}
.svm-sidebar__row svg {
  width: 15px;
  height: 15px;
  flex: none;
  stroke: #fff;
}
.svm-sidebar__desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 12px;
}
.svm-sidebar__selected {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.svm-sidebar__selected-date {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}
.svm-sidebar__selected-time {
  font-size: 13px;
  color: var(--fv-orange);
  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 {
  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-white);
  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-orange);
}
.svm-cal__nav:disabled {
  color: rgba(255, 255, 255, 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: 700;
  color: var(--fv-white);
}
.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-white);
  background: var(--fv-surface);
  font-weight: 500;
  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-orange);
  background: var(--fv-surface-hover);
}
.svm-cal__cell:disabled {
  color: rgba(255, 255, 255, 0.3);
  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-orange);
  color: #fff;
  font-weight: 700;
  border-color: var(--fv-orange);
}

.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-white);
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.svm-times__slot:hover {
  border-color: var(--fv-orange);
  background: var(--fv-surface-hover);
}
.svm-times__slot--selected {
  border-color: var(--fv-orange);
  background: rgba(255, 159, 28, 0.18);
  color: var(--fv-orange);
}
.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-orange);
}
.svm-continue {
  margin-top: 16px;
  padding: 13px;
  border-radius: 10px;
  border: none;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.12);
}
.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: 700;
  color: var(--fv-white);
  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);
  background: var(--fv-surface);
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 4px;
  color: var(--fv-white);
}
.svm-field::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.svm-field:focus {
  outline: none;
  border-color: var(--fv-orange);
  background: var(--fv-surface-hover);
}
.svm-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 14px 0 16px;
}
.svm-field-error {
  font-size: 12px;
  color: #ffb4a6;
  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: 10px;
  background: var(--fv-orange);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  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: #ffb4a6;
}

/* ---------- success ---------- */
.svm-success {
  position: relative;
  text-align: center;
  padding: 20px 0;
}
.svm-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fv-orange) 0%, var(--fv-orange-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 22px rgba(255, 159, 28, 0.32);
}
.svm-success__icon svg {
  width: 30px;
  height: 30px;
  stroke: #fff;
}
.svm-success h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--fv-white);
  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-white);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.svm-success__actions a:hover {
  border-color: var(--fv-orange);
  background: var(--fv-surface-hover);
}
.svm-success__again {
  font-size: 13px;
  font-weight: 700;
  color: var(--fv-orange);
  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;
  }
}
