.demo-dialog{width:min(560px,calc(100% - 28px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #d8e5f5;border-radius:22px;padding:30px;color:#173357;background:#fff;box-shadow:0 24px 100px #031f5750}
.demo-dialog::backdrop{background:#041c4e85;backdrop-filter:blur(7px)}
.demo-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px}
.demo-header h2{margin:0 0 8px;font-size:27px;color:#092859;line-height:1.2}
.demo-header p{margin:0;color:#617492;font-size:14px;line-height:1.5}
.demo-close{flex-shrink:0;width:38px;height:38px;border:1px solid #d8e5f5;border-radius:11px;background:#f6faff;color:#092859;font-size:26px;cursor:pointer;line-height:1}
.demo-dialog label{display:block;font-size:14px;font-weight:600;margin:20px 0 8px}
.demo-dialog input,.demo-dialog textarea{display:block;width:100%;padding:12px 14px;border:1px solid #b8cef0;border-radius:11px;background:#fbfdff;font:inherit;font-size:16px;color:#173357;line-height:1.5}
.demo-dialog textarea{min-height:170px;resize:vertical}
.demo-dialog input:focus,.demo-dialog textarea:focus{outline:3px solid #0054ed22;border-color:#0054ed}
.demo-submit{display:block;width:100%;margin-top:22px;padding:14px 20px;border:0;border-radius:11px;background:#0054ed;color:white;font:inherit;font-size:15px;font-weight:650;cursor:pointer}
.demo-submit:hover{background:#003ec4}.demo-submit:disabled{opacity:.65;cursor:default}
.demo-status{margin:14px 0 0;line-height:1.5;font-size:14px;color:#14734c;white-space:pre-line}.demo-status:empty{display:none}.demo-status.is-error{color:#b42318}
.demo-trap{position:absolute!important;left:-10000px;width:1px;height:1px;overflow:hidden}
@media(max-width:600px){.demo-dialog{padding:23px 20px;border-radius:18px}.demo-header h2{font-size:24px}.demo-dialog textarea{min-height:160px}}
