/* =====================================================
   PAIEMENT - CSS DÉDIÉ
   Toutes les classes sont préfixées par .payment-
   ===================================================== */

.payment-page-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.payment-page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.payment-page-header h1 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: #FFF;
}

.payment-security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #28a745;
    font-size: 0.9rem;
}

/* Section de paiement */
.payment-section-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-section-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #FFF;
}

.payment-logos-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-logos-container img {
    height: 30px;
    width: auto;
}

/* Formulaire */
.payment-form-group {
    margin-bottom: 1.5rem;
}

.payment-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: #FFF;
}

.payment-form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: #FFF;
}

.payment-form-input:focus {
    outline: none;
    border-color: #f26825;
    box-shadow: 0 0 0 0.2rem rgba(242, 104, 37, 0.25);
}

.payment-form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.payment-name-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Élément Stripe */
.payment-card-element {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
}

.payment-card-element.StripeElement--focus {
    border-color: #f26825;
    box-shadow: 0 0 0 0.2rem rgba(242, 104, 37, 0.25);
}

.payment-card-errors {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #dc3545;
}

/* Montant à payer */
.payment-amount-display {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(242, 104, 37, 0.1);
    border-radius: 8px;
    border: 2px solid #f26825;
}

.payment-amount-label {
    font-size: 0.9rem;
    color: #FFF;
    margin-bottom: 0.5rem;
}

.payment-amount-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f26825;
}

/* Bouton payer */
.payment-btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: #f26825;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 1.5rem;
}

.payment-btn-submit:hover {
    background: #d9571f;
}

.payment-btn-submit:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.payment-stripe-badge {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #858585;
}

/* Info virement */
.payment-virement-info {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(0, 102, 204, 0.1);
    border-left: 3px solid #0066cc;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #FFF;
}

.payment-virement-info a {
    color: #0066cc;
    text-decoration: underline;
}

/* Texte légal */
.payment-legal-text {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #858585;
    line-height: 1.6;
}

.payment-legal-text a {
    color: #0066cc;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .payment-name-fields {
        grid-template-columns: 1fr;
    }

    .payment-amount-value {
        font-size: 2rem;
    }
}

/* ========================================
   PAGE DE SUCCÈS - DESIGN MODERNE
   ======================================== */

/* === WRAPPER GLOBAL === */
.success-wrapper {
    min-height: 100vh;
    padding: 40px 20px 80px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.success-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 50%, rgba(244, 113, 26, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(244, 113, 26, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.success-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* === ICÔNE DE SUCCÈS ANIMÉE === */
.success-icon-wrapper {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.success-icon-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
    animation: success-pop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 2;
}

.success-icon-circle i {
    font-size: 50px;
    color: white;
    animation: success-check 0.8s ease 0.3s backwards;
}

@keyframes success-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes success-check {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* === CONFETTIS ANIMÉS === */
.success-confetti {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #f59e0b;
    top: 50%;
    left: 50%;
    opacity: 0;
    animation: confetti-fall 1.5s ease-out;
}

.confetti:nth-child(1) {
    background: #F4711A;
    animation-delay: 0.1s;
    transform: translateX(-40px);
}

.confetti:nth-child(2) {
    background: #ff8c42;
    animation-delay: 0.2s;
    transform: translateX(40px);
}

.confetti:nth-child(3) {
    background: #666666;
    animation-delay: 0.3s;
    transform: translateX(-80px);
}

.confetti:nth-child(4) {
    background: #F4711A;
    animation-delay: 0.4s;
    transform: translateX(80px);
}

.confetti:nth-child(5) {
    background: #999999;
    animation-delay: 0.5s;
    transform: translateX(0px);
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(200px) rotate(720deg);
        opacity: 0;
    }
}

/* === TITRES === */
.success-title {
    font-size: 42px;
    font-weight: 700;
    color: white;
    text-align: center;
    margin: 0 0 15px;
    animation: fade-in-up 0.8s ease 0.2s backwards;
}

.success-subtitle {
    font-size: 18px;
    color: #9ca3af;
    text-align: center;
    margin: 0 0 40px;
    line-height: 1.6;
    animation: fade-in-up 0.6s ease 0.3s backwards;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === CARD COMMANDE === */
.success-order-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    animation: fade-in-up 0.8s ease 0.4s backwards;
}

.order-card-header {
    background: linear-gradient(135deg, #F4711A 0%, #d85f15 100%);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.order-card-header i {
    font-size: 22px;
}

.order-card-body {
    padding: 30px;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.order-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.order-info-icon {
    width: 45px;
    height: 45px;
    background: rgba(244, 113, 26, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.order-info-icon i {
    font-size: 20px;
    color: #F4711A;
}

.order-info-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.order-info-label {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-info-value {
    font-size: 16px;
    color: white;
    font-weight: 600;
}

.order-info-amount {
    color: #F4711A;
    font-size: 20px;
}

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-success {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* === TIMELINE === */
.success-timeline-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    animation: fade-in-up 0.8s ease 0.7s backwards;
}

.timeline-header {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.timeline-header i {
    font-size: 22px;
    color: #F4711A;
}

.timeline-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin: 0;
}

.timeline-body {
    padding: 30px;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 34px;
    top: 25px;
    bottom: 25px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    padding-left: 85px;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-marker i {
    font-size: 28px;
    color: #6b7280;
}

.timeline-item.completed .timeline-marker {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
}

.timeline-item.completed .timeline-marker i {
    color: white;
}

.timeline-item.active .timeline-marker {
    background: linear-gradient(135deg, #F4711A 0%, #d85f15 100%);
    border-color: #F4711A;
    animation: pulse-marker 2s ease infinite;
}

.timeline-item.active .timeline-marker i {
    color: white;
}

@keyframes pulse-marker {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(244, 113, 26, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(244, 113, 26, 0);
    }
}

.timeline-content {
    flex: 1;
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin: 0 0 8px;
}

.timeline-content p {
    margin: 0;
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
}

/* === ALERTE EMAIL === */
.success-email-alert {
    padding: 20px 25px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
    background: rgba(59, 130, 246, 0.15);
    border: 2px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    animation: fade-in-up 0.8s ease 0.8s backwards;
}

.email-alert-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.email-alert-content {
    flex: 1;
}

/* === BOUTONS D'ACTION === */
.success-actions {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    animation: fade-in-up 0.8s ease 0.9s backwards;
}

.success-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.success-btn i {
    font-size: 20px;
}

.success-btn-primary {
    background: linear-gradient(135deg, #F4711A 0%, #d85f15 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(244, 113, 26, 0.4);
}

.success-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 113, 26, 0.6);
}

.success-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.success-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .success-wrapper {
        padding: 30px 15px 60px;
    }

    .success-title {
        font-size: 32px;
    }

    .success-subtitle {
        font-size: 16px;
    }

    .success-icon-circle {
        width: 80px;
        height: 80px;
    }

    .success-icon-circle i {
        font-size: 40px;
    }

    .order-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .order-card-header,
    .timeline-header {
        padding: 15px 20px;
        font-size: 16px;
    }

    .order-card-body,
    .timeline-body {
        padding: 20px;
    }

    .timeline-marker {
        width: 55px;
        height: 55px;
    }

    .timeline-marker i {
        font-size: 22px;
    }

    .timeline::before {
        left: 27px;
    }

    .success-email-alert {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
    }

    .email-alert-icon {
        font-size: 20px;
    }

    .success-actions {
        flex-direction: column;
    }

    .success-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .success-title {
        font-size: 28px;
    }
    .order-card-header,
    .timeline-header {
        padding: 15px 20px;
    }

    .order-card-body,
    .timeline-body {
        padding: 20px;
    }

    .success-title {
        font-size: 28px;
    }

    .success-subtitle {
        font-size: 15px;
    }
}

/* ========================================
   PAGE VIREMENT - DESIGN MODERNE
   Style similaire à la page de succès
   ======================================== */

/* === WRAPPER GLOBAL === */
.virement-wrapper {
    min-height: 100vh;
    padding: 40px 20px 80px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.virement-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 50%, rgba(244, 113, 26, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(244, 113, 26, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.virement-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* === ICÔNE ANIMÉE === */
.virement-icon-wrapper {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.virement-icon-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #F4711A 0%, #d85f15 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(244, 113, 26, 0.3);
    animation: virement-pop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.virement-icon-circle i {
    font-size: 50px;
    color: white;
    animation: virement-icon-pulse 2s ease infinite;
}

@keyframes virement-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes virement-icon-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* === TITRES === */
.virement-title {
    font-size: 42px;
    font-weight: 700;
    color: white;
    text-align: center;
    margin: 0 0 15px;
    animation: fade-in-up 0.8s ease 0.2s backwards;
}

.virement-subtitle {
    font-size: 18px;
    color: #9ca3af;
    text-align: center;
    margin: 0 0 40px;
    animation: fade-in-up 0.8s ease 0.3s backwards;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === CARD COMMANDE === */
.virement-order-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    animation: fade-in-up 0.8s ease 0.4s backwards;
}

.order-card-header {
    background: linear-gradient(135deg, #F4711A 0%, #d85f15 100%);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.order-card-header i {
    font-size: 22px;
}

.order-card-body {
    padding: 30px;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.order-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.order-info-icon {
    width: 45px;
    height: 45px;
    background: rgba(244, 113, 26, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.order-info-icon i {
    font-size: 20px;
    color: #F4711A;
}

.order-info-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.order-info-label {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-info-value {
    font-size: 16px;
    color: white;
    font-weight: 600;
}

.order-info-amount {
    color: #F4711A;
    font-size: 20px;
}

/* Badge statut */
.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending {
    background: rgb(177 177 177 / 20%);
    color: #ffffff;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* === ALERTES === */
.virement-alert {
    padding: 20px 25px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
    animation: fade-in-up 0.8s ease 0.5s backwards;
}

.virement-alert i {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.virement-alert-warning {
    background: rgba(251, 191, 36, 0.15);
    border: 2px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

.virement-alert-info {
    background: rgba(59, 130, 246, 0.15);
    border: 2px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

/* === CARD RIB === */
.virement-rib-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    animation: fade-in-up 0.8s ease 0.6s backwards;
    border: 2px solid rgba(244, 113, 26, 0.3);
}

.rib-card-header {
    background: rgba(244, 113, 26, 0.15);
    border-bottom: 1px solid rgba(244, 113, 26, 0.3);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #F4711A;
}

.rib-card-header i {
    font-size: 22px;
}

.rib-card-body {
    padding: 30px;
}

.rib-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.rib-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.rib-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(244, 113, 26, 0.5);
    transform: translateY(-2px);
}

.rib-item-highlight {
    background: rgba(244, 113, 26, 0.1);
    border-color: rgba(244, 113, 26, 0.4);
}

.rib-item-icon {
    width: 40px;
    height: 40px;
    background: rgba(244, 113, 26, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rib-item-icon i {
    font-size: 18px;
    color: #F4711A;
}

.rib-item-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.rib-item-label {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rib-item-value-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rib-item-value {
    font-size: 15px;
    color: white;
    font-weight: 600;
    word-break: break-all;
}

.rib-item-highlight .rib-item-value {
    color: #F4711A;
    font-size: 16px;
}

.rib-copy-btn {
    background: rgba(244, 113, 26, 0.2);
    border: none;
    color: #F4711A;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 16px;
    flex-shrink: 0;
}

.rib-copy-btn:hover {
    background: rgba(244, 113, 26, 0.3);
    transform: scale(1.1);
}

.rib-copy-btn:active {
    transform: scale(0.95);
}

/* Instructions */
.rib-instructions {
    background: rgba(244, 113, 26, 0.05);
    border: 1px solid rgba(244, 113, 26, 0.2);
    border-radius: 12px;
    padding: 20px;
}

.rib-instructions-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #F4711A;
    margin-bottom: 12px;
}

.rib-instructions-header i {
    font-size: 18px;
}

.rib-instructions p {
    margin: 0;
    color: #d1d5db;
    line-height: 1.7;
    font-size: 14px;
}

/* === TIMELINE === */
.virement-timeline-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    animation: fade-in-up 0.8s ease 0.7s backwards;
}

.timeline-card-header {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.timeline-card-header i {
    font-size: 22px;
    color: #F4711A;
}

.timeline-card-body {
    padding: 30px;
}

.timeline-steps {
    position: relative;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    left: 34px;
    top: 25px;
    bottom: 25px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-step {
    position: relative;
    padding-left: 85px;
    margin-bottom: 30px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-step-marker i {
    font-size: 28px;
    color: #6b7280;
}

.timeline-step-completed .timeline-step-marker {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
}

.timeline-step-completed .timeline-step-marker i {
    color: white;
}

.timeline-step-active .timeline-step-marker {
    background: linear-gradient(135deg, #F4711A 0%, #d85f15 100%);
    border-color: #F4711A;
    animation: timeline-pulse 2s ease infinite;
}

.timeline-step-active .timeline-step-marker i {
    color: white;
}

@keyframes timeline-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(244, 113, 26, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(244, 113, 26, 0);
    }
}

.timeline-step-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin: 0 0 8px;
}

.timeline-step-content p {
    margin: 0;
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
}

/* === BOUTONS D'ACTION === */
.virement-actions {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    animation: fade-in-up 0.8s ease 0.8s backwards;
}

.virement-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.virement-btn i {
    font-size: 20px;
}

.virement-btn-primary {
    background: linear-gradient(135deg, #F4711A 0%, #d85f15 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(244, 113, 26, 0.4);
}

.virement-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 113, 26, 0.6);
}

.virement-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.virement-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .virement-wrapper {
        padding: 30px 15px 60px;
    }

    .virement-title {
        font-size: 32px;
    }

    .virement-subtitle {
        font-size: 16px;
    }

    .virement-icon-circle {
        width: 80px;
        height: 80px;
    }

    .virement-icon-circle i {
        font-size: 40px;
    }

    .order-info-grid,
    .rib-items-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .order-card-header,
    .rib-card-header,
    .timeline-card-header {
        padding: 15px 20px;
        font-size: 16px;
    }

    .order-card-body,
    .rib-card-body,
    .timeline-card-body {
        padding: 20px;
    }

    .virement-alert {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
    }

    .virement-alert i {
        font-size: 20px;
    }

    .timeline-step {
        padding-left: 70px;
    }

    .timeline-step-marker {
        width: 55px;
        height: 55px;
    }

    .timeline-step-marker i {
        font-size: 22px;
    }

    .timeline-steps::before {
        left: 27px;
    }

    .virement-actions {
        flex-direction: column;
    }

    .virement-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .virement-title {
        font-size: 28px;
    }

    .order-info-item {
        flex-direction: column;
        gap: 10px;
    }

    .rib-item {
        flex-direction: column;
        gap: 12px;
    }

    .rib-item-value-wrapper {
        width: 100%;
    }
}

/* ========================================
   PAGE PAYPAL 4X - DESIGN MODERNE
   Style similaire aux pages success et virement
   ======================================== */

/* === WRAPPER GLOBAL === */
.paypal-wrapper {
    min-height: 100vh;
    padding: 40px 20px 80px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.paypal-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 50%, rgba(0, 112, 243, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(244, 113, 26, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.paypal-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* === ICÔNE ANIMÉE === */
.paypal-icon-wrapper {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.paypal-icon-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #0070f3 0%, #0051c2 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 112, 243, 0.4);
    animation: paypal-pop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.paypal-icon-circle i {
    font-size: 50px;
    color: white;
    animation: paypal-icon-pulse 2s ease infinite;
}

@keyframes paypal-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes paypal-icon-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* === TITRES === */
.paypal-title {
    font-size: 42px;
    font-weight: 700;
    color: white;
    text-align: center;
    margin: 0 0 15px;
    animation: fade-in-up 0.8s ease 0.2s backwards;
}

.paypal-subtitle {
    font-size: 18px;
    color: #9ca3af;
    text-align: center;
    margin: 0 0 40px;
    animation: fade-in-up 0.8s ease 0.3s backwards;
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === CARD MONTANT === */
.paypal-amount-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    animation: fade-in-up 0.8s ease 0.4s backwards;
    border: 2px solid rgba(0, 112, 243, 0.3);
}

.amount-card-header {
    background: linear-gradient(135deg, #0070f3 0%, #0051c2 100%);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.amount-card-header i {
    font-size: 18px;
}

.amount-card-body {
    padding: 30px;
    text-align: center;
}

.amount-total {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.amount-detail {
    font-size: 18px;
    color: #9ca3af;
}

.amount-detail span {
    background: rgba(0, 112, 243, 0.1);
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
}

/* === ALERTES === */
.paypal-alert {
    padding: 20px 25px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
    animation: fade-in-up 0.8s ease 0.5s backwards;
}

.paypal-alert i {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.paypal-alert-info {
    background: rgba(59, 130, 246, 0.15);
    border: 2px solid rgba(59, 130, 246, 0.3);
    color: #ffffff;
}

.paypal-alert ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
    list-style: none;
}

.paypal-alert li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.paypal-alert li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #60a5fa;
    font-weight: bold;
}

/* === CARD COMMANDE === */
.paypal-order-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    animation: fade-in-up 0.8s ease 0.6s backwards;
}

.order-card-header {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.order-card-header i {
    font-size: 18px;
    color: #F4711A;
}

.order-card-body {
    padding: 25px;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.order-summary-row:last-child {
    border-bottom: none;
}

.order-summary-label {
    font-size: 14px;
    color: #9ca3af;
}

.order-summary-value {
    font-size: 14px;
    color: white;
    font-weight: 600;
}

.order-summary-total {
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.order-summary-total .order-summary-label {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.order-summary-total .order-summary-value {
    font-size: 20px;
    color: #F4711A;
}

/* === CARD PAIEMENT === */
.paypal-payment-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    animation: fade-in-up 0.8s ease 0.7s backwards;
}

.payment-card-header {
    background: rgba(0, 112, 243, 0.15);
    border-bottom: 1px solid rgba(0, 112, 243, 0.3);
    padding: 18px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.payment-card-header i {
    font-size: 18px;
}

.payment-card-body {
    padding: 30px;
}

/* Message avant paiement */
.paypal-message {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 112, 243, 0.1);
    border: 1px solid rgba(0, 112, 243, 0.2);
    border-radius: 12px;
    margin-bottom: 25px;
}

.paypal-message i {
    font-size: 30px;
    color: #0070f3;
}

.paypal-message p {
    margin: 0;
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.6;
}

/* Conteneur boutons PayPal */
#paypal-button-container {
    margin: 0;
    min-height: 150px;
}

/* Loader */
.paypal-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 20px;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 112, 243, 0.2);
    border-top-color: #0070f3;
    border-radius: 50%;
    animation: spinner-rotate 1s linear infinite;
}

@keyframes spinner-rotate {
    to {
        transform: rotate(360deg);
    }
}

.paypal-loader p {
    color: #9ca3af;
    font-size: 16px;
    margin: 0;
}

/* === FEATURES === */
.paypal-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    animation: fade-in-up 0.8s ease 0.8s backwards;
}

.paypal-feature {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.paypal-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.paypal-feature i {
    font-size: 36px;
    color: #0070f3;
}

.paypal-feature h4 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0;
}

.paypal-feature p {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
    line-height: 1.5;
}

/* === ACTIONS === */
.paypal-actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    animation: fade-in-up 0.8s ease 0.9s backwards;
}

.paypal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.paypal-btn i {
    font-size: 18px;
}

.paypal-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.paypal-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .paypal-wrapper {
        padding: 30px 15px 60px;
    }

    .paypal-title {
        font-size: 32px;
    }

    .paypal-subtitle {
        font-size: 16px;
    }

    .paypal-icon-circle {
        width: 80px;
        height: 80px;
    }

    .paypal-icon-circle i {
        font-size: 40px;
    }

    .amount-total {
        font-size: 38px;
    }

    .amount-detail {
        font-size: 16px;
    }

    .paypal-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .paypal-alert {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
    }

    .order-card-header,
    .payment-card-header,
    .amount-card-header {
        padding: 15px 20px;
        font-size: 14px;
    }

    .order-card-body,
    .payment-card-body {
        padding: 20px;
    }

    .paypal-message {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .paypal-title {
        font-size: 28px;
    }

    .amount-total {
        font-size: 32px;
    }

    .paypal-feature i {
        font-size: 28px;
    }
}