/* Hero Section */
.donate-hero {
    background: var(--gradient);
    padding: 100px 20px 60px;
    text-align: center;
    color: var(--text-light);
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Donate Options Section */
.donate-options-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.donate-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.donate-option {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.donate-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.option-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.option-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.option-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.zelle-info {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.zelle-info strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.zelle-email {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: monospace;
    padding: 0.5rem;
    border-radius: 4px;
    margin: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    background: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background: var(--white);
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    margin: 20px;
}

.donate-modal-content {
    max-width: 600px;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--text-dark);
}

/* Form Styles */
.donation-form {
    padding: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label,
.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-input,
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-input:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group select {
    background: var(--white);
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Amount Selection */
.amount-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.amount-btn {
    padding: 0.75rem;
    border: 2px solid #ddd;
    background: var(--white);
    color: var(--text-dark);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.amount-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.amount-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

.amount-input {
    margin-top: 1rem;
}

/* Toggle Styles */
.toggle-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.toggle-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.toggle-label {
    color: var(--text-dark);
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 0;
    line-height: 1.5;
}

.fee-info {
    background: var(--bg-light);
    border-radius: 6px;
    padding: 1rem;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.fee-info p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.fee-info p:last-child {
    margin-bottom: 0;
}

/* Card Element */
.card-element {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: var(--white);
    transition: border-color 0.3s ease;
}

.card-element:focus-within {
    border-color: var(--primary-color);
}

.card-errors {
    color: #dc2626;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.form-note {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* Loading State */
.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

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

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

/* Modal Body & Footer */
.modal-body {
    padding: 2rem;
    text-align: center;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #d4edda;
    color: #155724;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    font-weight: bold;
}

.error-icon {
    width: 60px;
    height: 60px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    font-weight: bold;
}

.modal-body h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.modal-body p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.response-time {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #666;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    text-align: center;
}

/* Powered By Section */
.powered-by-section {
    padding: 40px 0;
    background: var(--white);
    text-align: center;
}

.powered-by-image {
    max-width: 200px;
    height: auto;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .donate-options-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .donate-option {
        padding: 2rem 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .amount-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-content {
        margin: 10px;
        max-height: 95vh;
    }

    .donation-form {
        padding: 1rem;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-footer {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .donate-hero {
        padding: 80px 20px 40px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .donate-options-section {
        padding: 60px 0;
    }

    .donate-option {
        padding: 1.5rem 1rem;
    }

    .option-content h3 {
        font-size: 1.25rem;
    }

    .amount-buttons {
        grid-template-columns: 1fr;
    }

    .btn-large {
        padding: 12px 30px;
        font-size: 1rem;
    }
}