.drstk-survey-open,
.drstk-welcome-open {
  overflow: hidden;
}

.drstk-welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.62);
}

.drstk-welcome-modal {
  width: 100%;
  max-width: 760px;
  border-radius: 18px;
  border: 1px solid #d8e5e8;
  background: #ffffff;
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.3);
  overflow: hidden;
}

.drstk-welcome-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
}

.drstk-welcome-content {
  padding: 30px 32px;
}

.drstk-welcome-badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #b8e8de;
  color: #0f766e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.drstk-welcome-modal h2 {
  margin: 0;
  color: #0f172a;
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.drstk-welcome-message {
  margin: 12px 0 0;
  max-width: 44ch;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
}

.drstk-welcome-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: flex-start;
  align-items: center;
}

.drstk-welcome-actions .button {
  margin: 0;
  min-height: 42px;
  padding: 0 18px;
}

.drstk-welcome-start.button-primary {
  background: #0f766e;
  border-color: #0f766e;
  color: #ffffff;
}

.drstk-welcome-start.button-primary:hover,
.drstk-welcome-start.button-primary:focus {
  background: #0d5f58;
  border-color: #0d5f58;
  color: #ffffff;
}

.drstk-welcome-skip {
  border-color: #cbd5e1;
  color: #334155;
  background: #ffffff;
}

.drstk-welcome-skip:hover,
.drstk-welcome-skip:focus {
  border-color: #94a3b8;
  color: #1e293b;
}

.drstk-welcome-error {
  display: none;
  margin: 12px 0 0;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 600;
}

.drstk-welcome-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  border-left: 1px solid #deeaed;
  background: linear-gradient(160deg, #f1faf9 0%, #e7f6f3 100%);
}

.drstk-welcome-image {
  display: block;
  width: 100%;
  max-width: 230px;
  height: auto;
}

.drstk-survey-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.drstk-survey-modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.28);
  border: 1px solid #dbe7ea;
  padding: 24px;
}

.drstk-survey-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}

.drstk-survey-modal h2 {
  margin: 0;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.25;
}

.drstk-survey-subtitle {
  margin: 10px 0 18px;
  color: #475569;
  font-size: 14px;
}

.drstk-survey-options {
  display: grid;
  gap: 10px;
}

.drstk-survey-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  cursor: pointer;
  color: #1e293b;
  font-size: 14px;
}

.drstk-survey-option:hover {
  border-color: #c6d8dd;
  background: #f1f5f9;
}

.drstk-survey-option input {
  margin-top: 2px;
}

.drstk-survey-other-wrap {
  margin-top: 14px;
  display: none;
}

.drstk-survey-other-wrap label {
  display: block;
  margin-bottom: 6px;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
}

.drstk-survey-other-text {
  width: 100%;
  min-height: 90px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  padding: 10px;
  resize: vertical;
  font-size: 13px;
}

.drstk-survey-error {
  display: none;
  margin-top: 12px;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 600;
}

.drstk-survey-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.drstk-survey-skip {
  border-color: #cbd5e1;
  color: #334155;
}

.drstk-survey-submit.button-primary {
  background: #0f766e;
  border-color: #0f766e;
}

.drstk-survey-submit.button-primary:hover,
.drstk-survey-submit.button-primary:focus {
  background: #0d5f58;
  border-color: #0d5f58;
}

@media (max-width: 640px) {
  .drstk-welcome-modal {
    max-width: 560px;
  }

  .drstk-welcome-shell {
    grid-template-columns: 1fr;
  }

  .drstk-welcome-visual {
    border-left: 0;
    border-bottom: 1px solid #deeaed;
    padding: 18px;
  }

  .drstk-welcome-image {
    max-width: 170px;
  }

  .drstk-welcome-content {
    padding: 22px;
  }

  .drstk-welcome-modal h2 {
    font-size: 31px;
  }

  .drstk-welcome-actions {
    justify-content: flex-start;
  }

  .drstk-survey-modal {
    padding: 18px;
  }

  .drstk-survey-actions {
    flex-direction: column;
  }

  .drstk-survey-actions .button {
    width: 100%;
    justify-content: center;
  }
}
