.assessment-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 24px;
  position: relative;
}

.assessment-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.assessment-body {
  flex: 1;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.assessment-body h2 {
  font-size: 1.625rem;
  line-height: 1.25;
}

.assessment-body>p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-top: -12px;
  text-align: center;
}

/* Level choice cards */
.level-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.level-card {
  background: var(--bg-card2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.level-card:hover {
  border-color: var(--border-light);
}

.level-card.selected {
  border-color: var(--purple-main);
  background: rgba(108, 99, 255, 0.1);
}

.level-card-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.level-card-title {
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: 'Sora', sans-serif;
}

.level-card-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.level-radio {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}

.level-card.selected .level-radio {
  border-color: var(--purple-main);
  background: var(--purple-main);
}

.level-card.selected .level-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: #fff;
}

/* AI Analyzing */
.analyzing-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 32px 0;
}

.analyzing-ring {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  border: 3px solid var(--border);
  border-top-color: var(--purple-main);
  border-right-color: var(--neon-blue);
  animation: spin 1.2s linear infinite;
  position: relative;
}

.analyzing-ring::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border);
  border-bottom-color: var(--neon-pink);
  animation: spin 0.8s linear infinite reverse;
}

.analyzing-text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  text-align: center;
}

.analyzing-bars {
  display: flex;
  gap: 5px;
  align-items: flex-end;
  height: 36px;
}

.analyzing-bar {
  width: 5px;
  background: var(--purple-main);
  border-radius: 3px;
  animation: barPulse 1.2s ease-in-out infinite;
}

.analyzing-bar:nth-child(1) {
  height: 16px;
  animation-delay: 0s;
}

.analyzing-bar:nth-child(2) {
  height: 28px;
  animation-delay: 0.15s;
}

.analyzing-bar:nth-child(3) {
  height: 36px;
  animation-delay: 0.3s;
}

.analyzing-bar:nth-child(4) {
  height: 22px;
  animation-delay: 0.45s;
}

.analyzing-bar:nth-child(5) {
  height: 14px;
  animation-delay: 0.6s;
}

@keyframes barPulse {

  0%,
  100% {
    opacity: .4
  }

  50% {
    opacity: 1
  }
}

/* Result card */
.result-card {
  background: var(--bg-card2);
  /* border: 1.5px solid rgba(108, 99, 255, 0.3); */
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  text-align: center;
  /* box-shadow: var(--shadow-glow); */
}

.result-level-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(108, 99, 255, 0.2);
  border-radius: var(--radius-full);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--purple-main);
  margin-bottom: 16px;
}

.result-percent {
  font-family: 'Sora', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple-main), var(--neon-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.result-percent-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.assessment-input-section {
  margin: 30px 0;
}


.form-textarea {
  width: 100%;
  min-height: 140px;
  padding: 20px 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  color: #ffffff;
  background: rgba(2, 4, 41, 0.034);
  font-size: 16px;
  font-family: inherit;
  line-height: 1.6;
  resize: none;
  transition: all 0.25s ease;
}


.form-textarea:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(8, 2, 128, 0.15);
}

.input-counter {
  text-align: right;
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
