.caredge-timeline-to-buy-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.caredge-timeline-to-buy-modal {
  display: none;
}

.caredge-timeline-to-buy-modal--active {
  display: block;
}

.caredge-timeline-to-buy-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.caredge-timeline-to-buy-modal__container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 430px;
  height: 100%;
  max-height: 860px;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  overflow-y: auto;
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
}

.caredge-timeline-to-buy-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 16px;
}

.caredge-timeline-to-buy-modal__header span {
  cursor: pointer;
}

.caredge-timeline-to-buy-modal__header svg {
  font-size: 24px;
}

.caredge-timeline-to-buy-modal__logo {
  width: 146px;
  height: 32px;
  object-fit: contain;
}

.caredge-timeline-to-buy-modal__title {
  color: #000;
  text-align: center;
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  padding: 0;
}

.caredge-timeline-to-buy-modal__subtitle {
  color: #4a495c;
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  margin: 0 0 1.5rem;
  padding: 0;
}

.caredge-timeline-to-buy-modal__question {
  color: #000;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 400;
  padding: 0;
  margin-bottom: 24px;
}

.caredge-timeline-to-buy-modal__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.caredge-option {
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  background: #f7f7f7;
  cursor: pointer;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.2s;
}

.caredge-option:focus {
  outline: 2px solid #0169ff;
  outline-offset: 2px;
}
.caredge-option:hover {
  border-color: #afafb4;
  background-color: #f7f7f7;
}

.caredge-option--active:hover {
  border-color: #0169ff;
}

.caredge-option--active {
  background: #e8f0ff;
  border: 1px solid #1a73e8;
}

.caredge-option__sub {
  font-size: 13px;
  color: #666;
}

/* Continue Button */
.caredge-timeline-to-buy-modal__continue-btn {
  width: 100%;
  background: #0066ff;
  color: #fff;
  padding: 14px;
  border-radius: 16px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  margin-top: 16px;
  cursor: pointer;
  transition: 0.25s;
}

.caredge-timeline-to-buy-modal__continue-btn:disabled {
  cursor: default;
}

.caredge-timeline-to-buy-modal__continue-btn:hover {
  background-color: #0094ff;
}

.caredge-timeline-to-buy-modal__continue-btn.is-disabled:hover {
  background-color: #afafb4;
}

/* Info Box */
.caredge-timeline-to-buy-modal__info-box {
  display: flex;
  padding: 1rem;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 1rem;
  background: #e2f2ff;
  margin-top: 24px;
}

.caredge-timeline-to-buy-modal__info-icon {
  font-size: 16px;
  color: #0066ff;
}

.caredge-timeline-to-buy-modal__info-text {
  font-size: 0.875rem;
  color: #0069b5;
  line-height: 1.5;
  padding: 0;
}

.caredge-timeline-to-buy-modal__skip {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: #4a495c;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}

.caredge-timeline-to-buy-modal__skip:hover {
  color: #000;
}
