.afr-dialog{box-sizing:border-box;width:min(42rem,calc(100% - 2rem));max-height:calc(100dvh - 2rem);padding:0;border:1px solid #eadcdf;border-radius:24px;color:#282224;background:#fff;box-shadow:0 24px 90px #20161a40;font-family:Manrope,Arial,sans-serif;overflow:auto}
.afr-dialog *{box-sizing:border-box}.afr-dialog::backdrop{background:#20161a99;backdrop-filter:blur(4px)}
.afr-top{position:relative;padding:2rem 2rem 1.5rem;background:linear-gradient(135deg,#fcf7f8,#f5e9ed);border-bottom:1px solid #eadcdf}
.afr-kicker{margin:0 2.5rem .65rem 0!important;color:#a71520;font-size:.7rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.afr-dialog .afr-title{margin:0 2rem .7rem 0!important;font-family:"DM Serif Display",Georgia,serif;font-size:2.35rem;font-weight:400;line-height:1.14;color:#282224}
.afr-description{margin:0!important;max-width:34rem;color:#645a5e;font-size:.92rem;line-height:1.7}
.afr-dialog button{font-family:inherit;cursor:pointer}.afr-dialog .afr-close{position:absolute;top:1.1rem;right:1.1rem;display:grid;place-items:center;width:2.2rem;height:2.2rem;padding:0;border:1px solid #dfcdd3;border-radius:50%;background:#fff;color:#514249;font-size:1.5rem;line-height:1}
.afr-body{padding:.5rem 2rem 1.5rem}.afr-details{margin:0}.afr-row{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:1rem;padding:.95rem 0;border-bottom:1px solid #eee5e8;font-size:.9rem;line-height:1.6}.afr-row dt{font-weight:600;color:#70646a}.afr-row dd{margin:0;color:#282224;white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}
.afr-note{margin:1rem 0 0!important;font-size:.76rem;line-height:1.6;color:#7a6b71}.afr-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:.75rem;padding:1.1rem 2rem;background:#fff;border-top:1px solid #eadcdf}
.afr-dialog .afr-button{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:48px;padding:.8rem 1.25rem;border:1px solid #c01824;border-radius:9px;background:#c01824;color:#fff;font-size:.88rem;font-weight:700;line-height:1.45;text-decoration:none}.afr-dialog .afr-button:hover{background:#a5141e;color:#fff}.afr-dialog .afr-secondary{background:#fff;color:#5b3d46;border-color:#d9c9cf}.afr-dialog .afr-secondary:hover{background:#faf4f6;color:#282224}
.afr-dialog button:focus-visible{outline:3px solid #c01824;outline-offset:3px}.afr-dialog button:disabled{cursor:wait;opacity:.65}.afr-result{text-align:center;padding:2.5rem 2rem 2rem}.afr-result .afr-title{margin:1.2rem 0 .8rem!important;font-size:2.1rem}.afr-result .afr-description{margin-inline:auto!important}.afr-mark{display:block;width:80px;height:80px;margin:auto;color:#c01824;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.afr-mark circle{fill:#fcf0f2}.afr-success .afr-mark{animation:afr-pop .5s ease-out}.afr-success .afr-mark path{stroke-dasharray:40;stroke-dashoffset:40;animation:afr-draw .6s .15s ease forwards}.afr-spinner{width:56px;height:56px;margin:0 auto;border:4px solid #f1d7dd;border-top-color:#c01824;border-radius:50%;animation:afr-spin .8s linear infinite}
@keyframes afr-pop{from{transform:scale(.75);opacity:.3}to{transform:scale(1);opacity:1}}@keyframes afr-draw{to{stroke-dashoffset:0}}@keyframes afr-spin{to{transform:rotate(360deg)}}
@media(max-width:600px){.afr-dialog{border-radius:18px}.afr-top{padding:1.5rem 1.25rem 1.2rem}.afr-kicker{margin-left:0!important}.afr-dialog .afr-title{font-size:1.85rem}.afr-body{padding:.25rem 1.25rem 1.25rem}.afr-row{grid-template-columns:1fr;gap:.25rem;padding:.75rem 0}.afr-actions{padding:1rem 1.25rem;flex-direction:column-reverse}.afr-actions .afr-button{width:100%}.afr-result{padding:2rem 1.25rem}}
@media(prefers-reduced-motion:reduce){.afr-dialog *{animation:none!important}.afr-success .afr-mark path{stroke-dashoffset:0}}
