
.onboarding-section {
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 0;
    display: flex;
    align-items: center;
}

.progress-text {
    font-weight: 500;
    color: #5BBB7B;
}

.progress {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #5BBB7B, #1F4B3F);
    transition: width 0.3s ease;
}

.step-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.step-badge {
    background: #e8f5e9;
    color: #5BBB7B;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Question Focus Container */
.question-focus {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.question-icon {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Category Buttons */
.category-btn {
    padding: 20px 10px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}

.category-btn:hover {
    border-color: #5BBB7B;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(91, 187, 123, 0.1);
}

.category-btn.selected {
    border-color: #5BBB7B;
    background: #f0f9f4;
}

.category-icon {
    font-size: 24px;
    color: #5BBB7B;
}

/* AI Interview */
.ai-avatar {
    width: 50px;
    height: 50px;
    background: #5BBB7B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.question-bubble {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 18px 18px 18px 0;
    font-size: 18px;
    line-height: 1.5;
    border-left: 4px solid #5BBB7B;
    text-align: left;
    width: 100%;
}

/* Fix for typing text overlap */
.typing-container {
    min-height: 60px;
    display: flex;
    align-items: center;
}

.question-bubble .typing-text {
    margin-bottom: 0;
    line-height: 1.5;
}

.scenario-question-container,
.workstyle-question-container,
.reliability-question-container {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Option Buttons */
.option-btn, .choice-btn {
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    transition: all 0.2s ease;
    cursor: pointer;
    font-weight: 500;
    width: 100%;
    text-align: left;
    margin-bottom: 8px;
}

.choice-btn {
    width: auto;
    min-width: 120px;
    text-align: center;
}

.option-btn:hover, .choice-btn:hover {
    border-color: #5BBB7B;
    background: #f0f9f4;
}

.option-btn.selected, .choice-btn.selected {
    border-color: #5BBB7B;
    background: #5BBB7B;
    color: white;
}

/* Multiple choice options with icons */
.option-btn.multiple-choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.option-icon-main {
    font-size: 18px;
    color: #5BBB7B;
}

.option-btn.selected .option-icon-main {
    color: white;
}

.option-btn.multiple-choice .check-icon {
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.option-btn.multiple-choice.selected .check-icon {
    opacity: 1;
    transform: scale(1);
    color: white;
}

/* Other reason input */
.other-reason {
    animation: fadeIn 0.3s ease;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    width: 100%;
}

/* Skill Tags */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.skill-tag {
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.skill-tag:hover {
    border-color: #5BBB7B;
    color: #5BBB7B;
}

.skill-tag.selected {
    background: #5BBB7B;
    color: white;
    border-color: #5BBB7B;
}

/* Custom skill input */
.custom-skill-input {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    width: 100%;
}

.input-group {
    display: flex;
    gap: 8px;
}

.input-group .form-control {
    flex: 1;
    height: unset !important;
}

.input-group .btn {
    padding: 0 20px;
}

/* Scenario Options */
.scenario-options {
    width: 100%;
}

.scenario-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 10px;
    width: 100%;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.scenario-option:hover {
    border-color: #5BBB7B;
    background: #f0f9f4;
}

.scenario-option.selected {
    border-color: #5BBB7B;
    background: #5BBB7B;
    color: white;
}

.option-letter {
    width: 30px;
    height: 30px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.scenario-option.selected .option-letter {
    background: white;
    color: #5BBB7B;
}

/* Scale Buttons */
.scale-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    width: 100%;
}

.scale-labels {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
}

.scale-label-left {
    text-align: left;
}

.scale-label-right {
    text-align: right;
}

.scale-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.scale-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    position: relative;
}

.scale-btn:hover {
    border-color: #5BBB7B;
    color: #5BBB7B;
}

.scale-btn.active {
    background: #5BBB7B;
    border-color: #5BBB7B;
    color: white;
}

/* Scale tooltips */
.scale-label-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    margin-bottom: 5px;
}

.scale-btn:hover .scale-label-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Next of kin card */
.nextofkin-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

/* Completion Animation */
.checkmark-circle {
    width: 80px;
    height: 80px;
    background: #5BBB7B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: scaleIn 0.5s ease;
}

.checkmark {
    color: white;
    font-size: 40px;
    animation: checkmark 0.5s ease 0.2s both;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    70% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes checkmark {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Insight Cards */
.insight-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    text-align: left;
    height: 100%;
}

.badges-earned .badge {
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
}

.badge-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.badge-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.badge-primary {
    background: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

.badge-secondary {
    background: #e9ecef;
    color: #495057;
    border: 1px solid #ced4da;
}

/* Motivational Message */
.motivation-message {
    animation: fadeInUp 0.3s ease;
    color: #5BBB7B;
    font-weight: 500;
    background: white;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

/* Transitions */
.fade-slide-enter-active,
.fade-slide-leave-active {
    transition: all 0.3s ease;
}

.fade-slide-enter-from {
    opacity: 0;
    transform: translateX(20px);
}

.fade-slide-leave-to {
    opacity: 0;
    transform: translateX(-20px);
}

.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Typing avatar */
.typing-avatar {
    position: relative;
}

.typing-avatar.is-typing::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #5BBB7B;
    border-radius: 50%;
    border: 2px solid white;
    animation: pulse 1.5s infinite;
}

.typing-dots {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: white;
    border-radius: 10px;
    padding: 2px 4px;
    display: flex;
    gap: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.typing-dots span {
    width: 4px;
    height: 4px;
    background: #5BBB7B;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-4px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(91, 187, 123, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(91, 187, 123, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(91, 187, 123, 0);
    }
}

/* Selected check icon */
.selected-check {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #5BBB7B;
    animation: scaleIn 0.3s ease;
}

.selected-icon {
    margin-left: auto;
    animation: scaleIn 0.3s ease;
}

/* KBD style */
kbd {
    background: #333;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

/* Navigation buttons with icons */
.nav-btn {
    display: flex;
    align-items: center;
    padding: 12px 24px;
}

/* Form controls in question focus */
.question-focus input,
.question-focus select,
.question-focus textarea {
    margin: 0 auto;
    text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
    .step-container {
        padding: 20px;
        margin: 0 15px;
    }

    .scale-btn {
        width: 40px;
        height: 40px;
    }

    .category-btn {
        padding: 15px 5px;
    }

    .question-focus h3 {
        font-size: 1.5rem;
    }
}
