/* =====================================================
   ONBOARDING FLOW STYLES - Buzee
   ===================================================== */

.onboarding-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
}

.onboarding-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="%23ffffff" fill-opacity="0.03" width="50" height="50"/><rect fill="%23ffffff" fill-opacity="0.03" x="50" y="50" width="50" height="50"/></svg>');
    opacity: 0.3;
}

.onboarding-section .container {
    position: relative;
    z-index: 1;
}

/* Progress Steps */
.onboarding-progress {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.progress-step::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: -1;
}

.progress-step:first-child::before {
    display: none;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
}

.progress-step.active .step-circle {
    background: white;
    color: #667eea;
    border-color: white;
    transform: scale(1.1);
}

.progress-step.completed .step-circle {
    background: #4caf50;
    border-color: #4caf50;
}

.progress-step.completed .step-circle::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.progress-step.completed .step-circle {
    font-size: 0;
}

.step-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: white;
}

/* Onboarding Card */
.onboarding-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.5s ease-out;
}

.onboarding-header {
    margin-bottom: 2rem;
}

.onboarding-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.75rem;
}

.onboarding-subtitle {
    font-size: 1.125rem;
    color: #6c757d;
    margin: 0;
}

/* Goal Cards */
.goal-card {
    background: #f8f9fa;
    border: 3px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.goal-card:hover {
    border-color: #667eea;
    background: #f0f4ff;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
}

.goal-card.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.goal-icon {
    width: 70px;
    height: 70px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: all 0.3s ease;
}

.goal-card.active .goal-icon {
    background: rgba(255, 255, 255, 0.2);
}

.goal-icon i {
    font-size: 2rem;
    color: #667eea;
}

.goal-card.active .goal-icon i {
    color: white;
}

.goal-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.75rem;
}

.goal-card.active h3 {
    color: white;
}

.goal-card p {
    font-size: 0.9375rem;
    color: #6c757d;
    margin: 0;
}

.goal-card.active p {
    color: rgba(255, 255, 255, 0.9);
}

/* Channel Cards */
.channel-card {
    background: #f8f9fa;
    border: 3px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.channel-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
}

.channel-header {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.channel-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.channel-icon i {
    font-size: 1.75rem;
    color: white;
}

.channel-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.5rem;
}

.channel-info .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

.channel-description {
    color: #6c757d;
    margin-bottom: 1.25rem;
}

.channel-features {
    margin-bottom: 1rem;
}

.channel-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    color: #495057;
    font-size: 0.9375rem;
}

.channel-features .feature-item i {
    font-size: 1rem;
}

.channel-card .form-check-input {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid #dee2e6;
    margin-top: 0;
}

.channel-card .form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

/* Import Options */
.import-option {
    background: #f8f9fa;
    border: 3px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.import-option:hover {
    border-color: #667eea;
    background: #f0f4ff;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
}

.import-icon {
    width: 70px;
    height: 70px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.import-icon i {
    font-size: 2rem;
    color: #667eea;
}

.import-option h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.75rem;
}

.import-option p {
    font-size: 0.9375rem;
    color: #6c757d;
    margin-bottom: 1.25rem;
}

/* Buttons */
.onboarding-card .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.onboarding-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.onboarding-card .btn-outline-secondary {
    border: 2px solid #dee2e6;
    font-weight: 600;
}

.onboarding-card .btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    font-weight: 600;
}

.onboarding-card .btn-outline-primary:hover {
    background: #667eea;
    border-color: #667eea;
}

/* Alert */
.onboarding-card .alert {
    background: rgba(102, 126, 234, 0.1);
    color: #495057;
}

.onboarding-card .alert i {
    color: #667eea;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .onboarding-card {
        padding: 2rem 1.5rem;
    }

    .onboarding-title {
        font-size: 1.75rem;
    }

    .onboarding-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .onboarding-progress {
        padding: 1rem;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .onboarding-card {
        padding: 1.5rem 1rem;
    }

    .onboarding-title {
        font-size: 1.5rem;
    }

    .onboarding-subtitle {
        font-size: 0.9375rem;
    }

    .goal-card,
    .import-option {
        padding: 1.5rem 1rem;
    }

    .channel-card {
        padding: 1.5rem;
    }

    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }

    .d-flex.justify-content-between .btn {
        width: 100%;
    }
}
