/* 404 Emails admin page - only loaded on the plugin's own page. */
.emails404 { max-width: 920px; }
.emails404-title { padding-top: 12px; }
.emails404-logo { height: 40px; width: auto; display: block; }
.emails404-card { background: #fff; border: 1px solid #dcdcde; border-radius: 12px; padding: 24px 28px; margin: 16px 0 24px; }
.emails404-welcome { text-align: center; max-width: 620px; }
.emails404-welcome h2 { font-size: 24px; margin: 0 0 8px; }
.emails404-welcome p { font-size: 15px; color: #3c434a; }
.emails404 .emails404-connect-button.button-primary { background: #2b6f5d; border-color: #2b6f5d; border-radius: 999px; padding: 0 28px; }
.emails404 .emails404-connect-button.button-primary:hover,
.emails404 .emails404-connect-button.button-primary:focus { background: #225c4d; border-color: #225c4d; }
.emails404-muted { color: #50575e; }
.emails404-points { text-align: left; border-top: 1px solid #f0f0f1; margin: 20px 0 0; padding: 16px 0 0 18px; list-style: disc; color: #50575e; }
.emails404-connected { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: #eef5f2; border-color: #b9d6cc; padding: 14px 18px; }
.emails404-connected-line { margin: 0; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.emails404-dot { width: 10px; height: 10px; border-radius: 50%; background: #2b6f5d; display: inline-block; }
.emails404-connected-actions { display: flex; align-items: center; gap: 16px; }
.emails404-connected-actions form { margin: 0; }
.emails404 .emails404-disconnect { color: #b32d2e; }
.emails404-section-title { margin-top: 8px; font-size: 18px; }
.emails404-advanced { margin: 24px 0 8px; }
.emails404-advanced summary { cursor: pointer; font-weight: 600; }
.emails404-forms { max-width: 920px; margin-top: 8px; }
.emails404-forms td { vertical-align: middle; }
.emails404-shortcode { width: 100%; max-width: 360px; }
.emails404-inline-field { margin-left: 12px; white-space: nowrap; }
.emails404-empty { background: #fff; border: 1px dashed #c3c4c7; border-radius: 8px; padding: 14px 16px; }
/* Forms page */
.emails404-heading-row { display: flex; align-items: center; gap: 12px; margin: 8px 0 12px; }
.emails404-page-title { font-size: 22px; margin: 0; }
.emails404 .button-primary.emails404-primary { background: #2b6f5d; border-color: #2b6f5d; }
.emails404 .button-primary.emails404-primary:hover, .emails404 .button-primary.emails404-primary:focus { background: #225c4d; border-color: #225c4d; }
.emails404-badge { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 600; }
.emails404-badge.is-published { background: #eef5f2; color: #225c4d; }
.emails404-badge.is-draft { background: #fff4d6; color: #7a5300; }
.emails404-row-actions { white-space: nowrap; }
.emails404-row-actions a { margin-right: 10px; }
.emails404-inline-form { display: inline; margin: 0; }
.emails404-empty-state { text-align: center; }
.emails404-starters { display: grid; grid-template-columns: repeat( auto-fill, minmax( 260px, 1fr ) ); gap: 16px; margin: 16px 0 24px; }
.emails404-starter { background: #fff; border: 1px solid #dcdcde; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.emails404-starter-art { background: #eceff1; padding: 16px; display: flex; justify-content: center; }
.emails404-mini-form { width: 190px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.12 ); }
.emails404-mini-heading { font-size: 12px; font-weight: 700; line-height: 1.2; }
.emails404-mini-field { height: 12px; background: #fff; border: 1px solid rgba( 0, 0, 0, 0.15 ); border-radius: 3px; }
.emails404-mini-button { font-size: 9px; font-weight: 700; text-align: center; padding: 3px; border-radius: 3px; }
.emails404-starter-body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.emails404-starter-body h3 { margin: 4px 0 0; font-size: 15px; }
.emails404-starter-body p { margin: 0 0 8px; color: #50575e; }
.emails404-starter-body form { margin-top: auto; }
.emails404-kind { align-self: flex-start; background: #f0f0f1; border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 600; }
.emails404-blank-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.emails404-blank-form .description { flex-basis: 100%; }
.emails404-editor-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.emails404-bar-actions { margin-left: auto; display: flex; gap: 8px; }
.emails404-editor-columns { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.emails404-editor-settings { flex: 1 1 360px; max-width: 460px; background: #fff; border: 1px solid #dcdcde; border-radius: 12px; padding: 4px 20px 16px; }
.emails404-editor-settings h3 { margin: 20px 0 8px; font-size: 14px; }
.emails404-editor-settings label { font-weight: 600; }
.emails404-editor-settings .description { display: block; margin-top: 4px; }
.emails404-fieldset { margin: 0 0 12px; }
.emails404-fieldset legend { font-weight: 600; margin-bottom: 6px; }
.emails404-fieldset label { font-weight: 400; margin-right: 14px; }
.emails404-groups label { display: block; margin: 2px 0; }
.emails404-colors { display: grid; grid-template-columns: repeat( 2, minmax( 0, 1fr ) ); gap: 8px 12px; margin-bottom: 12px; }
.emails404-colors label { font-weight: 400; display: flex; align-items: center; gap: 8px; }
.emails404-colors input[type="color"] { width: 40px; height: 28px; padding: 0; border: 1px solid #c3c4c7; }
.emails404-editor-preview { flex: 1 1 400px; min-width: 0; }
.emails404-preview-toggle { margin-bottom: 10px; }
.emails404-preview-toggle .button.is-active { background: #1d2327; color: #fff; border-color: #1d2327; }
.emails404-preview-stage { background: #d9d2c9; border-radius: 12px; padding: 32px 20px; display: flex; justify-content: center; }
.emails404-preview-card { width: 100%; box-sizing: border-box; padding: 26px; box-shadow: 0 10px 30px rgba( 0, 0, 0, 0.18 ); }
.emails404-preview-form { display: flex; flex-direction: column; gap: 10px; }
.emails404-preview-card h4 { margin: 0; font-size: 22px; line-height: 1.2; color: inherit; }
.emails404-preview-card p { margin: 0; font-size: 14px; line-height: 1.45; color: inherit; }
.emails404-preview-label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; }
.emails404-preview-label[hidden] { display: none; }
.emails404-preview-input { height: 34px; background: #fff; border: 1px solid rgba( 0, 0, 0, 0.18 ); border-radius: 6px; }
.emails404-preview-consent { display: flex; gap: 8px; font-size: 12px; align-items: flex-start; }
.emails404-preview-box { width: 14px; height: 14px; border: 1px solid currentColor; border-radius: 3px; flex-shrink: 0; background: #fff; }
.emails404-preview-button { border-radius: 8px; padding: 11px; text-align: center; font-size: 15px; font-weight: 700; }
.emails404-preview-success { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 6px; text-align: center; }
.emails404-preview-success[hidden] { display: none; }
.emails404-preview-tick { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; }
.emails404-show-on-site { margin-top: 16px; }
.emails404-widget-number strong { font-size: 28px; margin-right: 6px; }

/* Other forms (Contact Form 7, WPForms, Elementor) */
.emails404-page-head h2 { font-size: 20px; margin: 16px 0 6px; }
.emails404-page-head .description { max-width: 680px; }
.emails404-other-forms { margin: 8px 0 20px; }
.emails404-other-forms td { vertical-align: top; }
.emails404-other-forms select { max-width: 100%; }
.emails404-other-forms td:first-child { width: 34%; }
.emails404-status-on { margin: 4px 0 0; color: #2b6f5d; font-weight: 600; }
.emails404-status-on::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2b6f5d; margin-right: 6px; }
.emails404-other-note { max-width: 680px; color: #50575e; }
@media ( max-width: 782px ) {
	.emails404-other-forms td:first-child { width: auto; }
}
.emails404-steps { list-style: decimal; margin: 8px 0 16px 20px; max-width: 680px; color: #50575e; }
.emails404-steps li { margin-bottom: 4px; }
