/* style.css - stylesheet principal pentru toate paginile */
/* Font Inter se încarcă din HTML pentru a evita render-blocking */

:root {
  --color-primary: #7F56D9;
  --color-primary-dark: #53389E;
  --color-primary-light: #C7B9DA;
  --color-secondary: #6941C6;
  --color-accent: #6A5AE0;
  --color-success: #32D583;
  --color-warning: #FEC84B;
  --color-error: #F04438;
  --color-bg: #F9FAFB;
  --color-bg-dark: #101828;
  --color-bg-light: #FFFFFF;
  --color-gray-100: #F2F4F7;
  --color-gray-200: #EAECF0;
  --color-gray-300: #D0D5DD;
  --color-gray-400: #98A2B3;
  --color-gray-500: #667085;
  --color-gray-600: #475467;
  --color-gray-700: #344054;
  --color-gray-800: #1D2939;
  --color-gray-900: #121826;
  --color-gradient: linear-gradient(90deg, #E24F3F 0%, #FFF700 49.04%, #31ED07 100%);
  font-family: 'Inter', sans-serif;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--color-bg-light);
  color: var(--color-gray-900);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Stiluri pentru layout mobil 390x844 */
body {
  width: 100vw;
  min-height: 100vh;
  max-width: 390px;
  margin: 0 auto;
  background: var(--color-bg-light);
  position: relative;
  overflow-x: hidden;
}

.quiz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 16px 0 16px;
  position: relative;
}

.back-btn {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  cursor: pointer;
}
.back-btn svg {
  width: 20px;
  height: 20px;
}

.progress-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  margin-left: 24px;
  margin-right: 16px;
  width: 100%;
  max-width: 100vw;
}
.progress-track {
  background: var(--color-gray-200);
  border-radius: 4px;
  width: 100%;
  max-width: 100vw;
  height: 8px;
  position: relative;
  overflow: hidden;
}
.progress-fill {
  background: var(--color-primary);
  border-radius: 4px;
  height: 8px;
  transition: width 0.3s;
}
.progress-label {
  font-size: 14px;
  color: var(--color-gray-700);
  font-weight: 500;
  letter-spacing: 0;
}

.quiz-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 8px;
  text-align: center;
}

.quiz-subtitle {
  font-size: 16px;
  color: var(--color-gray-600);
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.4;
}

.gender-options {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}
.gender-card {
  background: var(--color-gray-100);
  border: 2px solid transparent;
  border-radius: 16px;
  width: 140px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  transition: border 0.2s, background 0.2s;
  position: relative;
}
.gender-card.selected,
.gender-card input:checked + .gender-img {
  border: 2px solid var(--color-primary);
  background: #F9F5FF;
}
.gender-card input {
  display: none;
}
.gender-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: #F2F4F7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gender-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gender-label {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-gray-700);
}
.gender-card.selected .gender-label {
  color: var(--color-primary);
}

.cta-btn {
  width: 100%;
  max-width: 343px;
  height: 48px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0;
  transition: background 0.2s;
  display: block;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: relative;
  z-index: 20;
  pointer-events: auto;
}
.cta-btn:hover {
  background: var(--color-primary-dark);
}
.cta-btn:active {
  background: var(--color-primary-dark);
  transform: translateY(1px);
}

/* Elemente decorative (ovale) */
.oval-bg1 {
  position: absolute;
  width: 134px;
  height: 127.86px;
  left: -59.5px;
  top: -66.93px;
  background: #8D75E6;
  opacity: 0.1;
  border-radius: 50%;
  transform: rotate(46.35deg);
  z-index: 0;
}
.oval-bg2 {
  position: absolute;
  width: 231.78px;
  height: 221.16px;
  left: -127px;
  top: -132px;
  border: 1.1px solid #7F56D9;
  opacity: 0.2;
  border-radius: 50%;
  transform: rotate(46.35deg);
  z-index: 0;
}
.oval-bg3 {
  position: absolute;
  width: 199.18px;
  height: 190.06px;
  left: 225.87px;
  top: 679.24px;
  background: #8D75E6;
  opacity: 0.1;
  border-radius: 50%;
  transform: rotate(16.9deg);
  z-index: 0;
}
.oval-bg4 {
  position: absolute;
  width: 344.53px;
  height: 328.75px;
  left: 138px;
  top: 595px;
  border: 1.64px solid #7F56D9;
  opacity: 0.2;
  border-radius: 50%;
  transform: rotate(16.9deg);
  z-index: 0;
}

/* Single Choice Page Styles */
.single-choice-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 24px auto;
}
.single-choice-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 16px;
  padding: 18px 20px;
  cursor: pointer;
  position: relative;
  transition: border 0.2s, background 0.2s;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-gray-700);
}
.single-choice-card.selected {
  background: #F9F5FF;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.single-choice-card input[type="radio"] {
  display: none;
}
.single-choice-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #F2F4F7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.single-choice-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.single-choice-label {
  flex: 1;
  font-size: 16px;
  color: inherit;
}
.single-choice-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--color-gray-300);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  transition: border 0.2s, background 0.2s;
}
.single-choice-card.selected .single-choice-check {
  border: 2px solid var(--color-primary);
  background: #F9F5FF;
}
.single-choice-card.selected .single-choice-check::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* Multiple Choice Page Styles - Variantă cu nume și username */
.multiple-choice-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 24px auto;
}
.multiple-choice-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 16px;
  padding: 16px 20px;
  cursor: pointer;
  position: relative;
  transition: border 0.2s, background 0.2s;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-gray-700);
}
.multiple-choice-card.selected {
  background: #F9F5FF;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.multiple-choice-card input[type="checkbox"] {
  display: none;
}
.multiple-choice-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #F2F4F7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.multiple-choice-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.multiple-choice-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}
.multiple-choice-name {
  font-size: 16px;
  font-weight: 500;
  color: inherit;
  line-height: 1.2;
}
.multiple-choice-username {
  font-size: 14px;
  color: var(--color-gray-500);
  line-height: 1.2;
}
.multiple-choice-check {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid var(--color-gray-300);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  transition: border 0.2s, background 0.2s;
  position: relative;
  flex-shrink: 0;
}
.multiple-choice-card.selected .multiple-choice-check {
  border: 2px solid var(--color-primary);
  background: var(--color-primary);
  color: white;
}
.multiple-choice-card.selected .multiple-choice-check svg {
  opacity: 1;
}
.multiple-choice-check svg {
  opacity: 0;
  transition: opacity 0.2s;
}

/* Icon display for options */
.option-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #F9F5FF 0%, #EDE9FE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

.option-icon svg {
  width: 22px;
  height: 22px;
}

/* Text fit on one line */
.option-text-fit {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px !important;
  flex: 1;
  min-width: 0;
}

/* Wide card adjustments */
.single-choice-card.wide-card,
.multiple-choice-card.wide-card {
  padding: 14px 16px;
  gap: 12px;
}

/* Selected state - change icon color */
.single-choice-card.selected .option-icon,
.multiple-choice-card.selected .option-icon {
  background: var(--color-primary);
  color: white;
}

/* Mobile adjustments for icon options */
@media (max-width: 390px) {
  .option-text-fit {
    font-size: 13px !important;
  }

  .option-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .option-icon svg {
    width: 20px;
    height: 20px;
  }

  .single-choice-card.wide-card,
  .multiple-choice-card.wide-card {
    padding: 12px 14px;
    gap: 10px;
  }
}

/* Gender Multi Grid Styles */
.gender-multi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
  width: 100%;
  max-width: 343px;
  margin: 0 auto 32px auto;
}
.gender-multi-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #F2F4F7;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 20px 0 16px 0;
  cursor: pointer;
  position: relative;
  transition: border 0.2s, background 0.2s;
  min-width: 0;
}
.gender-multi-card.selected {
  border: 2px solid var(--color-primary);
  background: #F9F5FF;
}
.gender-multi-card input[type="radio"] {
  display: none;
}
.gender-multi-card::after,
.gender-multi-card::before {
  display: none !important;
  content: none !important;
}
.gender-multi-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: #EAEAF0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.gender-multi-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gender-multi-label {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-gray-700);
}
.gender-multi-card.selected .gender-multi-label {
  color: var(--color-primary);
}

/* Responsive */
@media (max-width: 430px) {
  body {
    max-width: 100%;
  }
  
  .quiz-main {
    padding: 12px;
    gap: 8px;
  }
  
  .quiz-title {
    font-size: 20px;
    margin-bottom: 6px;
  }
  
  .quiz-subtitle {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .steps-indicator {
    margin-bottom: 8px;
  }
  
  .funnel-preview {
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 16px;
  }
  
  .preview-title {
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .preview-steps {
    gap: 6px;
  }
  
  .preview-step {
    padding: 4px 0;
  }
  
  .step-number {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }
  
  .step-title {
    font-size: 13px;
  }
  
  .step-description {
    font-size: 11px;
  }
  
  .funnel-actions {
    margin-top: 12px;
    gap: 12px;
  }
  
  .cta-btn {
    height: 44px;
    font-size: 15px;
  }
  

}

/* Responsive helpers */
@media (max-width: 600px) {
  html { font-size: 15px; }
} 

/* Elemente decorative - asigură layering corect */
.oval-bg1, .oval-bg2, .oval-bg3, .oval-bg4 {
  z-index: 0;
  position: absolute;
}

.gender-multi-grid {
  position: relative;
  z-index: 2;
}

.gender-multi-card {
  position: relative;
  z-index: 2;
}

/* Check vizual pătrat mov la selectat */
.gender-multi-card::after {
  content: '';
  display: none;
}
.gender-multi-card.selected::after {
  content: '';
  display: block;
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 2px solid var(--color-primary);
  background: #F9F5FF;
}
.gender-multi-card.selected::before {
  content: '';
  display: block;
  position: absolute;
  top: 18px;
  right: 18px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--color-primary);
  z-index: 3;
} 

/* BREAK SCREEN STYLES */
html, body, .break-bg {
  height: 100vh;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}
.break-bg {
  background: #6A5AE0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  min-height: 100vh;
}
.break-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  max-width: 390px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}
.break-image-circle {
  width: 280px;
  height: 280px;
  background: #6941C6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0 32px 0;
}
.break-image-circle img {
  width: 220px;
  height: 220px;
  object-fit: contain;
}
.break-title {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  line-height: 32px;
  margin-bottom: 16px;
}
.break-text {
  color: #F5F5F5;
  font-size: 16px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 340px;
}
.break-btn {
  width: 100%;
  max-width: 343px;
  height: 48px;
  background: #fff;
  color: #6941C6;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 32px;
  transition: background 0.2s;
}
.break-btn:hover {
  background: #F9F5FF;
}
.break-home-indicator {
  position: fixed;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 134px;
  height: 5px;
  background: #fff;
  border-radius: 100px;
  opacity: 1;
  z-index: 10;
}
@media (max-width: 430px) {
  .break-main {
    max-width: 100vw;
    padding: 0 8px;
  }
  .break-image-circle {
    width: 180px;
    height: 180px;
  }
  .break-image-circle img {
    width: 120px;
    height: 120px;
  }
  .break-title {
    font-size: 20px;
    line-height: 28px;
  }
  .break-text {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .break-btn {
    max-width: 100vw;
  }
} 

/* BREAK SCREEN DECORATIVE ELEMENTS */
.break-statusbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 390px;
  height: 44px;
  background: #fff;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  z-index: 10;
  margin: 0 auto;
}
.break-deco {
  position: fixed;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background: #C4D0FB;
}
.break-deco-topleft {
  width: 260px;
  height: 260px;
  left: -80px;
  top: -80px;
  opacity: 0.18;
}
.break-deco-bottomright {
  width: 260px;
  height: 260px;
  right: -80px;
  bottom: -80px;
  opacity: 0.18;
}
.break-main {
  position: relative;
  z-index: 2;
} 

.birthday-selectors {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin: 32px 0 40px 0;
}
.birthday-select {
  font-size: 18px;
  font-family: 'Inter', sans-serif;
  padding: 12px 16px;
  border: 2px solid #EAECF0;
  border-radius: 12px;
  background: #fff;
  color: #101828;
  min-width: 90px;
  outline: none;
  transition: border 0.2s;
  font-weight: 500;
  appearance: none;
  text-align: center;
}
.birthday-select:focus {
  border: 2px solid #7F56D9;
}
@media (max-width: 600px) {
  .birthday-selectors {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .birthday-select {
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }
} 

.birthday-oval-bottomright {
  position: fixed;
  right: -60px;
  bottom: -60px;
  width: 320px;
  height: auto;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
} 

/* --- GROWTH PROFILE PAGE STYLES --- */
.growth-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0 0 0;
  min-height: 100vh;
  position: relative;
  max-width: 390px;
  margin: 0 auto;
}
.growth-title {
  font-size: 24px;
  font-weight: 700;
  color: #101828;
  text-align: center;
  margin-bottom: 32px;
}
.readiness-row {
  width: 100%;
  max-width: 343px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.readiness-label {
  font-size: 17px;
  font-weight: 600;
  color: #101828;
}
.result-badge {
  background: #F9F5FF;
  color: #7F56D9;
  font-size: 15px;
  font-weight: 600;
  border-radius: 16px;
  padding: 4px 16px;
  margin-left: 8px;
  display: inline-block;
}
.readiness-slider-wrap {
  width: 100%;
  max-width: 343px;
  margin-bottom: 8px;
  position: relative;
}
.readiness-slider-track {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #E24F3F 0%, #FFF700 49.04%, #31ED07 100%);
  position: relative;
}
.readiness-slider-thumb {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  background: #fff;
  border: 4px solid #7F56D9;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(127,86,217,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.readiness-slider-thumb::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background: #7F56D9;
  border-radius: 50%;
}
.readiness-labels {
  width: 100%;
  max-width: 343px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #475467;
  margin-bottom: 24px;
}
.info-card {
  background: #F9FAFB;
  border-radius: 16px;
  padding: 20px 20px 16px 20px;
  margin-bottom: 24px;
  width: 100%;
  max-width: 343px;
  box-shadow: 0 1px 2px rgba(16,24,40,0.04);
}
.info-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #101828;
  margin-bottom: 8px;
}
.info-card-desc {
  font-size: 15px;
  color: #475467;
  line-height: 1.5;
}
.motivation-list {
  width: 100%;
  max-width: 343px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}
.motivation-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #7F56D9;
}
.motivation-icon {
  width: 32px;
  height: 32px;
  background: #7F56D9; /* dark purple, as in PNG */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.motivation-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1); /* make icon white */
}
.growth-btn {
  width: 100%;
  max-width: 343px;
  height: 48px;
  background: #7F56D9;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 32px;
  transition: background 0.2s;
}
.growth-btn:active {
  background: #53389E;
}
.home-indicator {
  position: fixed;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 134px;
  height: 5px;
  background: #E4E4E7;
  border-radius: 100px;
  opacity: 1;
  z-index: 10;
}
.growth-deco-circle {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 260px;
  height: 260px;
  background: #C4D0FB;
  border-radius: 50%;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 430px) {
  .growth-main { padding-left: 8px; padding-right: 8px; }
  .growth-title { font-size: 20px; }
  .info-card { padding: 14px 10px 12px 10px; }
  .motivation-list { gap: 8px; }
  .growth-btn { max-width: 100vw; }
} 

/* Landing page specific styles */
.steps-indicator {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.steps-count {
  background: var(--color-primary);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.steps-icon {
  width: 16px;
  height: 16px;
}

.funnel-preview {
  margin-top: 16px;
  margin-bottom: 16px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-gray-200);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.1);
}

.preview-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 12px;
  text-align: center;
}

.preview-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  background: var(--color-gray-50);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.preview-step:hover {
  background: var(--color-gray-100);
  transform: translateY(-1px);
}

.step-number {
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-800);
  margin-bottom: 2px;
}

.step-description {
  font-size: 12px;
  color: var(--color-gray-600);
  line-height: 1.3;
}

.funnel-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  position: relative;
  z-index: 10;
}

.status-button {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  width: 100%;
  max-width: 343px;
}

.status-button.expired {
  background: var(--color-error);
  color: white;
}

.status-button.inactive {
  background: var(--color-warning);
  color: var(--color-gray-900);
}

.disclaimer {
  text-align: center;
  padding: 16px;
  margin-top: 24px;
}

.disclaimer p {
  font-size: 12px;
  color: var(--color-gray-500);
  line-height: 1.4;
  margin: 0;
}

.error-message {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 16px 0;
  font-size: 14px;
}

.success-message {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #16A34A;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 16px 0;
  font-size: 14px;
}

@media (min-width: 992px) {
  body {
    max-width: none !important;
    margin: 0 !important;
    width: 100vw !important;
  }
  .funnel-step-outer {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  .funnel-step-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 rgba(80, 63, 205, 0.08);
    padding: 24px 32px 24px 32px;
    max-width: 420px;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .funnel-step-card .quiz-header {
    padding: 0 0 8px 0;
    width: 100%;
  }
  .funnel-step-card .quiz-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .funnel-step-card .quiz-title {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    text-align: center;
  }
  .funnel-step-card .quiz-subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
  }
  .funnel-step-card .form-group {
    width: 100%;
    margin-bottom: 16px;
    text-align: left;
  }
  .funnel-step-card .form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    font-size: 14px;
  }
  .funnel-step-card .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
  }
  .funnel-step-card .cta-btn {
    width: 100%;
    margin-top: 16px;
    max-width: 300px;
  }
  .funnel-step-card .static-request-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 430px) {
  .funnel-preview {
    padding: 16px;
    margin: 16px 0;
  }
  
  .preview-title {
    font-size: 16px;
  }
  
  .preview-steps {
    gap: 12px;
  }
  
  .preview-step {
    padding: 10px;
  }
  
  .step-number {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  
  .step-title {
    font-size: 14px;
  }
  
  .step-description {
    font-size: 12px;
  }
} 

/* Age Selector Styles */
.age-range-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  max-width: 343px;
  margin: 0 auto 24px auto;
}

.age-range-card {
  background: #fff;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 16px;
  padding: 16px 20px;
  cursor: pointer;
  transition: border 0.2s, background 0.2s;
  text-align: center;
  position: relative;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-range-card.selected {
  background: #F9F5FF;
  border: 2px solid var(--color-primary);
}

.age-range-card input[type="radio"] {
  display: none;
}

.age-range-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.age-range-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-gray-700);
}

.age-range-card.selected .age-range-label {
  color: var(--color-primary);
}

/* Desktop version - 2 columns */
@media (min-width: 768px) {
  .age-range-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .age-range-card {
    padding: 20px 16px;
    min-height: 60px;
  }
} 