/* Cryptoway Payment — editor only: the start screen of a freshly inserted block. */

.cwbtn-chooser { --cwbtn-green: #14b95d; --cwbtn-ink: #0e0e0e; --cwbtn-muted: #5f6368; --cwbtn-line: #e3e6e2;
  border: 1px solid var(--cwbtn-line); border-radius: 14px; background: #fff; padding: 22px 24px 20px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--cwbtn-ink); }
.cwbtn-chooser__head { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.cwbtn-chooser__mark { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, #fff, #e6e6e6); display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); flex: none; }
.cwbtn-chooser__mark svg { width: 26px; height: 26px; }
.cwbtn-chooser__title { font-size: 15px; font-weight: 600; margin: 0; line-height: 1.3; }
.cwbtn-chooser__sub { font-size: 12.5px; color: var(--cwbtn-muted); margin: 2px 0 0; }

.cwbtn-chooser__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 480px) { .cwbtn-chooser__grid { grid-template-columns: 1fr; } }

.cwbtn-chooser__card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: 100%; min-height: 118px; padding: 14px 14px 12px; border: 1px solid var(--cwbtn-line); border-radius: 12px; background: #fafbfa; text-align: left; cursor: pointer; font: inherit; color: inherit; transition: border-color .12s, box-shadow .12s, transform .12s; }
.cwbtn-chooser__card:hover, .cwbtn-chooser__card:focus-visible { border-color: var(--cwbtn-green); box-shadow: 0 2px 10px rgba(20,185,93,.14); transform: translateY(-1px); outline: none; }
.cwbtn-chooser__icon { width: 30px; height: 30px; border-radius: 8px; background: #eaf7ef; color: #0f7a3f; display: flex; align-items: center; justify-content: center; }
.cwbtn-chooser__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cwbtn-chooser__card-title { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.cwbtn-chooser__card-text { font-size: 12px; line-height: 1.4; color: var(--cwbtn-muted); }
.cwbtn-chooser__tag { font-size: 11px; color: #0f7a3f; font-weight: 600; margin-top: auto; }

.cwbtn-chooser__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 14px 0 0; font-size: 12.5px; color: var(--cwbtn-muted); flex-wrap: wrap; }
.cwbtn-chooser__scratch { background: none; border: 0; padding: 0; color: var(--cwbtn-ink); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cwbtn-chooser__scratch:hover { color: var(--cwbtn-green); }

/* The preview: texts are edited in place, amounts and fields are added and removed. */
.cwbtn--editor .cwbtn__form--preview input[readonly], .cwbtn--editor .cwbtn__form--preview textarea[readonly], .cwbtn--editor .cwbtn__coin-toggle { pointer-events: none; }
.cwbtn--editor [data-rich-text-placeholder]::after { opacity: .6; }
.cwbtn--editor .cwbtn__button-text { min-width: 2em; display: inline-block; }
.cwbtn--editor .cwbtn__label { display: flex; align-items: center; gap: 6px; }
.cwbtn__chip--edit > span { display: inline-flex; align-items: center; gap: 4px; }
.cwbtn__chip--edit.is-checked > span { background: var(--wp--preset--color--contrast, #1d1f1c); color: var(--wp--preset--color--base, #fff); border-color: var(--wp--preset--color--contrast, #1d1f1c); }
.cwbtn-chip-input { font: inherit; width: auto; min-width: 2.2em; max-width: 6em; padding: 0 2px; border: 0; border-bottom: 1px dashed currentColor; background: transparent; color: inherit; text-align: right; }
.cwbtn-chip-input:focus { outline: none; border-bottom-style: solid; }
.cwbtn-chip-remove { border: 0; background: transparent; color: inherit; opacity: .55; cursor: pointer; font: inherit; font-size: 1.05em; line-height: 1; padding: 0 2px; }
.cwbtn-chip-remove:hover { opacity: 1; color: #b32d2e; }
.cwbtn-chip-add { font: inherit; font-size: .9em; padding: .45em .9em; border: 1px dashed currentColor; border-radius: 999px; background: transparent; color: inherit; opacity: .7; cursor: pointer; }
.cwbtn-chip-add:hover { opacity: 1; border-style: solid; }
.cwbtn-add-fields { display: flex; gap: .5em; flex-wrap: wrap; margin: 0 0 .9em; }
.cwbtn-chip-text { min-width: 4em; display: inline-block; }
.cwbtn-edit-hint { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: .4em 0 0; font-size: 12px; opacity: .8; }

/* Paid content in the editor: the inner blocks shown only after payment. */
.cwbtn-locked { margin-top: 14px; padding: 12px 14px 14px; border: 1px dashed #c9cfc8; border-radius: 10px; background: #fafbfa; }
.cwbtn-locked__label { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #5f6368; }
