.amd-dialog { border: 0; border-radius: 10px; padding: 1.5rem; max-width: 28rem; width: calc(100% - 2rem); box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.amd-dialog::backdrop { background: rgba(0, 0, 0, .55); }
.amd-form h2 { margin: 0 0 .5rem; }
.amd-form label { display: block; font-weight: 600; margin-bottom: .25em; }
.amd-form .amd-news label { font-weight: 400; }
.amd-form input[type="email"], .amd-form input[type="text"] { width: 100%; box-sizing: border-box; }
.amd-info { font-size: .85em; opacity: .8; }
.amd-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.amd-message { min-height: 1.5em; }
.amd-message.amd-error { color: #b32d2e; }
.amd-message.amd-ok { color: #1a7f37; }
.amd-buttons { display: flex; gap: .75rem; align-items: center; }
.amd-close { background: transparent; color: inherit; border: 1px solid currentColor; border-radius: 6px; padding: .6em 1.1em; font: inherit; cursor: pointer; opacity: .75; }
.amd-close:hover { opacity: 1; }
.amd-news input { margin-right: .4em; }
/* Button settings of the block (set in the editor) */
.amd-btn-bg .amd-open, .amd-btn-bg .amd-send { background-color: var(--amd-btn-bg); }
.amd-btn-text .amd-open, .amd-btn-text .amd-send { color: var(--amd-btn-text); }
.amd-btn-radius .amd-open, .amd-btn-radius .amd-send { border-radius: var(--amd-btn-radius); }
