/* GRID CARD ESPERIENZE - DESKTOP E TABLET */
.wedding-donations-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* desktop 3 per riga */
    gap: 24px;
}

/* Tablet */
@media (max-width: 1024px) {
    .wedding-donations-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile - carousel centrato */
@media (max-width: 600px) {
    .wedding-donations-container {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory; /* snap centrato */
        -webkit-overflow-scrolling: touch;
        gap: 12px; 
        padding-left: 12px; /* spazio iniziale */
        padding-right: 12px; /* spazio finale */
        background: transparent;
        padding-bottom: 0;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }

    .wedding-donations-container::-webkit-scrollbar {
        display: none;
        height: 0;
    }

    .wedding-box {
        flex: 0 0 70%;          /* card occupa 70% del viewport */
        max-width: 70%;
        box-sizing: border-box;
        border-radius: 24px;
        scroll-snap-align: center; /* centrata nello schermo */
        box-shadow: none;
    }

    /* Prima card pi\u00f9 a sinistra */
    .wedding-donations-container .wedding-box:first-child {
        scroll-snap-align: start; 
        margin-left: 0;
    }

    /* Font e pulsanti pi\u00f9 piccoli */
    .wedding-box-front h3 {
        font-size: 16px;
    }

    .wedding-contribuisci-btn {
        font-size: 13px;
        padding: 8px;
        letter-spacing: 1px;
    }
}

/* Extra piccolo (sotto 420px) */
@media (max-width: 420px) {
    .wedding-box {
        flex: 0 0 75%; /* leggermente pi\u00f9 piccolo su schermi stretti */
        max-width: 75%;
    }

    .wedding-box-front h3 {
        font-size: 15px;
    }

    .wedding-contribuisci-btn {
        font-size: 12px;
        padding: 6px;
    }
}

/* =====================================================
   CARD ESPERIENZA
===================================================== */
.wedding-box {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.wedding-box:hover {
    transform: translateY(-3px);
}

/* =====================================================
   IMMAGINI 8:5 CROPPATE
===================================================== */
.wedding-box img {
    width: 100%;
    aspect-ratio: 8 / 5;
    object-fit: cover;
    display: block;
    margin: 0;
}

/* =====================================================
   CONTENUTO CARD
===================================================== */
.wedding-box-front {
    padding: 16px 18px 20px;
}

.wedding-box-front h3 {
    font-size: 22px;
    margin: 6px 0 10px;
}

/* =====================================================
   RIGA PERCENTUALE + BUDGET
===================================================== */
.wedding-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.wedding-percent {
    font-weight: 600;
    color: #777;
}

.wedding-raised {
    font-weight: 700;
}

/* =====================================================
   PROGRESS BAR
===================================================== */
.progress-bar {
    height: 14px;
    border-radius: 999px;
    overflow: hidden;
    background: #eee;
    margin-bottom: 14px;
}

.progress-bar .progress {
    height: 100%;
    background: #9AA091;
    width: 0%;
    transition: width 0.4s ease;
}

/* =====================================================
   BOTTONE CONTRIBUISCI
===================================================== */
.wedding-contribuisci-btn {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    letter-spacing: 2px;
    border-radius: 30px;
    background: #9AA091;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.wedding-contribuisci-btn:hover {
    opacity: 0.85;
    background: #9AA091;
}


/* =====================================================
   POPUP OVERLAY
===================================================== */
#wedding-payment-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none; /* IMPORTANTISSIMO */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

#wedding-payment-modal h2 {
    font-size: 22px;
}

/* =====================================================
   POPUP BOX
===================================================== */
#wedding-payment-modal > div {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 520px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    animation: weddingFadeIn 0.25s ease;
}

@keyframes weddingFadeIn {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

/* =====================================================
   CLOSE BUTTON
===================================================== */
#wedding-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    opacity: 0.6;
}

#wedding-modal-close:hover {
    opacity: 1;
}

/* =====================================================
   METODI PAGAMENTO (VERTICALI)
===================================================== */
#wedding-method-container {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wedding-method-btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #f7f7f7;
    cursor: pointer;
    margin-bottom: 12px;
}

.wedding-method-btn:hover {
    background: #ececec;
}

/* =====================================================
   STRIPE CARD
===================================================== */
#card-element {
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    margin-top: 10px;
}

#card-element.StripeElement--focus {
    border-color: #9AA091;
}

/* =====================================================
   ERRORI
===================================================== */
#card-errors,
.wedding-payment-error {
    color: #d9534f;
    font-size: 14px;
    margin-top: 6px;
}

/* =====================================================
   BOTTONI PAGAMENTO
===================================================== */
#wedding-confirm-card,
.wedding-pay-btn {
    width: 90%;
    margin-top: 12px;
    padding: 14px;
    margin-left: 5%;
    border-radius: 30px;
    background: #9AA091;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

#wedding-confirm-card:hover,
.wedding-pay-btn:hover {
    opacity: 0.85;
}

.wedding-cancel-btn {
	border-color: #9AA091;
    margin-top: 20px;
    align-items: center;
    width: 90%;
    padding: 10px;
    margin-left: 5%;
    margin-bottom: 15px 
    }
    
.wedding-epc-qr {
    display: block;
    margin: 15px auto;
    width: 220px;
    height: 220px;
}

.wedding-bank-details {
    font-size: 14px;
    margin: 10px 0;
    text-align: center;
}

.wedding-copy-bank {
    width: 100%;
    padding: 12px;
    border-radius: 999px;
    background: #9AA091;
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.wedding-copy-bank:hover {
    opacity: 0.9;
}

.wedding-note {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
    text-align: center;
}

.wedding-box-front {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* spinge il blocco in basso */
.wedding-box-bottom {
    margin-top: auto;
}

/* card base */
.wedding-box {
    position: relative;
}

/* overlay cliccabile */
.wedding-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: none;
}

/* bottone sempre sopra */
.wedding-contribuisci-btn {
    position: relative;
    z-index: 2;
}

/* SOLO MOBILE: card intera cliccabile */
@media (max-width: 600px) {
    .wedding-card-overlay {
        display: block;
    }
}


/* =====================================================
   POPUP DONAZIONE
===================================================== */
#wedding-donation-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

#wedding-donation-popup.active {
    display: flex;
    animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.wedding-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
}

.wedding-popup-container {
    position: relative;
    background: white;
    border-radius: 30px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh; /* Mantieni questa per mobile */
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.4s ease;
}

@media (min-width: 768px) {
    .wedding-popup-container {
        max-height: 70vh; /* Riduci da 90vh a 70vh su desktop */
    }
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.wedding-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 15px;
    border-bottom: 1px solid #eee;
}

.wedding-popup-header h2 {
    margin: 0;
    font-size: 22px;
    color: #333;
}

.wedding-popup-header h2 .experience-title {
    color: #9AA091;
}

.wedding-popup-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 5px;
    line-height: 1;
    transition: color 0.2s;
}

.wedding-popup-close:hover {
    color: #333;
}

.wedding-popup-content {
    padding: 25px 30px 30px;
}

/* =====================================================
   FORM STYLES
===================================================== */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 15px;
}

.wedding-amount,
.wedding-nome,
.wedding-messaggio {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.wedding-amount:focus,
.wedding-nome:focus,
.wedding-messaggio:focus {
    border-color: #9AA091;
    outline: none;
    box-shadow: 0 0 0 3px rgba(154, 160, 145, 0.1);
}

.wedding-messaggio {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* =====================================================
   METODI DI PAGAMENTO
===================================================== */
/* =====================================================
   NUOVO LAYOUT PER METODI PAGAMENTO
===================================================== */

/* Contenitore principale */
.payment-methods-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

/* Opzione metodo di pagamento */
.payment-method-option {
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    background: #f9f9f9;
    transition: all 0.3s;
    margin-bottom: 0;
}

/* Opzione attiva */
.payment-method-option.active {
    border-color: #9AA091;
    background: rgba(154, 160, 145, 0.05);
    box-shadow: 0 0 0 1px #9AA091;
    margin-bottom: 0;
}

/* Label dentro l'opzione */
.payment-method-option label {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    cursor: pointer;
    margin: 0;
}

/* Nascondi il radio button */
.payment-method-option input[type="radio"] {
    display: none;
}

/* Sezione di pagamento (sotto il radio) */
.payment-section {
    border: none;
    border-radius: 30px;
    padding: 25px;
    background: #f7f7f7;
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: center;
    display: none; /* Nascosta di default */
}

/* Sezione attiva */
.payment-section.active {
    display: block;
    border-radius: 30px;
}

/* Specifiche per le sezioni (ora uniformate allo stile Satispay) */
.satispay-collect-section {
    background: linear-gradient(135deg, rgba(235, 79, 39, 0.12) 0%, rgba(235, 79, 39, 0.04) 100%);
}

.paypal-collect-section {
    background: linear-gradient(135deg, rgba(0, 112, 186, 0.12) 0%, rgba(0, 112, 186, 0.04) 100%);
}

.revolut-section {
    background: linear-gradient(135deg, rgba(127, 132, 246, 0.12) 0%, rgba(127, 132, 246, 0.04) 100%);
}

.bank-transfer-section,
.stripe-payment-section {
    background: #f7f7f7;
}

/* Icone */
.payment-method-icon {
    font-size: 28px;
    margin-right: 18px;
    width: 40px;
    text-align: center;
}

.payment-method-info {
    flex: 1;
}

.payment-method-info strong {
    display: block;
    font-size: 16px;
    margin-bottom: -2px;
    color: #333;
}

.payment-method-info small {
    color: #666;
    font-size: 13px;
}

/* Hover */
.payment-method-option:not(.active):hover {
    border-color: #ccc;
    background: #f0f0f0;
}
/* =====================================================
   SEZIONE BONIFICO
===================================================== */

.bank-info h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 17px;
}

.bank-details {
    background: white;
    padding: 18px;
    border-radius: 30px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.bank-row {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.bank-label {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bank-value {
    font-size: 15px;
    color: #333;
    word-break: normal;
    overflow-wrap: break-word;
}

.bank-copy-btn {
    background: #f0f0f0;
    color: #444;
    border: none;
    border-radius: 999px;
    padding: 6px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.bank-copy-btn:hover {
    background: #e6e6e6;
}

.bank-confirm-note {
    font-size: 13px;
    color: #666;
    margin: 6px 0 12px;
    line-height: 1.2;
    text-align: center;
}

.bank-confirm-btn {
    background: #9AA091;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 600;
}

.bank-confirm-actions {
    text-align: center;
}

.bank-missing-note {
    font-size: 13px;
    color: #666;
    margin: 8px 0 0;
    text-align: center;
}

.bank-confirm-btn:hover {
    background: #8a9480;
}

.wedding-copy-bank {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    background: #9AA091;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.3s;
}

.wedding-copy-bank:hover {
    opacity: 0.9;
}

.copy-feedback {
    text-align: center;
    margin-top: 15px;
    padding: 12px;
    background: #d4edda;
    color: #155724;
    border-radius: 30px;
    font-size: 14px;
}

/* =====================================================
   SEZIONE STRIPE
===================================================== */
#payment-element-container {
    margin-top: 25px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
}

#payment-element {
    margin-bottom: 20px;
}

#wedding-confirm-payment {
    width: 100%;
    padding: 16px;
    font-size: 17px;
    background: #9AA091;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.3s;
}

#wedding-confirm-payment:hover {
    opacity: 0.9;
}

#wedding-confirm-payment:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =====================================================
   PULSANTI AZIONE
===================================================== */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.wedding-submit-btn {
    flex: 2;
    padding: 18px;
    font-size: 17px;
    background: #9AA091;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.wedding-submit-btn:hover {
    background: #8a9480;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(154, 160, 145, 0.3);
}

.wedding-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.wedding-cancel-btn {
   
    background: #f0f0f0;
    color: #666;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.wedding-cancel-btn:hover {
    background: #e0e0e0;
}

/* =====================================================
   MESSAGGI
===================================================== */
.wedding-payment-messages {
    margin-top: 20px;
}

.wedding-message {
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 15px;
}

.wedding-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wedding-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wedding-message-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* =====================================================
   RESPONSIVE POPUP
===================================================== */
@media (max-width: 600px) {
    .wedding-popup-container {
        max-width: 95%;
        max-height: 85vh;
        border-radius: 16px;
    }
    
    .wedding-popup-header {
        padding: 20px 20px 15px;
    }
    
    .wedding-popup-header h2 {
        font-size: 19px;
    }
    
    .wedding-popup-content {
        padding: 20px;
    }
    
    .payment-method-option label {
        padding: 15px;
    }
    
    .payment-method-icon {
        font-size: 24px;
        margin-right: 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    

}

/* =====================================================
   STILE STRIPE ELEMENT
===================================================== */
.StripeElement {
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: white;
}

.StripeElement--focus {
    border-color: #9AA091;
    box-shadow: 0 0 0 3px rgba(154, 160, 145, 0.1);
}

.StripeElement--invalid {
    border-color: #fa755a;
}

/* =====================================================
   RIMUOVI IL VECCHIO CSS PER .wedding-box-back
   (se non serve pi\u00f9)
===================================================== */
.wedding-box-back {
    display: none !important;
}


/* Stile per la sezione Satispay Colletta */
.collect-info h4 {
    color: #00C483;
    margin-top: 0;
    font-size: 20px;
}

.collect-info p {
    margin: 10px 0;
    color: #333;
}

.satispay-open-btn,
.paypal-open-btn,
.revolut-open-btn {
    display: inline-block;
    padding: 16px 26px;
    font-size: 16px;
    color: white;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin: 14px 0;
    transition: all 0.3s;
}


.satispay-open-btn {
    background: #eb4f27;
}

.satispay-open-btn:hover {
    background: #eb4f27;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 196, 131, 0.3);
}

.collect-note {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
    display: inline-block;
}

.collect-note small {
    color: #666;
    line-height: 1.6;
}

/* Per le sezioni di pagamento - assicurati che siano nascoste di default */
.satispay-collect-section,
.bank-transfer-section,
.stripe-payment-section {
    display: none; /* Tutte nascoste di default */
}

/* Satispay visibile solo se selezionato */
#wedding-donation-popup input#payment-satispay-collect:checked ~ .satispay-collect-section {
    display: block;
}

/* Bonifico visibile solo se selezionato */
#wedding-donation-popup input#payment-bank:checked ~ .bank-transfer-section {
    display: block;
}

/* Stripe visibile solo se selezionato */
#wedding-donation-popup input#payment-stripe:checked ~ .stripe-payment-section {
    display: block;
}

/* =====================================================
   FIX PER MOBILE - RESPONSIVE
===================================================== */
@media (max-width: 600px) {
    /* Assicurati che le sezioni siano nascoste di default su mobile */
    .payment-section {
        display: none !important;
    }
    
    .payment-section.active {
        display: block !important;
    }
    
    /* Migliora il layout su schermi piccoli */
    .payment-method-option label {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .payment-method-icon {
        font-size: 24px;
        margin-right: 15px;
        margin-bottom: 5px;
    }
    
    .payment-section {
        padding: 20px;
    }
    
    /* Assicurati che il bordo inferiore sia visibile */
    .payment-method-option.active {
        border-bottom: none;
    }
    
   
}


/* wedding-frontend.css */
/* AGGIUNGI QUESTE REGOLE CSS */

/* Stile per il nuovo pulsante "Dona" */
.wedding-proceed-btn {
    width: 100%;
    padding: 18px;
    font-size: 18px;
    background: #9AA091;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 10px;
    margin-bottom: 30px; /* Aggiungi spazio sotto */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wedding-proceed-btn:hover {
    background: #8a9480;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(154, 160, 145, 0.3);
}

.wedding-proceed-btn:active {
    transform: translateY(0);
}

/* Aggiungi una classe per evidenziare la sezione */
.payment-methods-section.highlighted {
    animation: highlightSection 2s ease;
    position: relative;
}

@keyframes highlightSection {
    0% {
        box-shadow: 0 0 0 0 rgba(154, 160, 145, 0);
        background-color: transparent;
    }
    25% {
        box-shadow: 0 0 0 10px rgba(154, 160, 145, 0.3);
        background-color: rgba(154, 160, 145, 0.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(154, 160, 145, 0);
        background-color: transparent;
    }
}

/* Responsive */
@media (max-width: 600px) {
    .wedding-proceed-btn {
        padding: 16px;
        font-size: 16px;
    }
}

/* Stile per la sezione metodi di pagamento quando evidenziata */
#payment-methods-section {
    transition: box-shadow 0.3s ease;
}


/* wedding-frontend.css */
/* AGGIUNGI QUESTE REGOLE CSS */

/* Stile per i messaggi di validazione */
.wedding-validation-messages {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stile specifico per i messaggi di errore nella validazione */
.wedding-validation-messages .wedding-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
    animation: shake 0.5s ease;
}

/* Animazione shake per errori */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Assicurati che il pulsante Dona abbia spazio sotto */
.wedding-proceed-btn {
    margin-bottom: 5px; /* Ridotto per lasciare spazio ai messaggi */
}

/* Aggiungi al tuo wedding-frontend.css */
/* QR Code */
#bank-qr-code {
    margin: 20px auto;
    padding: 15px;
    background: white;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bank-qr-section {
    display: none;
}

#bank-qr-code img {
    width: 150px;
    height: 150px;
}

.qr-loading, .qr-error {
    padding: 30px;
    text-align: center;
    color: #666;
}

.qr-instruction {
    margin-top: 10px;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

.qr-sub {
    font-weight: 400;
    color: #666;
    font-size: 12px;
}

.qr-secondary {
    margin: 6px 0 10px;
    color: #666;
    font-size: 13px;
    line-height: 1.35;
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    .bank-app-button {
        width: 100%;
        margin-bottom: 10px;
        text-align: left;
        padding: 15px;
    }
    
    .bank-app-button span::before {
        margin-right: 10px;
    }

    .bank-label {
        font-size: 12px;
    }

    .bank-value {
        font-size: 14px;
    }

    .bank-confirm-note {
        font-size: 12px;
    }

    .copy-feedback {
        font-size: 12px;
        padding: 10px;
    }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
    
    .desktop-only {
        display: block !important;
    }
}

/* =====================================================
   PAYPAL BUTTON (frontend popup)
===================================================== */
#wedding-donation-popup .paypal-open-btn {
    background: #0070ba !important;
    border-color: #0070ba !important;
    color: #fff !important;
    text-decoration: none;
}
#wedding-donation-popup .paypal-open-btn:hover {
    background: #003087 !important;
    border-color: #003087 !important;
    color: #fff !important;
}

#wedding-donation-popup .revolut-open-btn {
    background: #191C1F !important;
    border-color: #191C1F !important;
    color: #fff !important;
    text-decoration: none;
}
#wedding-donation-popup .revolut-open-btn:hover {
    background: #0f1113 !important;
    border-color: #0f1113 !important;
    color: #fff !important;
}
.bank-transfer-section {
    text-align: left;
}

.bank-transfer-section .bank-details {
    text-align: left;
}
.collect-actions p {
    font-weight: 400;
    color: #666;
    line-height: 1.45;
    margin-top: 8px;
}
.bank-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.copy-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E");
}
.bank-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bank-field-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.bank-confirm-success {
    margin-top: 12px;
    text-align: center;
}

.bank-thanks {
    margin: 8px 0 10px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.bank-home-btn {
    background: #9AA091;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    text-decoration: none;
    display: inline-block;
}

.bank-home-btn:hover {
    background: #8a9480;
    color: #fff;
}
