/* Healthcare App — 05 Try it · Teleconsult */

@keyframes cw-hc-tele-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-healthcare-teleconsult {
  background: #cfc4f6;
  color: #141210;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.cw-healthcare-teleconsult__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cw-healthcare-teleconsult__intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 24px;
  align-items: end;
}

.cw-healthcare-teleconsult__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.cw-healthcare-teleconsult__title {
  margin: 12px 0 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.cw-healthcare-teleconsult__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #1f6fa8;
}

.cw-healthcare-teleconsult__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  max-width: 480px;
}

.cw-healthcare-teleconsult__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 18px;
  align-items: stretch;
}

.cw-healthcare-teleconsult__wizard {
  background: #f3efe7;
  border-radius: 28px;
  padding: clamp(22px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
}

.cw-healthcare-teleconsult__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.cw-healthcare-teleconsult__step {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  font-family: inherit;
}

.cw-healthcare-teleconsult__step-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(20, 18, 16, 0.15);
}

.cw-healthcare-teleconsult__step.is-done .cw-healthcare-teleconsult__step-bar,
.cw-healthcare-teleconsult__step.is-active .cw-healthcare-teleconsult__step-bar {
  background: #141210;
}

.cw-healthcare-teleconsult__step-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: rgba(20, 18, 16, 0.45);
}

.cw-healthcare-teleconsult__step.is-done .cw-healthcare-teleconsult__step-label,
.cw-healthcare-teleconsult__step.is-active .cw-healthcare-teleconsult__step-label {
  color: #141210;
}

.cw-healthcare-teleconsult__stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: cw-hc-tele-in 0.3s ease both;
}

.cw-healthcare-teleconsult__stage-title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
}

.cw-healthcare-teleconsult__spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.cw-healthcare-teleconsult__pick {
  border: 1px solid #141210;
  background: transparent;
  color: #141210;
  border-radius: 16px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.cw-healthcare-teleconsult__pick.is-active {
  background: #141210;
  color: #f3efe7;
}

.cw-healthcare-teleconsult__pick-name {
  font-weight: 700;
  font-size: 15px;
}

.cw-healthcare-teleconsult__pick-sub {
  font-size: 12px;
  opacity: 0.7;
}

.cw-healthcare-teleconsult__doc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cw-healthcare-teleconsult__doc {
  border: 1px solid #141210;
  background: transparent;
  color: #141210;
  border-radius: 16px;
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.2s ease, color 0.2s ease;
}

.cw-healthcare-teleconsult__doc.is-active {
  background: #141210;
  color: #f3efe7;
}

.cw-healthcare-teleconsult__doc-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #6ec6ff;
  color: #06324f;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  flex: none;
}

.cw-healthcare-teleconsult__doc-meta {
  flex: 1;
  min-width: 0;
}

.cw-healthcare-teleconsult__doc-name {
  display: block;
  font-weight: 700;
}

.cw-healthcare-teleconsult__doc-x {
  font-size: 12.5px;
  opacity: 0.7;
}

.cw-healthcare-teleconsult__doc-fee {
  font-size: 12px;
  font-weight: 700;
  flex: none;
}

.cw-healthcare-teleconsult__slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 6px;
}

.cw-healthcare-teleconsult__slot {
  border: 1px solid #141210;
  background: transparent;
  color: #141210;
  border-radius: 12px;
  padding: 11px 6px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease;
}

.cw-healthcare-teleconsult__slot.is-active {
  background: #141210;
  color: #f3efe7;
}

.cw-healthcare-teleconsult__slot.is-booked {
  border-color: rgba(20, 18, 16, 0.2);
  color: rgba(20, 18, 16, 0.35);
  text-decoration: line-through;
  cursor: not-allowed;
}

.cw-healthcare-teleconsult__slot-note {
  margin: 0;
  font-size: 12.5px;
  color: #5a534a;
}

.cw-healthcare-teleconsult__done-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #3a3530;
}

.cw-healthcare-teleconsult__restart {
  align-self: flex-start;
  border: 1px solid #141210;
  background: transparent;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  color: #141210;
}

.cw-healthcare-teleconsult__nav {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cw-healthcare-teleconsult__back,
.cw-healthcare-teleconsult__next {
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
}

.cw-healthcare-teleconsult__back {
  border: 1px solid #141210;
  background: transparent;
  color: #141210;
}

.cw-healthcare-teleconsult__back:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cw-healthcare-teleconsult__next {
  border: 0;
  background: #141210;
  color: #f3efe7;
  font-weight: 700;
  padding: 12px 20px;
}

.cw-healthcare-teleconsult__next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cw-healthcare-teleconsult__next:not(:disabled):hover,
.cw-healthcare-teleconsult__next:not(:disabled):focus-visible {
  background: #e0431c;
}

.cw-healthcare-teleconsult__phone {
  background: #141210;
  color: #f3efe7;
  border-radius: 28px;
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  box-sizing: border-box;
}

.cw-healthcare-teleconsult__phone-head {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(243, 239, 231, 0.55);
}

.cw-healthcare-teleconsult__phone-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: cw-hc-tele-in 0.35s ease both;
}

.cw-healthcare-teleconsult__phone-card {
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cw-healthcare-teleconsult__phone-card--list {
  background: rgba(243, 239, 231, 0.04);
}

.cw-healthcare-teleconsult__phone-card--rx {
  background: rgba(110, 198, 255, 0.12);
}

.cw-healthcare-teleconsult__phone-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  padding: 10px 12px;
  background: rgba(243, 239, 231, 0.06);
  border-radius: 12px;
}

.cw-healthcare-teleconsult__phone-row-label {
  color: rgba(243, 239, 231, 0.55);
}

.cw-healthcare-teleconsult__phone-row-val {
  font-weight: 600;
  text-align: right;
}

.cw-healthcare-teleconsult__video {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(243, 239, 231, 0.04);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.cw-healthcare-teleconsult__video-av {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #6ec6ff;
  color: #06324f;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-size: 22px;
}

.cw-healthcare-teleconsult__video-timer {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.cw-healthcare-teleconsult__video-sub {
  font-size: 12px;
  color: rgba(243, 239, 231, 0.65);
}

.cw-healthcare-teleconsult__rx-head {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(243, 239, 231, 0.55);
}

.cw-healthcare-teleconsult__rx-title {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 20px;
  margin: 0;
}

.cw-healthcare-teleconsult__rx-item {
  background: rgba(243, 239, 231, 0.08);
  border-radius: 12px;
  padding: 12px;
}

.cw-healthcare-teleconsult__rx-name {
  font-weight: 700;
  font-size: 14px;
}

.cw-healthcare-teleconsult__rx-dir {
  font-size: 12.5px;
  color: rgba(243, 239, 231, 0.7);
  margin-top: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .cw-healthcare-teleconsult__stage,
  .cw-healthcare-teleconsult__phone-body {
    animation: none;
  }
}
