.cdm-methods{display:flex;gap:15px;flex-wrap:wrap}.cdm,.cdm *{box-sizing:border-box}.cdm-open,.cdm-submit{background:#BF0A30!important;border:1px solid #BF0A30!important;color:#fff!important;border-radius:10px;padding:14px 26px;cursor:pointer;font:inherit;font-weight:700;transition:.2s}.cdm-open:hover,.cdm-submit:hover{background:#690016!important;border-color:#690016!important}.cdm-modal[hidden]{display:none!important}.cdm-modal{position:fixed;inset:0;z-index:999999;display:flex;justify-content:center;align-items:center;padding:20px}.cdm-overlay{position:absolute;inset:0;background:rgba(14,15,20,.72)}.cdm-dialog{position:relative;width:min(100%,650px);max-height:min(92dvh,900px);overflow:auto;background:#fff;border-radius:18px;padding:32px;box-shadow:0 22px 75px #0004;color:#202026;direction:inherit;text-align:start}.cdm-dialog h2{font-size:27px;line-height:1.4;margin:0 40px 12px 0;color:#18181c}.cdm[dir=rtl] .cdm-dialog h2{margin:0 0 12px 40px}.cdm-description{color:#56565e;line-height:1.8;margin-bottom:22px}.cdm-close{position:absolute;top:14px;right:16px;border:0;background:#f3f3f5;border-radius:50%;width:38px;height:38px;font-size:26px;line-height:1;cursor:pointer}.cdm[dir=rtl] .cdm-close{right:auto;left:16px}.cdm-form{display:grid;gap:15px}.cdm-form label{display:block;min-width:0;font-weight:600;font-size:14px;color:#24232a}.cdm-form label>span{display:block;margin-bottom:7px}.cdm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cdm-form input:not([type=file]),.cdm-form textarea,.cdm-form select{display:block;width:100%;min-width:0;min-height:49px;padding:10px 13px;border:1px solid #d8d8df;border-radius:9px;background:#fff;color:#222;font:inherit;box-shadow:none}.cdm-form input:focus,.cdm-form textarea:focus,.cdm-form select:focus{outline:2px solid #BF0A30;outline-offset:1px}.cdm-form input[type=file]{display:block;width:100%;border:1px dashed #ccc;border-radius:9px;padding:12px;background:#fafafa;font-weight:400}.cdm-phone{display:flex;direction:ltr;width:100%;border:1px solid #d8d8df;border-radius:9px;overflow:hidden}.cdm-phone select{flex:0 0 130px;width:130px!important;border:0!important;border-right:1px solid #d8d8df!important;border-radius:0!important;background:#f8f8fa!important;font-size:13px!important}.cdm-phone input{flex:1;min-width:0;border:0!important;border-radius:0!important;direction:ltr;text-align:left}.cdm[dir=rtl] .cdm-phone{direction:rtl}.cdm[dir=rtl] .cdm-phone select{border-right:0!important;border-left:1px solid #d8d8df!important}.cdm[dir=rtl] .cdm-phone input{text-align:right}.cdm-submit{width:100%;margin-top:3px}.cdm-submit:disabled{opacity:.65;cursor:wait}.cdm-message{font-size:14px;line-height:1.6}.cdm-ok{color:#12763b}.cdm-error{color:#b00020}body.cdm-modal-open{overflow:hidden}@media(max-width:600px){.cdm-modal{padding:8px}.cdm-dialog{padding:22px 16px;max-height:96dvh;border-radius:14px}.cdm-grid{grid-template-columns:1fr}.cdm-dialog h2{font-size:22px}.cdm-phone select{flex-basis:112px;width:112px!important}.cdm-open{width:100%}.cdm-methods{flex-direction:column}}

.cdm-hp{position:absolute!important;left:-9999px!important;opacity:0!important;pointer-events:none!important}

/* Submission success overlay inside the donation dialog */
.cdm-dialog{isolation:isolate}.cdm-result[hidden]{display:none!important}.cdm-result{position:absolute;inset:0;z-index:5;background:rgba(255,255,255,.97);display:flex;align-items:center;justify-content:center;padding:24px;border-radius:18px;text-align:center;direction:inherit}.cdm-result-card{width:min(100%,440px);display:flex;flex-direction:column;align-items:center;gap:16px}.cdm-result-icon{display:grid;place-items:center;background:#e7f7ed;color:#137a40;border-radius:50%;width:72px;height:72px;font-size:40px;font-weight:700}.cdm-result-title{font-size:24px;color:#19251e;margin:0}.cdm-result-message{font-size:16px;line-height:1.8;color:#454545;margin:0;overflow-wrap:anywhere}.cdm-result-close{background:#BF0A30!important;color:#fff!important;border:0!important;border-radius:10px;padding:13px 30px;cursor:pointer;font-weight:700}.cdm-result-close:hover{background:#690016!important}

/* v1.4.0: RTL/LTR modal viewport containment and theme-style isolation */
html body .cdm-modal,
html body .cdm-modal *{box-sizing:border-box!important}
html body .cdm-modal{position:fixed!important;inset:0!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:clamp(8px,2.5vw,20px)!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;transform:none!important;direction:ltr!important}
html body .cdm-modal[hidden]{display:none!important}
html body .cdm-modal .cdm-dialog{position:relative!important;display:block!important;flex:0 1 650px!important;width:100%!important;max-width:650px!important;min-width:0!important;max-height:calc(100dvh - 20px)!important;max-height:calc(100dvh - 2 * clamp(8px,2.5vw,20px))!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;margin:0!important;transform:none!important;direction:ltr!important;text-align:left!important;scrollbar-width:thin}
html body .cdm[dir="rtl"] .cdm-modal .cdm-dialog{direction:rtl!important;text-align:right!important}
html body .cdm-modal .cdm-dialog > *,html body .cdm-modal .cdm-form,html body .cdm-modal .cdm-grid,html body .cdm-modal .cdm-form label{max-width:100%!important;min-width:0!important}
html body .cdm-modal .cdm-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important}
html body .cdm-modal .cdm-form input,html body .cdm-modal .cdm-form textarea,html body .cdm-modal .cdm-form select{max-width:100%!important;min-width:0!important;margin-inline:0!important}
html body .cdm-modal .cdm-form input[type="file"]{width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;font-size:13px!important}
html body .cdm-modal .cdm-phone{max-width:100%!important;min-width:0!important;display:flex!important;flex-wrap:nowrap!important}
html body .cdm-modal .cdm-phone select{flex:0 0 130px!important;min-width:0!important;max-width:42%!important}
html body .cdm-modal .cdm-phone input{flex:1 1 0!important;width:1%!important;min-width:0!important}
html body .cdm-modal .cdm-close{z-index:2!important;display:grid!important;place-items:center!important;padding:0!important;margin:0!important;min-width:38px!important;min-height:38px!important;line-height:1!important}
html body .cdm[dir="rtl"] .cdm-modal .cdm-close{left:16px!important;right:auto!important}
html body .cdm:not([dir="rtl"]) .cdm-modal .cdm-close{right:16px!important;left:auto!important}
html body .cdm-modal .cdm-dialog h2{overflow-wrap:anywhere!important}
@media(max-width:600px){
 html body .cdm-modal{padding:8px!important}
 html body .cdm-modal .cdm-dialog{max-height:calc(100dvh - 16px)!important;padding:54px 16px 20px!important;border-radius:14px!important}
 html body .cdm-modal .cdm-grid{grid-template-columns:minmax(0,1fr)!important}
 html body .cdm-modal .cdm-phone select{flex-basis:112px!important}
 html body .cdm-modal .cdm-dialog h2{margin:0 0 12px!important}
}
