/* Styles pour la sélection des moyens de paiement */

.payment-selection {
    padding: 60px 0;
    background: #f8f9fa;
}

.payment-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.payment-header {
    text-align: center;
    margin-bottom: 40px;
}

.payment-header h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.payment-header p {
    color: #6c757d;
    font-size: 1.1rem;
}

.booking-summary {
    background: #1e3889;
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(30, 56, 137, 0.2);
}

.booking-summary:hover {
    background: rgba(30, 56, 137, 0.95);
}

.booking-summary h4 {
    color: white;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
    font-weight: 600;
}

.booking-summary p {
    margin-bottom: 8px;
    color: rgba(255,255,255,0.9);
}

.booking-summary strong {
    color: white;
}

.payment-methods {
    margin-bottom: 30px;
}

.payment-method {
    margin-bottom: 15px;
}

.payment-btn {
    width: 100%;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    color: inherit;
}

.payment-btn:hover {
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.stripe-btn:hover {
    border-color: #635bff;
    background: #fafaff;
}

.paypal-btn:hover {
    border-color: #0070ba;
    background: #f0f8ff;
}

.paystack-btn:hover {
    border-color: #00c3f7;
    background: #f0fcff;
}

.momo-btn:hover {
    border-color: #FFCC00;
    background: #fffbf0;
}

.cart-btn:hover {
    border-color: #10b981;
    background: #f0fdf4;
}

.payment-icon {
    font-size: 2rem;
    margin-right: 20px;
    width: 60px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stripe-btn .payment-icon {
    color: #635bff;
}

.paypal-btn .payment-icon {
    color: #0070ba;
}

.paystack-btn .payment-icon {
    color: #00c3f7;
}

.momo-btn .payment-icon {
    background: linear-gradient(135deg, #FFCC00 0%, #FF9900 100%);
    color: #000;
    border-radius: 10px;
    padding: 10px;
    width: 50px;
    height: 50px;
}

.cart-btn .payment-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 10px;
    padding: 10px;
    width: 50px;
    height: 50px;
}

.payment-info {
    flex: 1;
    text-align: left;
}

.payment-info h5 {
    margin: 0 0 5px 0;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
}

.payment-info p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.payment-arrow {
    color: #6c757d;
    font-size: 1.2rem;
    margin-left: 15px;
}

.payment-security {
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #28a745;
    font-size: 0.9rem;
    font-weight: 500;
}

.security-item i {
    font-size: 1.1rem;
}

.payment-footer {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}

.payment-footer p {
    margin: 0;
    color: #6c757d;
}

/* Styles pour les alertes */
.alert {
    border-radius: 10px;
    border: none;
    padding: 15px 20px;
}

.alert-danger {
    background: #fee;
    color: #c53030;
    border-left: 4px solid #e53e3e;
}

.alert-success {
    background: #f0fff4;
    color: #22543d;
    border-left: 4px solid #38a169;
}

.alert-info {
    background: #ebf8ff;
    color: #2a69ac;
    border-left: 4px solid #3182ce;
}

.alert-warning {
    background: #fffbeb;
    color: #744210;
    border-left: 4px solid #d69e2e;
}

/* Styles pour le modal MOMO */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-header {
    border-radius: 15px 15px 0 0;
    border-bottom: none;
    padding: 20px 25px;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 15px 15px;
    padding: 20px 25px;
}

.form-control-lg {
    padding: 12px 15px;
    font-size: 1rem;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control-lg:focus {
    border-color: #FFCC00;
    box-shadow: 0 0 0 0.2rem rgba(255, 204, 0, 0.25);
}

.input-group-text {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-right: none;
    color: #495057;
    font-weight: 600;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-warning {
    background: linear-gradient(135deg, #FFCC00 0%, #FF9900 100%);
    border: none;
    color: #000;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
    color: #000;
}

.btn-secondary {
    background: #6c757d;
    border: none;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-method {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.payment-method:nth-child(1) { animation-delay: 0.1s; }
.payment-method:nth-child(2) { animation-delay: 0.2s; }
.payment-method:nth-child(3) { animation-delay: 0.3s; }
.payment-method:nth-child(4) { animation-delay: 0.4s; }
.payment-method:nth-child(5) { animation-delay: 0.5s; }

/* Responsive */
@media (max-width: 768px) {
    .payment-card {
        padding: 20px;
        margin: 0 15px;
    }

    .payment-btn {
        padding: 15px;
    }

    .payment-icon {
        font-size: 1.5rem;
        width: 50px;
        margin-right: 15px;
    }

    .momo-btn .payment-icon,
    .cart-btn .payment-icon {
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .payment-info h5 {
        font-size: 1rem;
    }

    .payment-info p {
        font-size: 0.85rem;
    }

    .security-badges {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }

    .security-item {
        font-size: 0.8rem;
    }

    .booking-summary {
        padding: 20px;
    }

    .booking-summary .row {
        margin: 0;
    }

    .booking-summary .col-md-6 {
        padding: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .payment-selection {
        padding: 30px 0;
    }

    .payment-header h2 {
        font-size: 1.5rem;
    }

    .modal-body,
    .modal-header,
    .modal-footer {
        padding: 15px 20px;
    }
}