/* PointCraft form + popup styles — Oct 2026 redesign. Loaded site-wide from header template 137.
 * Source: mainsite-wordpress/site-build/assets/pc-forms.css; deployed to /wp-content/uploads/2026/10/pc-forms.css
 */
/* ---------- Forms (Elementor Pro form widget with class pc-form) ------------------------------- */
.pc-form .elementor-form { font-family: var(--pc-font); }
.pc-form .elementor-form-fields-wrapper { margin-left: -7px !important; margin-right: -7px !important; row-gap: 0; }
.pc-form .elementor-field-group { padding-left: 7px !important; padding-right: 7px !important; margin-bottom: 14px !important; }
.pc-form .elementor-field-group > label.elementor-field-label {
  font-family: var(--pc-font); font-size: 13px; font-weight: 700; line-height: normal; color: var(--pc-muted); padding: 0 0 6px !important; margin: 0;
}
.pc-form .elementor-field-group .elementor-field-textual,
.pc-form .elementor-field-group select {
  font-family: var(--pc-font); height: 44px; min-height: 44px; border: 1px solid var(--pc-input) !important; border-radius: 10px !important;
  padding: 0 14px !important; font-size: 14.5px; line-height: 1.4; color: var(--pc-ink); background: #FFFFFF !important; box-shadow: none !important;
  outline: none; transition: border-color .2s ease-in-out, box-shadow .2s ease-in-out;
}
.pc-form .elementor-field-group textarea.elementor-field-textual { height: auto; padding: 12px 14px !important; }
.pc-form .elementor-field-group .elementor-field-textual::placeholder { color: var(--pc-light); opacity: 1; }
.pc-form .elementor-field-group .elementor-field-textual:focus,
.pc-form .elementor-field-group select:focus { border-color: var(--pc-green) !important; box-shadow: 0 0 0 1px var(--pc-green) !important; }
.pc-form .elementor-select-wrapper::before {
  content: '' !important; width: 16px; height: 16px; right: 14px !important; top: 50% !important; transform: translateY(-50%); background: var(--pc-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M19 9L12 15L5 9'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M19 9L12 15L5 9'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
.pc-form .elementor-field-group .elementor-select-wrapper select { padding-right: 38px !important; text-overflow: ellipsis; }
.pc-form .select-caret-down-wrapper { display: none !important; }
.pc-form .pc-optional { font-weight: 600; color: var(--pc-light); }
.pc-form .pc-form-sublabel { width: 100%; padding: 8px 7px 10px; font-family: var(--pc-font); font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--pc-muted); }
.pc-form .elementor-field-type-html { margin-bottom: 0 !important; }
/* Elementor applies the kit's text typography (Graphik) to HTML fields */
.pc-form .elementor-field-group.elementor-field-type-html { font-family: var(--pc-font); }
.pc-form .elementor-field-type-acceptance .elementor-field-subgroup,
.pc-form .elementor-field-type-acceptance .elementor-field-option { display: flex; align-items: flex-start; gap: 10px; }
.pc-form .elementor-field-type-acceptance input[type=checkbox] { width: 18px; height: 18px; margin: 1px 3px 3px 4px; accent-color: var(--pc-green); flex: none; cursor: pointer; }
.pc-form .elementor-field-type-acceptance label { font-family: var(--pc-font); font-size: 12.5px; line-height: 1.5; color: var(--pc-muted); font-weight: 400; padding: 0 !important; cursor: pointer; }
.pc-form .elementor-field-type-submit { margin-bottom: 0 !important; }
.pc-form .elementor-button[type=submit] {
  width: 100%; height: 50px; border-radius: 10px; background: var(--pc-grad) !important; color: #FFFFFF !important; border: 0;
  font-family: var(--pc-font); font-size: 15.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .2s ease-in-out; text-transform: none;
}
.pc-form .elementor-button[type=submit]:hover { box-shadow: 0 8px 16px rgba(0, 167, 111, .24); }
.pc-form .elementor-button[type=submit] .elementor-button-content-wrapper { display: inline-flex; align-items: center; gap: 8px; flex-direction: row-reverse; }
.pc-form .elementor-button[type=submit] svg { width: 20px; height: 20px; fill: none; color: currentColor; }
.pc-form--green .elementor-button[type=submit] { background: var(--pc-green) !important; height: 48px; font-size: 15px; font-weight: 700; border-radius: 8px; }
.pc-form .elementor-message { font-family: var(--pc-font); font-size: 13.5px; }
.pc-form .elementor-message.elementor-message-success { display: none !important; }
.pc-form-error { width: 100%; font-family: var(--pc-font); font-size: 13.5px; font-weight: 600; line-height: 1.45; color: var(--pc-error); margin: 0 7px 12px; }
/* honeypot: Elementor wraps it in an unclassed div.elementor-field-type-text (zero height, but still a flex/grid item;
   inside the last step on multi-step forms) */
.pc-form .elementor-field-type-honeypot, .pc-form .elementor-field-type-text:not(.elementor-field-group) { display: none !important; }
/* Auto-fit field grid (the mockups' repeat(auto-fit, minmax(min(Npx,100%),1fr))): replaces Elementor's % widths */
.pc-form.pc-form--af .elementor-form-fields-wrapper {
  display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(var(--pc-af-min, 190px), 100%), 1fr));
  column-gap: var(--pc-af-cgap, var(--pc-af-gap, 14px)); row-gap: var(--pc-af-rgap, var(--pc-af-gap, 14px)); margin: 0 !important;
}
.pc-form--af190 { --pc-af-min: 190px; } .pc-form--af200 { --pc-af-min: 200px; } .pc-form--af220 { --pc-af-min: 220px; }
.pc-form.pc-form--af .elementor-field-group { width: auto !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
.pc-form.pc-form--af .elementor-field-type-html, .pc-form.pc-form--af .elementor-field-type-acceptance,
.pc-form.pc-form--af .elementor-field-type-submit, .pc-form.pc-form--af .elementor-field-type-honeypot,
.pc-form.pc-form--af .elementor-field-type-step, .pc-form.pc-form--af .pc-form-error, .pc-form.pc-form--af .pc-span { grid-column: 1 / -1; }
.pc-form.pc-form--af .elementor-field-type-html { margin: 6px 0 -4px !important; }
.pc-form.pc-form--af .elementor-field-type-html:first-child { margin-top: 0 !important; }
.pc-form.pc-form--af .pc-form-sublabel { padding: 0; line-height: normal; }
.pc-form.pc-form--af .elementor-field-type-acceptance { margin-top: 2px !important; }
.pc-form.pc-form--af .elementor-field-type-submit { margin-top: 4px !important; }
.pc-form.pc-form--af .pc-form-error { margin: -2px 0 0; }
/* Pill checkboxes ("Hardware you need") */
.pc-form .elementor-field-group-hardware .elementor-field-subgroup, .pc-form .pc-pills .elementor-field-subgroup { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-form .elementor-field-group-hardware .elementor-field-option, .pc-form .pc-pills .elementor-field-option { margin: 0 !important; padding: 0 !important; position: relative; }
.pc-form .elementor-field-group-hardware .elementor-field-option input, .pc-form .pc-pills .elementor-field-option input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pc-form .elementor-field-group-hardware .elementor-field-option label, .pc-form .pc-pills .elementor-field-option label {
  display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  border: 1px solid #93B3D5; background: #FFFFFF; color: var(--pc-ink-2); cursor: pointer; transition: all .2s ease-in-out; margin: 0;
}
.pc-form .elementor-field-group-hardware .elementor-field-option input:checked + label, .pc-form .pc-pills .elementor-field-option input:checked + label { border-color: var(--pc-green); background: rgba(0, 167, 111, .12); color: var(--pc-green-dark); }
.pc-form .elementor-field-group-hardware .elementor-field-option input:focus-visible + label, .pc-form .pc-pills .elementor-field-option input:focus-visible + label { box-shadow: 0 0 0 2px rgba(0, 167, 111, .4); }
/* Success panels injected by pc-site.js */
.pc-success { font-family: var(--pc-font); text-align: center; padding: 20px 8px 8px; }
.pc-success__icon { color: var(--pc-green); display: inline-flex; }
.pc-success__icon svg { width: 72px; height: 72px; }
.pc-success__title { font-size: 21px; font-weight: 800; color: var(--pc-ink); margin: 14px 0 8px; }
.pc-success__text { font-size: 14.5px; line-height: 1.6; color: var(--pc-muted); margin: 0 auto 24px; max-width: 360px; }
.pc-success__btn {
  display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; border-radius: 10px;
  border: 1px solid var(--pc-ink); background: transparent; color: var(--pc-ink); font-family: var(--pc-font); font-size: 15px; font-weight: 700; cursor: pointer;
  box-shadow: none; transition: all .2s ease-in-out;   /* Astra gives every <button> a faint shadow */
}
.pc-success__btn:hover { background: rgba(33, 43, 54, .08); }
.pc-success__btn--green { background: var(--pc-green); border-color: var(--pc-green); color: #FFFFFF; height: 48px; padding: 0 30px; font-weight: 800; box-shadow: 0 8px 18px -6px rgba(0, 167, 111, .6); }
.pc-success__btn--green:hover { background: var(--pc-green); }

/* ---------- Quote modal (popup 3277) -------------------------------------------------------------- */
.pc-quote-popup .dialog-widget-content { width: min(520px, calc(100vw - 40px)) !important; overflow: hidden; border-radius: 16px; }
.pc-quote-popup .dialog-message { width: 100% !important; max-width: 100%; max-height: calc(100vh - 40px); overflow-y: auto; }
.pc-quote-popup .dialog-close-button {
  top: 16px !important; right: 14px !important; width: 36px; height: 36px; border-radius: 8px; display: flex !important;
  align-items: center; justify-content: center; color: var(--pc-muted) !important; z-index: 3; transition: background .2s ease-in-out;
}
.pc-quote-popup .dialog-close-button:hover { background: rgba(145, 158, 171, .08); }
.pc-quote-popup .dialog-close-button i, .pc-quote-popup .dialog-close-button svg { display: none !important; }
.pc-quote-popup .dialog-close-button::after {
  content: ''; width: 22px; height: 22px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath stroke-linecap='round' d='m14.5 9.5l-5 5m0-5l5 5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath stroke-linecap='round' d='m14.5 9.5l-5 5m0-5l5 5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.pc-quote-modal { font-family: var(--pc-font); color: var(--pc-ink); }
.pc-quote-modal .elementor-widget:not(:last-child) { margin-bottom: 0 !important; }
.pc-quote-modal .elementor-widget.pc-q-title { margin-bottom: 6px !important; }
.pc-quote-modal .pc-q-title .elementor-heading-title { font-family: var(--pc-font); font-size: 22px; font-weight: 800; line-height: 1.3; color: var(--pc-ink); margin: 0; }
.pc-quote-modal .elementor-widget.pc-q-intro { margin-bottom: 22px !important; }
.pc-quote-modal .pc-q-intro, .pc-quote-modal .pc-q-intro p { font-size: 14px; line-height: 1.6; color: var(--pc-muted); margin: 0; }
.pc-quote-modal .elementor-widget.pc-q-legal { margin-top: 14px !important; }
.pc-quote-modal .pc-q-legal, .pc-quote-modal .pc-q-legal p { font-size: 12px; line-height: 1.5; color: var(--pc-light); text-align: center; margin: 0; }
.pc-quote-modal .pc-q-legal a { color: var(--pc-green); font-weight: 600; text-decoration: none; }
.pc-quote-modal .elementor-form-fields-wrapper { margin-left: -8px !important; margin-right: -8px !important; }
.pc-quote-modal .elementor-field-group { padding-left: 8px !important; padding-right: 8px !important; margin-bottom: 16px !important; }
.pc-quote-modal .elementor-field-group .elementor-field-textual,
.pc-quote-modal .elementor-field-group select { height: 46px; min-height: 46px; font-size: 15px; }
.pc-quote-modal .elementor-field-group-hardware { margin-bottom: 6px !important; }
.pc-quote-modal .elementor-field-type-html { margin-bottom: 0 !important; }
.pc-quote-modal .elementor-field-group-hardware > label.elementor-field-label,
.pc-quote-modal .pc-form-sublabel {
  font-size: 12px !important; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--pc-muted);
  padding: 6px 0 10px !important; margin: 0;
}
.pc-quote-modal .pc-form-sublabel { padding: 16px 0 10px !important; }
.pc-quote-modal .elementor-field-type-submit { margin-top: 6px; }
.pc-quote-modal .elementor-button[type=submit] { height: 52px; }
.pc-quote-modal .pc-success { padding: 16px 4px 14px; }
.pc-quote-modal .pc-success__icon svg { width: 68px; height: 68px; }
.pc-quote-modal .pc-success__text { max-width: 340px; margin-bottom: 26px; }
