/* Styles pour les onglets de tarification */
.pricing-tabs {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.pricing-tabs .nav-tabs {
    border: none;
    justify-content: center;
    margin-bottom: 20px;
}

.pricing-tabs .nav-tabs .nav-item {
    margin: 0 5px;
}

.pricing-tabs .nav-tabs .nav-link {
    border: 2px solid #6c5ce7;
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    color: #333;
    background-color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-tabs .nav-tabs .nav-link.active,
.pricing-tabs .nav-tabs .nav-link:hover {
    color: #fff;
    background-color: #6c5ce7;
    border-color: #6c5ce7;
}

.pricing-tabs .nav-tabs .nav-link .price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 5px;
}

.pricing-tabs .tab-content {
    transition: all 0.3s ease;
}

/* Tableau des fonctionnalités */
.features-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.features-table th,
.features-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.features-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.features-table tr:last-child td {
    border-bottom: none;
}

.features-table .feature-category {
    font-weight: 600;
    color: #6c5ce7;
    background-color: rgba(108, 92, 231, 0.05);
}

.features-table .checkmark {
    color: #4CAF50;
    font-size: 18px;
}

.features-table .crossmark {
    color: #F44336;
    font-size: 18px;
}

/* Animation pour le changement d'onglet */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pricing-tabs .tab-pane.active {
    animation: fadeIn 0.5s ease forwards;
}

/* Style pour le sélecteur de plan */
.plan-selector {
    position: relative;
    margin-bottom: 25px;
}

.plan-selector select {
    appearance: none;
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid #6c5ce7;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-selector select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.25);
}

.plan-selector::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6c5ce7;
}

/* Style pour les badges de plan */
.plan-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.plan-badge.starter {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.plan-badge.pro {
    background-color: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}

.plan-badge.premium {
    background-color: rgba(233, 30, 99, 0.1);
    color: #E91E63;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-tabs .nav-tabs {
        flex-direction: column;
    }
    
    .pricing-tabs .nav-tabs .nav-item {
        margin: 5px 0;
    }
    
    .features-table th, 
    .features-table td {
        padding: 10px;
    }
}

/* Animation pour le changement de plan */
.plan-features {
    transition: opacity 0.3s ease;
}

.plan-features.changing {
    opacity: 0;
}
