.donate-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: #00000080;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1.5em;
}

.donate-overlay.open {
    display: flex;
}

.donate-modal {
    background-color: var(--white-color);
    border-radius: 15px;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2em;
    position: relative;
}

.donate-close {
    position: absolute;
    top: 1em;
    right: 1em;
    background: none;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-color-light);
}

.donate-close:hover {
    color: var(--primary-color);
}

.donate-modal h2 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.2em;
}

.donate-campaign {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.2em;
}

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

.donate-form label {
    font-size: 0.85rem;
    margin: 0.8em 0 0.3em;
}

.donate-form input {
    border: 1px solid #cfcfcf;
    padding: 0.9em 1em;
    border-radius: 5px;
    background-color: #f0f0f050;
    font-family: inherit;
}

.donate-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.donate-amounts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6em;
    margin-top: 0.8em;
}

.donate-amount-btn {
    border: 2px solid #cfcfcf;
    background-color: transparent;
    color: var(--text-color);
    padding: 0.8em;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
}

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

.donate-amount-btn.selected {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white-color);
}

.donate-form button[type="submit"] {
    margin-top: 1.5em;
    cursor: pointer;
    font-family: inherit;
}

.donate-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-status {
    min-height: 1.2em;
    margin: 1em 0 0;
    font-size: 0.85rem;
}

.form-status.success {
    color: #1b8a3d;
}

.form-status.error {
    color: var(--primary-color);
}

.form-status.pending {
    color: var(--text-color-light);
}

.form-status.info {
    color: var(--text-color-light);
}
