/* Styles pour le formulaire de plan d'affaires */

.business-plan-header {
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=1400&q=80');
    padding-bottom: 60px;
}

.progress-indicator {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.step {
    flex: 1;
    text-align: center;
    padding: 10px;
    color: white;
    opacity: 0.7;
    position: relative;
    font-weight: 500;
    transition: all 0.3s;
}

.step.active {
    opacity: 1;
    font-weight: 700;
}

.step.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--secondary-color);
}

.form-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-section.active {
    display: block;
}

.form-section-header {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    padding: 20px 30px;
    border-radius: 15px 15px 0 0;
    margin-bottom: 30px;
}

.form-section-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.form-section-body {
    background: white;
    padding: 30px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.form-control, .form-select {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

.form-control.is-invalid {
    border-color: #dc3545;
    background-image: none;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.promoter-card {
    animation: slideDown 0.5s ease;
}

.promoter-card .card {
    border: 2px solid var(--light-color);
    border-radius: 15px;
}

.promoter-card .card-header {
    background: var(--light-color);
    border-bottom: 2px solid var(--primary-color);
    padding: 15px 20px;
}

.promoter-card .card-header h5 {
    margin: 0;
    color: var(--dark-color);
}

.promoter-card .remove-promoter {
    background: #dc3545;
    border: none;
    border-radius: 8px;
    padding: 5px 10px;
    transition: all 0.3s;
}

.promoter-card .remove-promoter:hover {
    background: #c82333;
    transform: scale(1.1);
}

#addPromoter {
    border: 2px dashed var(--primary-color);
    background: white;
    color: var(--primary-color);
    padding: 12px;
    width: 100%;
    font-weight: 600;
    transition: all 0.3s;
}

#addPromoter:hover {
    background: rgba(46, 139, 87, 0.1);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .progress-indicator {
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px;
    }
    
    .step {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .progress-indicator {
        display: none;
    }
    
    .form-section-header h2 {
        font-size: 1.2rem;
    }
    
    .form-section-body {
        padding: 20px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-navigation button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .step {
        flex: 1 1 100%;
    }
}