.scm-popup { display: none; position: fixed; inset: 0; z-index: 999999; align-items: center; justify-content: center; padding: 20px; }
.scm-popup.scm-is-open { display: flex; }
.scm-popup-backdrop { position: absolute; inset: 0; background: rgba(12, 18, 28, .68); }
.scm-popup-dialog { position: relative; z-index: 1; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background-color: #fff; color: #171717; border-radius: 16px; box-shadow: 0 20px 70px rgba(0,0,0,.28); padding: 42px 34px 32px; background-repeat: no-repeat; }
.scm-popup-dialog:has([style]) { background-size: cover; }
.scm-popup-content { position: relative; z-index: 1; }
.scm-popup-content h2 { margin: 0 0 12px; font-size: clamp(25px, 4vw, 36px); line-height: 1.15; color: inherit; }
.scm-popup-content > p { font-size: 16px; line-height: 1.5; }
.scm-popup-close { position: absolute; z-index: 2; top: 9px; right: 12px; border: 0; background: transparent; color: inherit; font-size: 30px; line-height: 1; cursor: pointer; }
.scm-field-label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0; }
.scm-field-label input { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; min-height: 44px; padding: 10px 12px; border: 1px solid #c8c8c8; border-radius: 6px; background: #fff; color: #171717; font: inherit; }
.scm-name-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.scm-submit { display: block; width: 100%; min-height: 48px; margin-top: 14px; border: 0; border-radius: 6px; padding: 12px 18px; background: #171717; color: #fff; font-weight: 700; cursor: pointer; }
.scm-submit[disabled] { opacity: .6; cursor: wait; }
.scm-form-message { min-height: 20px; font-size: 14px; }
.scm-form-message.scm-error { color: #b42318; }
.scm-form-message.scm-success { color: #137333; font-weight: 600; }
.scm-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.scm-popup-link { text-align: center; }
@media (max-width: 560px) { .scm-popup { padding: 12px; } .scm-popup-dialog { padding: 38px 20px 24px; } .scm-name-fields { grid-template-columns: 1fr; gap: 0; } }

.scm-consent { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0; font-size: 12px; line-height: 1.45; }
.scm-consent input { margin-top: 2px; flex: 0 0 auto; }
.scm-popup-inline { display: block; position: relative; inset: auto; padding: 0; z-index: 1; }
.scm-popup-inline .scm-popup-backdrop, .scm-popup-inline .scm-popup-close { display: none; }
.scm-popup-inline .scm-popup-dialog { margin: 0 auto; box-shadow: none; }
