/**
 * Onboarding Styles
 */
.onboarding-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.onboarding-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.onboarding-content {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid rgba(0, 255, 136, 0.3);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.2);
    z-index: 10001;
}

.onboarding-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 255, 136, 0.2);
}

.onboarding-header h2 {
    margin: 0;
    color: #00ff88;
    font-size: 2em;
}

.onboarding-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2em;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.onboarding-close:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
}

.onboarding-body {
    min-height: 200px;
    margin-bottom: 30px;
}

.onboarding-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.onboarding-progress {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #00d4ff);
    transition: width 0.3s;
    border-radius: 4px;
}

.progress-text {
    color: #fff;
    font-size: 0.9em;
    white-space: nowrap;
}

/* Step Indicators */
.onboarding-steps-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 2px solid rgba(0, 255, 136, 0.1);
    gap: 10px;
}

.step-indicator {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: all 0.3s;
    cursor: pointer;
}

.step-indicator.active {
    opacity: 1;
}

.step-indicator.completed {
    opacity: 0.8;
}

.step-indicator.completed .step-number {
    background: #00ff88;
    color: #0a0a0f;
}

.step-indicator.active .step-number {
    background: linear-gradient(135deg, #00ff88, #00d4ff);
    color: #0a0a0f;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
    border: 2px solid rgba(0, 255, 136, 0.3);
    transition: all 0.3s;
}

.step-name {
    font-size: 0.85em;
    color: #fff;
    text-align: center;
    font-weight: 500;
}

.step-indicator.active .step-name {
    color: #00ff88;
    font-weight: 600;
}

.onboarding-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.onboarding-actions button {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-skip {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-skip:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-next {
    background: linear-gradient(135deg, #00ff88, #00d4ff);
    color: #000;
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.4);
}

/* Step-specific styles */
.welcome-step h3 {
    color: #00ff88;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.welcome-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.feature-item i {
    font-size: 2em;
    color: #00ff88;
    margin-bottom: 10px;
    display: block;
}

.profile-setup-step .form-group {
    margin-bottom: 20px;
}

.profile-setup-step label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.profile-setup-step input,
.profile-setup-step textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1em;
}

.profile-setup-step textarea {
    min-height: 100px;
    resize: vertical;
}

.skill-paths {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.skill-path-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.skill-path-card:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.5);
    transform: translateY(-5px);
}

.skill-path-card.selected {
    background: rgba(0, 255, 136, 0.2);
    border-color: #00ff88;
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.3);
}

.skill-path-card h4 {
    color: #00ff88;
    margin: 0 0 10px 0;
}

.skill-path-card p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9em;
}

.first-actions-step .action-list {
    margin-top: 20px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 10px;
}

.action-item i {
    color: #00ff88;
    font-size: 1.2em;
}

.action-item i.fa-circle {
    color: rgba(255, 255, 255, 0.3);
}

.complete-step {
    text-align: center;
    padding: 20px;
}

.complete-step h3 {
    color: #00ff88;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.completion-bonus {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.completion-bonus p {
    color: #00ff88;
    font-size: 1.2em;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .onboarding-content {
        padding: 20px;
        width: 95%;
    }
    
    .welcome-features {
        grid-template-columns: 1fr;
    }
    
    .skill-paths {
        grid-template-columns: 1fr;
    }
}
