/* Oudolf Donations form — frosted-glass card, brand green #18864a */

.ogd-scene, .ogd-scene * { box-sizing: border-box; }

/* Ambient backdrop: soft light-through-foliage gradients so the glass has depth */
.ogd-scene {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    padding: 2.2em 1.2em;
    isolation: isolate;
}
.ogd-scene::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 32px;
    background:
        radial-gradient(42% 38% at 18% 12%, rgba(24, 134, 74, .20), transparent 70%),
        radial-gradient(50% 42% at 85% 20%, rgba(140, 195, 108, .22), transparent 72%),
        radial-gradient(55% 48% at 50% 95%, rgba(24, 134, 74, .14), transparent 75%),
        linear-gradient(160deg, #eef4ef 0%, #e6efe8 100%);
}

.ogd-card {
    max-width: 460px;
    margin: 0 auto;
    background: rgba(255, 255, 255, .58);
    -webkit-backdrop-filter: blur(26px) saturate(1.5);
    backdrop-filter: blur(26px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, .70);
    border-radius: 24px;
    box-shadow:
        0 24px 60px rgba(14, 62, 36, .16),
        inset 0 1px 0 rgba(255, 255, 255, .85);
    overflow: hidden;
    font-size: 16px;
    line-height: 1.45;
    color: #1c261f;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
@supports not (backdrop-filter: blur(1px)) {
    .ogd-card { background: rgba(255, 255, 255, .92); }
}

.ogd-card-photo img { display: block; width: 100%; height: 160px; object-fit: cover; }

.ogd-card-band {
    background: linear-gradient(135deg, rgba(22, 122, 68, .93) 0%, rgba(13, 92, 49, .90) 100%);
    color: #fff;
    padding: 1.35em 1.6em 1.45em;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
}
.ogd-card .ogd-band-heading {
    margin: 0 0 .3em;
    color: #fff;
    font-size: 1.4em;
    font-weight: 800;
    letter-spacing: -.015em;
}
.ogd-band-quote {
    margin: 0;
    font-size: .9em;
    font-style: italic;
    color: rgba(255, 255, 255, .9);
}

.ogd-form { padding: 1.5em 1.6em 1.6em; }
.ogd-form fieldset { border: 0; padding: 0; margin: 0 0 1.4em; min-width: 0; }

.ogd-section-label {
    display: block;
    font-size: .74em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #58685e;
    margin-bottom: .9em;
    padding: 0;
}

.ogd-preset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55em; margin-bottom: .55em; }
.ogd-form .ogd-preset {
    padding: .68em .2em;
    border: 1px solid rgba(20, 70, 42, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .45);
    color: #223228;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    text-shadow: none;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: all .13s ease;
}
.ogd-form .ogd-preset:hover { background: rgba(255, 255, 255, .8); border-color: #18864a; color: #136b3b; }
.ogd-form .ogd-preset.is-selected, .ogd-form .ogd-preset.is-selected:hover {
    background: #18864a;
    color: #fff;
    border-color: rgba(255, 255, 255, .5);
    box-shadow: 0 6px 18px rgba(24, 134, 74, .38), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.ogd-custom-wrap { position: relative; }
.ogd-currency { position: absolute; left: .95em; top: 50%; transform: translateY(-50%); color: #58685e; pointer-events: none; font-weight: 600; }
.ogd-custom-wrap #ogd-custom-amount { padding-left: 2em; }

.ogd-form input[type="text"], .ogd-form input[type="email"] {
    width: 100%;
    padding: .72em .95em;
    border: 1px solid rgba(20, 70, 42, .14);
    border-radius: 13px;
    background: rgba(255, 255, 255, .5);
    font-size: 1em;
    color: #1c261f;
    transition: border-color .13s ease, background .13s ease, box-shadow .13s ease;
}
.ogd-form input[type="text"]::placeholder, .ogd-form input[type="email"]::placeholder { color: #8a988f; }
.ogd-form input[type="text"]:focus, .ogd-form input[type="email"]:focus {
    outline: none;
    border-color: #18864a;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 0 0 3px rgba(24, 134, 74, .14);
}

.ogd-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75em; }
.ogd-form label { display: block; margin-bottom: .85em; }
.ogd-form label span { display: block; font-size: .82em; font-weight: 600; color: #3d4c43; margin-bottom: .32em; }
.ogd-form label span em { font-style: normal; font-weight: 400; color: #8a988f; }

.ogd-hp { position: absolute !important; left: -9999px !important; height: 1px; width: 1px; overflow: hidden; }

.ogd-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.05em 0 0;
    padding: .9em 1.1em;
    background: rgba(24, 134, 74, .10);
    border: 1px solid rgba(24, 134, 74, .18);
    border-radius: 14px;
    font-size: 1em;
}
.ogd-summary span { color: #3d4c43; font-weight: 600; }
.ogd-summary strong { font-size: 1.25em; font-weight: 800; color: #136b3b; font-variant-numeric: tabular-nums; }

.ogd-button {
    display: block;
    width: 100%;
    padding: .92em;
    margin-top: 1.05em;
    background: linear-gradient(160deg, #1c9856 0%, #136b3b 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    font-size: 1.05em;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(20, 105, 58, .35), inset 0 1px 0 rgba(255, 255, 255, .3);
    transition: filter .13s ease, transform .09s ease;
}
.ogd-button:hover { filter: brightness(1.07); color: #fff; }
.ogd-button:active { transform: scale(.99); }
.ogd-button:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }

#ogd-error { margin-top: 1em; padding: .8em 1em; border-radius: 13px; background: rgba(253, 236, 234, .9); border: 1px solid rgba(183, 28, 28, .18); color: #b71c1c; font-size: .95em; }
#ogd-payment-element { margin: .4em 0 0; }
.ogd-restart { text-align: center; margin: .9em 0 0; font-size: .88em; }
.ogd-restart a { color: #58685e; text-decoration: none; }
.ogd-restart a:hover { color: #136b3b; }

.ogd-secure { text-align: center; margin: 1.15em 0 0; font-size: .76em; color: #7c8a81; }

@media (prefers-reduced-motion: reduce) {
    .ogd-form .ogd-preset, .ogd-form input, .ogd-button { transition: none; }
}

@media (max-width: 480px) {
    .ogd-scene { padding: 1.2em .5em; }
    .ogd-card { border-radius: 20px; }
    .ogd-form { padding: 1.2em 1.1em 1.3em; }
    .ogd-preset-grid { gap: .45em; }
    .ogd-row { grid-template-columns: 1fr; gap: 0; }
}
