/* Calvex CF7 Toolkit — open period (includes/submission-limits.php)
   The form outside its period: dimmed, locked, with the message on top.
   In UX Builder: shown normally, with a dashed outline and a label. */
.cvx-cf7-period { position: relative; }
.cvx-cf7-period:not(.cvx-cf7-period--open) .cvx-cf7-period__form { opacity: .3; filter: grayscale(1); pointer-events: none; user-select: none; }
.cvx-cf7-period__notice { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-start; padding: clamp(24px, 12%, 120px) 16px 16px; z-index: 2; }
.cvx-cf7-period__notice[hidden] { display: none; }
.cvx-cf7-period__notice p { margin: 0; max-width: 32em; padding: 20px 28px; background: #fff; color: #000; border: 2px solid #009b51; border-radius: 8px; text-align: center; font-weight: 700; font-size: 1.125em; }
body.ux-builder-iframe .cvx-cf7-period { outline: 2px dashed #009b51; outline-offset: 4px; }
body.ux-builder-iframe .cvx-cf7-period .cvx-cf7-period__form { opacity: 1 !important; filter: none !important; pointer-events: auto !important; }
body.ux-builder-iframe .cvx-cf7-period__notice { display: none !important; }
.cvx-cf7-period__badge { display: none; }
body.ux-builder-iframe .cvx-cf7-period__badge { position: absolute; top: -12px; left: 4px; z-index: 60; display: block; padding: 3px 7px; border-radius: 3px; pointer-events: none; white-space: nowrap; background: #009b51; color: #fff; font: 600 11px/1.3 -apple-system, system-ui, sans-serif; text-transform: none; letter-spacing: 0; }
body.ux-builder-iframe .cvx-cf7-period__badge.is-closed-now { background: #000; }
