/* Masjid Donation Widget Styles */

.masjid-donation-widget {
    max-width: 480px;
    margin: 0 auto;
    padding: 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Header */
.masjid-donation-header {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #0d5c4c 0%, #00a896 100%);
    border-radius: 12px;
    margin-bottom: 24px;
}

.masjid-donation-icon {
    color: #ffffff;
    margin-bottom: 12px;
}

.masjid-donation-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.masjid-donation-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Labels */
.masjid-donation-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

/* Amount Selection */
.masjid-donation-amounts {
    margin-bottom: 24px;
}

.masjid-amount-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.masjid-monthly-amounts {
    margin-bottom: 24px;
}

.masjid-monthly-chip {
    text-decoration: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.masjid-amount-chip {
    flex: 1;
    min-width: 60px;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    background: #f5f5f5;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.masjid-amount-chip:hover {
    border-color: #0d5c4c;
    background: #e8f5e9;
}

.masjid-amount-chip.active {
    border-color: #0d5c4c;
    background: #0d5c4c;
    color: #ffffff;
}

.masjid-custom-amount {
    position: relative;
}

.masjid-custom-amount input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.masjid-custom-amount input:focus {
    outline: none;
    border-color: #0d5c4c;
}

.masjid-custom-amount .masjid-currency {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-weight: 600;
}

/* Donation Type Selection */
.masjid-donation-type {
    margin-bottom: 24px;
}

.masjid-donation-type-options {
    display: flex;
    gap: 12px;
}

.masjid-donation-type-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 8px;
}

.masjid-donation-type-option:hover {
    border-color: #0d5c4c;
    background: rgba(13, 92, 76, 0.05);
}

.masjid-donation-type-option.active {
    border-color: #0d5c4c;
    background: rgba(13, 92, 76, 0.1);
}

.masjid-donation-type-option svg {
    color: #666;
    transition: color 0.2s ease;
}

.masjid-donation-type-option.active svg {
    color: #0d5c4c;
}

.masjid-donation-type-option span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    transition: color 0.2s ease;
}

.masjid-donation-type-option.active span {
    color: #0d5c4c;
}

/* Payment Methods */
.masjid-payment-methods {
    margin-bottom: 24px;
}

.masjid-payment-option {
    display: flex;
    align-items: center;
    padding: 16px;
    margin-bottom: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.masjid-payment-option:hover {
    border-color: #0d5c4c;
    background: rgba(13, 92, 76, 0.05);
}

.masjid-payment-option.active {
    border-color: #0d5c4c;
    background: rgba(13, 92, 76, 0.1);
}

.masjid-payment-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    margin-right: 16px;
}

.masjid-payment-option.active .masjid-payment-icon {
    color: #0d5c4c;
}

.masjid-payment-info {
    flex: 1;
}

.masjid-payment-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.masjid-payment-option.active .masjid-payment-title {
    color: #0d5c4c;
}

.masjid-payment-subtitle {
    display: block;
    font-size: 0.75rem;
    color: #666;
    margin-top: 2px;
}

.masjid-payment-check {
    color: #0d5c4c;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.masjid-payment-option.active .masjid-payment-check {
    opacity: 1;
}

/* Donate Button */
.masjid-donate-button {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #0d5c4c 0%, #00a896 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.masjid-donate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 92, 76, 0.3);
}

.masjid-donate-button:active {
    transform: translateY(0);
}

.masjid-donate-button-text,
.masjid-donate-button-amount {
    display: inline;
}

/* Bank Details */
.masjid-bank-details {
    margin-top: 24px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.masjid-qr-container {
    text-align: center;
    margin-bottom: 20px;
}

.masjid-qr-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
}

#masjid-qr-code {
    display: inline-block;
    padding: 16px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#masjid-qr-code canvas,
#masjid-qr-code img {
    display: block;
}

.masjid-qr-hint {
    font-size: 0.75rem;
    color: #666;
    margin: 12px 0 0 0;
}

.masjid-bank-info {
    background: #ffffff;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.masjid-bank-name {
    font-weight: 600;
    color: #0d5c4c;
    margin: 0 0 12px 0;
    text-align: center;
}

.masjid-iban-row,
.masjid-bic-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.masjid-iban-label,
.masjid-bic-label {
    font-weight: 600;
    color: #666;
    min-width: 45px;
}

.masjid-iban-value,
.masjid-bic-value {
    font-family: monospace;
    font-size: 0.9rem;
    color: #333;
}

.masjid-copy-btn {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #0d5c4c;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.masjid-copy-btn:hover {
    background: #0a4a3d;
}

.masjid-copy-btn.copied {
    background: #2e7d32;
}

/* Responsive */
@media (max-width: 480px) {
    .masjid-donation-widget {
        padding: 16px;
        border-radius: 12px;
    }

    .masjid-amount-chips {
        gap: 8px;
    }

    .masjid-amount-chip {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .masjid-payment-option {
        padding: 12px;
    }

    .masjid-iban-row {
        flex-wrap: wrap;
    }

    .masjid-copy-btn {
        margin-left: 0;
        margin-top: 8px;
        width: 100%;
        justify-content: center;
    }
}