/* payment.css - à ajouter à votre feuille de style existante */

/* Styles pour les étapes du paiement */
.payment-hero {
    background: linear-gradient(135deg, #176ceb 0%, #0d47a1 100%);
    color: white;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.payment-steps {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 15px;
    position: relative;
}

.step span {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-weight: 600;
}

.step.active span {
    background: white;
    color: #176ceb;
}

.step p {
    font-size: 14px;
    font-weight: 500;
}

/* Styles pour les cartes de service */
.service-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.service-card.selected {
    border-color: #176ceb;
    box-shadow: 0 5px 20px rgba(23, 108, 235, 0.2);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-price {
    font-size: 22px;
    font-weight: 700;
    color: #176ceb;
    margin: 15px 0;
}

/* Styles pour le formulaire */
.payment-service-selection,
.payment-contact-details,
.payment-secure,
.payment-confirmation {
    padding: 60px 0;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

/* Styles pour le récapitulatif */
.order-summary {
    background: #f9fafc;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    font-weight: 700;
    font-size: 18px;
}

/* Styles pour les méthodes de paiement */
.payment-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    cursor: pointer;
}

.tab-btn.active {
    border-bottom-color: #176ceb;
    color: #176ceb;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.card-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.card-icons img {
    height: 30px;
}

.payment-security {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4CAF50;
    margin-top: 20px;
}

/* Styles pour la confirmation */
.confirmation-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.confirmation-icon {
    font-size: 80px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.confirmation-details {
    background: #f9fafc;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    text-align: left;
}

.confirmation-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .payment-steps {
        flex-wrap: wrap;
    }
    
    .step {
        margin: 0 5px 15px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .confirmation-actions .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}