/**
 * Spenden Page Styles
 * DKSB Euskirchen
 */

/* ========================================
   Hero Bild Position
   ======================================== */
.spenden-page .global-hero-image img {
    object-position: center 40%;
}

/* ========================================
   Highlight Box
   ======================================== */
.highlight-box {
    background: linear-gradient(135deg, #13612e 0%, #0a7d4a 50%, #00ae97 100%);
    color: white !important;
    padding: 3.5rem 3rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(19, 97, 46, 0.3);
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.12) 0%, transparent 50%);
    pointer-events: none;
}

.highlight-icon {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.highlight-text {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: white !important;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.highlight-sub {
    font-size: 1.15rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 400;
    line-height: 1.6;
}

/* ========================================
   Donation Boxes
   ======================================== */
.donation-box {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.donation-box-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.donation-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #0064ad 0%, #004d85 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.donation-box-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #0064ad;
}

/* Test Mode Notice */
.test-mode-notice {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.test-badge {
    background: #f59e0b;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.test-mode-notice p {
    margin: 0;
    font-size: 0.9rem;
    color: #92400e;
}

/* Amount Selection */
.donation-amounts {
    margin-bottom: 1.5rem;
}

.amount-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.amount-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.amount-btn {
    flex: 1;
    min-width: 70px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amount-btn:hover {
    background: #e5e7eb;
    border-color: #0064ad;
}

.amount-btn.active {
    background: #0064ad;
    border-color: #0064ad;
    color: white;
}

/* Custom Amount */
.custom-amount {
    margin-top: 1rem;
}

.custom-amount label {
    display: block;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.custom-amount-input {
    display: flex;
    align-items: center;
    max-width: 200px;
}

.custom-amount-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px 0 0 8px;
    outline: none;
    transition: border-color 0.2s ease;
}

.custom-amount-input input:focus {
    border-color: #0064ad;
}

.custom-amount-input .currency {
    padding: 0.75rem 1rem;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-left: none;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    color: #6b7280;
}

/* PayPal Button */
.paypal-donate-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #0070ba 0%, #003087 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.paypal-donate-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 112, 186, 0.4);
}

.paypal-donate-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    opacity: 0.7;
}

.paypal-donate-btn svg {
    fill: currentColor;
}

.paypal-info {
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* Bank Box */
.bank-details {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1.25rem;
}

.bank-detail-row {
    display: flex;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

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

.bank-label {
    font-weight: 600;
    color: #374151;
    min-width: 140px;
    flex-shrink: 0;
}

.bank-value {
    color: #1f2937;
}

.bank-value.iban {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Info Box */
.info-box {
    background: #eff6ff;
    border-left: 4px solid #0064ad;
}

.info-box h3 {
    color: #0064ad;
    margin-top: 0;
}

/* ========================================
   Help Options
   ======================================== */
.help-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.help-option {
    display: flex;
    gap: 1.5rem;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.help-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.help-option-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0064ad 0%, #004d85 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.help-option-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.help-option-content h3 {
    margin: 0 0 0.75rem 0;
    color: #0064ad;
    font-size: 1.15rem;
}

.help-option-content p {
    margin: 0.5rem 0;
    color: #4b5563;
    line-height: 1.6;
}

.help-option-content p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Page CTA
   ======================================== */
.page-cta {
    background: linear-gradient(135deg, #0064ad 0%, #004d85 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 2.5rem 0;
}

.page-cta h3 {
    color: white;
    margin-top: 0;
    font-size: 1.5rem;
}

.page-cta p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.page-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #0064ad;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Fade-in Animation
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .donation-box {
        padding: 1.25rem;
    }

    .donation-box-header {
        flex-direction: column;
        text-align: center;
    }

    .amount-buttons {
        gap: 0.5rem;
    }

    .amount-btn {
        min-width: calc(33.333% - 0.5rem);
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }

    .bank-detail-row {
        flex-direction: column;
        gap: 0.25rem;
    }

    .bank-label {
        min-width: auto;
        font-size: 0.85rem;
    }

    .help-option {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .help-option-icon {
        margin: 0 auto;
    }

    .test-mode-notice {
        flex-direction: column;
        text-align: center;
    }

    .highlight-text {
        font-size: 1.6rem;
    }

    .highlight-box {
        padding: 2.5rem 1.5rem;
    }

    .highlight-icon svg {
        width: 36px;
        height: 36px;
    }

    .highlight-sub {
        font-size: 1rem;
    }

    .page-cta {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .amount-btn {
        min-width: calc(50% - 0.5rem);
    }
}
