:root {
  --miror-bg: #f7efe6;
  --miror-teal: #2cb5a8;
  --miror-pink: #ff2f7d;
  --miror-pink-soft: #ffe5f0;
  --miror-dark: #222222;
  --miror-muted: #7a7a7a;
  --miror-border: #e3e3e3;
  --miror-error: #e53935;
  --miror-success: #2e7d32;
  --miror-radius: 16px;
}

/* wrapper */

.miror-hrt-wrapper {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', system-ui, sans-serif;
  background-color: var(--miror-bg);
  padding: 40px 16px 56px;
}

/* toast */

.miror-hrt-toast {
  position: fixed;
  z-index: 9999;
  right: 24px;
  top: 24px;
  min-width: 260px;
  max-width: 340px;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
  color: #fff;
  animation: miror-hrt-toast-in 0.2s ease-out;
}

.miror-hrt-toast-success {
  background: linear-gradient(135deg, #20b86a, #0e9f4a);
}

.miror-hrt-toast-error {
  background: linear-gradient(135deg, #f44336, #d32f2f);
}

.miror-hrt-toast-title {
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 14px;
}

.miror-hrt-toast-body {
  font-size: 13px;
}

@keyframes miror-hrt-toast-in {
  from {
    opacity: 0;
    transform: translateY(-10px) translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

/* hero */

.miror-hrt-hero {
  max-width: 1200px;
  margin: 0 auto 20px;
  border-radius: 24px;
  background: radial-gradient(circle at top left, #3ed3c4 0, var(--miror-teal) 45%, #0d8f82 100%);
  color: #ffffff;
  padding: 28px 28px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
}

.miror-hrt-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.miror-hrt-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  opacity: 0.85;
  margin-bottom: 4px;
}

.miror-hrt-hero h2 {
  font-size: 30px;
  margin: 0 0 6px;
}

.miror-hrt-hero-text {
  margin: 0;
  font-size: 14px;
  max-width: 560px;
  opacity: 0.96;
}

.miror-hrt-hero-logo img {
  max-height: 52px;
  filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.2));
}

/* progress */

.miror-hrt-progress {
  max-width: 1200px;
  margin: 10px auto 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.miror-hrt-progress-bar-bg {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background-color: #e6dad0;
  overflow: hidden;
}

.miror-hrt-progress-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--miror-pink), #ff8faf);
  transition: width 0.25s ease-out;
}

.miror-hrt-progress-label {
  font-size: 12px;
  color: var(--miror-muted);
}

/* main card */

.miror-hrt-main-card {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 270px 1fr;
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

/* sidebar */

.miror-hrt-sidebar {
  background-color: #fbf4ed;
  border-right: 1px solid rgba(0, 0, 0, 0.03);
  padding: 24px 16px;
}

.miror-hrt-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.miror-hrt-step {
  display: flex;
  align-items: center;
  padding: 10px 10px;
  margin-bottom: 6px;
  border-radius: 999px;
  cursor: default;
  color: var(--miror-muted);
  font-size: 13px;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.miror-hrt-step-completed {
  cursor: pointer;
}

.miror-hrt-step-completed:hover {
  background-color: #f3e4d8;
  transform: translateX(2px);
}

.miror-hrt-step-active {
  background-color: var(--miror-pink-soft);
  color: var(--miror-dark);
  font-weight: 600;
  position: relative;
}

.miror-hrt-step-active::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 999px;
  background-color: var(--miror-pink);
}

.miror-hrt-step-index {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background-color: #ffffff;
  border: 1px solid var(--miror-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-right: 8px;
}

.miror-hrt-step-active .miror-hrt-step-index {
  border-color: var(--miror-pink);
  color: var(--miror-pink);
}

.miror-hrt-step-label {
  flex: 1;
}

/* content */

.miror-hrt-content {
  padding: 24px 26px 28px;
  position: relative;
}

/* alerts */

.miror-hrt-alert {
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 13px;
  margin-bottom: 14px;
}

.miror-hrt-alert-error {
  background-color: #fdecea;
  color: #b71c1c;
  border: 1px solid #f8c7c3;
}

.miror-hrt-alert-success {
  background-color: #e6f4ea;
  color: #1b5e20;
  border: 1px solid #b9e1c3;
}

/* header */

.miror-hrt-step-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 16px;
  margin-bottom: 18px;
}

.miror-hrt-step-counter {
  font-size: 12px;
  color: var(--miror-muted);
}

.miror-hrt-step-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.miror-hrt-logos img {
  max-height: 68px;
}

/* form */

.miror-hrt-step-body {
  margin-bottom: 20px;
}

.miror-hrt-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 14px;
}

.miror-hrt-field {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.miror-hrt-field-full {
  grid-column: 1 / -1;
}

.miror-hrt-field label {
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--miror-dark);
}

.miror-hrt-field input,
.miror-hrt-field select,
.miror-hrt-field textarea {
  border-radius: 10px;
  border: 1px solid var(--miror-border);
  padding: 9px 11px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
  background-color: #fcfbfa;
  margin:0px 5px 0px 0px
}

.miror-hrt-field input:focus,
.miror-hrt-field select:focus,
.miror-hrt-field textarea:focus {
  border-color: var(--miror-pink);
  box-shadow: 0 0 0 1px rgba(255, 47, 125, 0.2);
  background-color: #ffffff;
}

.miror-hrt-field textarea {
  min-height: 90px;
  resize: vertical;
}

.miror-hrt-inline-options label {
  margin-right: 16px;
  font-weight: 400;
  color: var(--miror-muted);
}

.miror-hrt-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  row-gap: 6px;
  column-gap: 12px;
  font-size: 13px;
}

.miror-hrt-checkbox-grid label {
  font-weight: 400;
  color: var(--miror-dark);
  display:flex;
}

.miror-hrt-error {
  color: var(--miror-error);
  font-size: 12px;
  margin-top: 3px;
}

/* footer buttons */

.miror-hrt-step-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.miror-hrt-btn-primary,
.miror-hrt-btn-secondary {
  border-radius: 999px;
  padding: 9px 24px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.miror-hrt-btn-primary {
  background-color: var(--miror-pink);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(255, 47, 125, 0.3);
}

.miror-hrt-btn-primary:hover:not(:disabled) {
  background-color: #ff1c70;
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(255, 47, 125, 0.4);
}

.miror-hrt-btn-primary:disabled {
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
}

.miror-hrt-btn-secondary {
  background-color: #ffffff;
  color: var(--miror-dark);
  border: 1px solid var(--miror-border);
}

.miror-hrt-btn-secondary:hover {
  background-color: #ff1c70;
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(255, 47, 125, 0.4);
}

/* link style button */

.miror-hrt-btn-link {
  background: none;
  border: none;
  padding: 0;
  margin-left: 4px;
  color: var(--miror-pink);
  cursor: pointer;
  text-decoration: underline;
  font-size: 13px;
}

/* review */

.miror-hrt-review {
  font-size: 14px;
}

.miror-hrt-review-section {
  border: 1px solid var(--miror-border);
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 12px;
}

.miror-hrt-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.miror-hrt-review-section table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.miror-hrt-review-section th,
.miror-hrt-review-section td {
  padding: 4px 4px;
  text-align: left;
  border-bottom: 1px solid #f2f2f2;
}

/* thank you */

.miror-hrt-thankyou {
  text-align: center;
  padding: 30px 10px 10px;
}

.miror-hrt-thankyou-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  margin: 0 auto 12px;
  background: radial-gradient(circle at 30% 0, #ffffff 0, #eafff5 40%, #2ccf87 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #0e9f4a;
  box-shadow: 0 14px 30px rgba(14, 159, 74, 0.35);
}

.miror-hrt-thankyou h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.miror-hrt-thankyou p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--miror-muted);
}

/* responsive */

@media (max-width: 900px) {
  .miror-hrt-main-card {
    grid-template-columns: 1fr;
  }

  .miror-hrt-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  }

  .miror-hrt-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .miror-hrt-hero-logo img {
    max-height: 44px;
  }
}

@media (max-width: 640px) {
  .miror-hrt-wrapper {
    padding: 20px 8px 32px;
  }

  .miror-hrt-hero {
    padding: 22px 18px;
  }

  .miror-hrt-hero h2 {
    font-size: 24px;
  }

  .miror-hrt-form-grid {
    grid-template-columns: 1fr;
  }

  .miror-hrt-step-header {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .miror-hrt-logos {
    justify-self: flex-start;
  }

  .miror-hrt-toast {
    right: 12px;
    left: 12px;
  }
}

