/* Assessment Onboarding UI */
.assessment-container {
    max-width: 800px;
    margin: 1.5rem auto;
    display: flex;
    flex-direction: column;
    min-height: 70vh;
}

.assessment-progress-container {
    width: 100%;
    margin-bottom: 2rem;
}

.assessment-progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.assessment-progress-bar-bg {
    width: 100%;
    height: 6px;
    background-color: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}

.assessment-progress-bar-fill {
    height: 100%;
    background-color: #8b5cf6;
    border-radius: 9999px;
    transition: width 0.3s ease;
}

.assessment-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.question-text {
    font-size: 1.875rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #111827;
    line-height: 1.25;
}

.question-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.option-card {
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 75px;
    background-color: #ffffff;
}

.option-card:hover {
    border-color: #a78bfa;
    background-color: #faf5ff;
}

.option-card.selected {
    border-color: #8b5cf6;
    background-color: #f3e8ff;
    box-shadow: 0 0 0 1px #8b5cf6;
}

.option-title {
    font-weight: 700;
    font-size: 1rem;
    color: #1f2937;
}

.option-sub {
    font-size: 0.8125rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Single choice specific */
.options-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.option-row {
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: #374151;
    transition: all 0.2s ease;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-row:hover {
    border-color: #a78bfa;
    background-color: #faf5ff;
}

.option-row.selected {
    border-color: #8b5cf6;
    background-color: #f3e8ff;
    color: #6d28d9;
}

.option-row.selected::after {
    content: "✓";
    font-weight: bold;
    color: #8b5cf6;
}

/* Pairs / Matrix styling (Step 4) */
.pair-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.pair-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pair-labels {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.875rem;
    color: #374151;
}

.pair-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
}

.pair-btn {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.75rem;
    text-align: center;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    background-color: #ffffff;
    transition: all 0.2s ease;
    color: #4b5563;
}

.pair-btn:hover {
    border-color: #a78bfa;
}

.pair-btn.selected {
    border-color: #8b5cf6;
    background-color: #f3e8ff;
    color: #6d28d9;
}

/* Work preferences groups (Step 6) */
.pref-group {
    margin-bottom: 1.5rem;
}

.pref-label {
    font-weight: 700;
    font-size: 0.9375rem;
    color: #374151;
    margin-bottom: 0.625rem;
}

.pref-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.pref-btn {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    background-color: #ffffff;
    transition: all 0.2s ease;
    color: #374151;
}

.pref-btn:hover {
    border-color: #a78bfa;
}

.pref-btn.selected {
    border-color: #8b5cf6;
    background-color: #f3e8ff;
    color: #6d28d9;
}

/* Experience form (Step 9) */
.exp-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.exp-input {
    width: 100%;
    padding: 1rem;
    border: 1.5px solid #8b5cf6;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
}

.exp-input:focus {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.assessment-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
}

.btn-back {
    background: transparent;
    border: none;
    color: #4b5563;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
}

.btn-back:hover {
    color: #111827;
}

.btn-purple {
    background-color: #8b5cf6;
    color: #ffffff;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-purple:hover {
    background-color: #7c3aed;
}

/* DNA Visualization */
.dna-bar-container {
    margin-bottom: 1rem;
}

.dna-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--color-text-secondary);
}

.dna-bar-bg {
    width: 100%;
    height: 8px;
    background-color: var(--color-bg-surface-hover);
    border-radius: 9999px;
    overflow: hidden;
}

.dna-bar-fill {
    height: 100%;
    background-color: #8b5cf6;
    border-radius: 9999px;
    transition: width 1s ease-out;
}
