/* ==========================================================================
   C2Web — Lab Instrument Design System Overrides
   All colors use --cr-* tokens defined in crispresso_styles.html
   ========================================================================== */

/* --- Navbar --- */
.navbar.bg-light {
  background-color: var(--cr-surface, #fff) !important;
  border-bottom: 1px solid var(--cr-border, rgba(26,35,50,0.12));
}
.navbar-light .navbar-nav .nav-link {
  color: var(--cr-ink-secondary, #3d4f65);
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
  color: var(--cr-reagent-500, #2563a0);
}
.navbar-light .navbar-brand {
  color: var(--cr-ink, #1a2332);
}

/* --- Jumbotron / Page Panel --- */
.jumbotron {
  background-color: var(--cr-surface, #fff);
  border: 1px solid var(--cr-border, rgba(26,35,50,0.12));
  border-radius: var(--cr-radius-lg, 7px);
  padding: 2rem;
}

/* --- Auth Forms --- */
.cr-auth-form {
  max-width: 400px;
  margin: 0 auto;
}
.cr-auth-form h1 {
  text-align: center;
}
.cr-auth-form input[type="text"],
.cr-auth-form input[type="password"],
.cr-auth-form input[type="email"],
.cr-auth-form textarea,
.cr-auth-form select {
  width: 100%;
}
.cr-field-error {
  color: var(--cr-fail-text, #6e2525);
  font-size: var(--cr-font-sm, 0.8125rem);
}
.cr-submit-row {
  text-align: center;
}

/* --- File Uploads --- */
.custom-file {
  position: relative;
  display: inline-block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  margin-bottom: 0;
}
.custom-file-input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  margin: 0;
  overflow: hidden;
  opacity: 0;
}
.custom-file-label {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  overflow: hidden;
  font-weight: 400;
  line-height: 1.5;
  color: var(--cr-ink-secondary, #3d4f65);
  background-color: var(--cr-surface, #fff);
  border: 1px solid var(--cr-border-emphasis, rgba(26,35,50,0.20));
  border-radius: 0.25rem;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}
.custom-file-label::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: block;
  height: calc(1.5em + 0.75rem);
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  color: var(--cr-ink-secondary, #3d4f65);
  content: "Browse";
  background-color: var(--cr-surface-inset, #eef1f6);
  border-left: inherit;
  border-radius: 0 0.25rem 0.25rem 0;
}
.file_upload_drag_hover {
  outline: 2px solid var(--cr-reagent-400, #3d8ab8) !important;
  outline: 5px auto -webkit-focus-ring-color !important;
}
.upload-container > .input-group-text,
.upload-container-last > .input-group-text {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
/* --- Progress Bar --- */
.progress {
  height: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  background-color: var(--cr-surface-inset, #eef1f6);
  border: 1px solid var(--cr-border, rgba(26,35,50,0.12));
  border-radius: var(--cr-radius-md, 5px);
  box-shadow: none;
}
.progress-bar {
  float: left;
  width: 0%;
  height: 100%;
  font-size: 12px;
  line-height: 20px;
  color: #fff;
  text-align: center;
  background-color: var(--cr-reagent-500, #2563a0);
  box-shadow: none;
  transition: width 0.6s ease;
}

/* --- Form Controls --- */
input[readonly] {
  background-color: var(--cr-surface, #fff) !important;
  cursor: text !important;
}
.form-control:focus {
  border-color: var(--cr-border-focus, rgba(37,99,160,0.50));
  box-shadow: 0 0 0 3px var(--cr-border-focus, rgba(37,99,160,0.50));
}
.input-group-text {
  background-color: var(--cr-surface-inset, #eef1f6);
  border-color: var(--cr-border-emphasis, rgba(26,35,50,0.20));
  color: var(--cr-ink-secondary, #3d4f65);
}

/* --- Center header on content column --- */
.crispresso-header {
  justify-content: center;
}

/* --- CRISPRessoPro Login Button: top-right of page --- */
#cr-pro-login-btn {
  position: fixed;
  top: 0.75rem;
  right: 1.5rem;
  z-index: 100;
}

/* --- Submission Layout: shift everything when sidebar is visible --- */
@media (max-width:3000px) and (min-width:1300px) {
  body:has(#demo-block:not([style*="display: none"])) .crispresso_body_div { padding-left: 200px; }
  body:has(#demo-block:not([style*="display: none"])) .crispresso-header { padding-left: 200px; }
}
@media (max-width:1300px) and (min-width:1015px) {
  body:has(#demo-block:not([style*="display: none"])) .crispresso_body_div { padding-left: 250px; }
  body:has(#demo-block:not([style*="display: none"])) .crispresso-header { padding-left: 250px; }
}

/* Card chevron animation (moved from submission templates) */
.card-header .fa {
  transition: 0.3s transform ease-in-out;
}
.card-header .collapsed .fa {
  transform: rotate(90deg);
}

/* Sequence inputs */
.sequence-input {
  font-size: 1rem;
  font-family: sans-serif;
}

/* --- Help Carousel (moved from help.html <style> block) --- */
.carousel.slide {
  height: 320px;
}
.carousel-item img {
  height: 300px;
  width: 100%;
  object-fit: scale-down;
}
.carousel-indicators li {
  background-color: var(--cr-ink-muted, rgba(108,117,125,0.5));
  box-shadow: 0 0 7px 2px rgba(255,255,255,0.8);
}
.carousel-indicators .active {
  background-color: var(--cr-reagent-500, rgba(0,123,255,0.5));
  box-shadow: 0 0 7px 2px rgba(255,255,255,0.8);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none;
  color: var(--cr-ink, #1a2332);
}
.carousel-control-prev:focus,
.carousel-control-next:focus {
  opacity: 0.5;
}
.carousel-caption {
  background-color: var(--cr-ink-muted, rgba(108,117,125,0.5));
  border-radius: var(--cr-radius-lg, 7px);
}

/* --- Extra Params (moved from extra_params.html <style> block) --- */
.extra-param-row {
  background-color: var(--cr-surface-inset, #f8f9fa);
  border-radius: var(--cr-radius-md, 0.375rem);
}
.extra-param-row .extra-param-label {
  min-width: 280px;
  background-color: var(--cr-surface-hover, #e9ecef);
}
.extra-param-row .extra-param-label code {
  font-size: 0.85em;
  color: var(--cr-reagent-500, #0d6efd);
}
.extra-param-row .form-check-input {
  margin-top: 0;
}
.extra-params-list:empty::after {
  content: "No additional parameters added yet.";
  display: block;
  color: var(--cr-ink-tertiary, #6c757d);
  font-style: italic;
  padding: 0.5rem 0;
}
#extra-param-select {
  max-width: 100%;
}
#extra-param-select optgroup {
  font-weight: bold;
  color: var(--cr-ink-secondary, #495057);
}
#extra-param-select option {
  font-weight: normal;
  padding-left: 1rem;
}

/* --- Alert Overrides --- */
.alert-danger {
  background-color: var(--cr-fail-bg, #f3dada);
  border-color: var(--cr-fail-border, #b84444);
  color: var(--cr-fail-text, #6e2525);
}
.alert-warning {
  background-color: #fdf6e3;
  border-color: var(--cr-border-emphasis, rgba(26,35,50,0.20));
  color: var(--cr-ink, #1a2332);
}

/* --- DNA Helix Section Divider --- */
/* Repeating double-helix SVG used as the section separator throughout
   the optional-parameters panel.  Two intertwined strands with short
   base-pair rungs, tinted with the reagent-500 brand blue.            */
.cr-section-heading {
  border-top: none;
  padding-top: 0;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
/* Helix pseudo-element for block-level headings (h5, div, etc.) */
.cr-section-heading:not(.cr-inline-heading)::before,
.cr-inline-heading-wrapper::before,
.extra-params-section::before {
  content: '';
  display: block;
  width: 100%;
  height: 14px;
  margin: 0 auto 0.5rem;
  /* Full-width line with centered helix ornament */
  background:
    /* Left line segment — stops before the helix */
    linear-gradient(var(--cr-border-emphasis, rgba(26,35,50,0.20)), var(--cr-border-emphasis, rgba(26,35,50,0.20))) left center / calc(50% - 70px) 1px no-repeat,
    /* Right line segment — starts after the helix */
    linear-gradient(var(--cr-border-emphasis, rgba(26,35,50,0.20)), var(--cr-border-emphasis, rgba(26,35,50,0.20))) right center / calc(50% - 70px) 1px no-repeat,
    /* Centered helix ornament (140px) */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='14' viewBox='0 0 80 14'%3E%3Cpath d='M0,4 Q20,0 40,7 Q60,14 80,10' stroke='%232563a0' stroke-width='1.5' fill='none' opacity='0.7'/%3E%3Cpath d='M0,10 Q20,14 40,7 Q60,0 80,4' stroke='%232563a0' stroke-width='1.5' fill='none' opacity='0.7'/%3E%3Cline x1='10' y1='2.7' x2='10' y2='11.3' stroke='%232563a0' stroke-width='1' opacity='0.4'/%3E%3Cline x1='20' y1='2.8' x2='20' y2='11.2' stroke='%232563a0' stroke-width='1' opacity='0.4'/%3E%3Cline x1='30' y1='4.2' x2='30' y2='9.8' stroke='%232563a0' stroke-width='1' opacity='0.4'/%3E%3Cline x1='50' y1='4.2' x2='50' y2='9.8' stroke='%232563a0' stroke-width='1' opacity='0.4'/%3E%3Cline x1='60' y1='2.8' x2='60' y2='11.2' stroke='%232563a0' stroke-width='1' opacity='0.4'/%3E%3Cline x1='70' y1='2.7' x2='70' y2='11.3' stroke='%232563a0' stroke-width='1' opacity='0.4'/%3E%3C/svg%3E") center center / 140px 14px no-repeat;
}
/* Inline heading wrappers get the same spacing as block headings */
.cr-inline-heading-wrapper {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
/* Inline headings inside wrappers don't need their own spacing/border */
.cr-section-heading.cr-inline-heading {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
  margin-bottom: 0;
}
/* Additional Parameters section uses the helix instead of plain border */
.extra-params-section {
  margin-top: 1.5rem;
  padding-top: 0;
}

/* --- Optional Parameters: Radio Button Groups --- */
.cr-param-group {
  background-color: var(--cr-surface-inset, #f8f9fa);
  border: 1px solid var(--cr-border, rgba(26,35,50,0.12));
  border-radius: var(--cr-radius-md, 5px);
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}
.cr-param-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.375rem;
  font-size: 0.9rem;
  color: var(--cr-ink, #1a2332);
}

/* --- Optional Parameters: Checkbox Groups --- */
.cr-checkbox-group {
  border-left: 2px solid var(--cr-border-emphasis, rgba(26,35,50,0.20));
  padding-left: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

/* --- Optional Parameters: Trimming Adapter --- */
.cr-trim-group {
  margin-bottom: 0.75rem;
}
.cr-trim-group > label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.375rem;
  font-size: 0.9rem;
  color: var(--cr-ink, #1a2332);
}

/* --- Button Group Wrapping --- */
.btn-group-wrap {
  flex-wrap: wrap;
  gap: 2px;
}
/* Unselected primary buttons in toggle groups render as neutral gray */
.btn-group-wrap .btn-primary:not(.active) {
  background-color: #6c757d;
  border-color: #6c757d;
}
.btn-group-wrap .btn-primary:not(.active):hover {
  background-color: #5c636a;
  border-color: #565e64;
}

/* --- Utility Classes --- */
.cr-demo-actions {
  float: right;
}
.cr-demo-actions a,
.cr-demo-actions span,
.cr-demo-actions .text-primary {
  color: var(--cr-reagent-500, #2563a0) !important;
}
.cr-demo-actions a:hover,
.cr-demo-actions span:hover {
  color: var(--cr-reagent-600, #1b4d80) !important;
}
.cr-demo-play {
  cursor: pointer;
}
.cr-status-log {
  max-height: 100px;
  overflow-y: auto;
}
.cr-inline-heading-wrapper {
  display: block;
}
.cr-inline-heading {
  display: inline;
}

/* --- Landing Page: Tool Cards --- */
.cr-tool-card {
  border: 1px solid var(--cr-border, rgba(26,35,50,0.12));
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.cr-tool-card:hover {
  border-color: var(--cr-reagent-400, #3d8ab8);
  box-shadow: 0 2px 8px rgba(37,99,160,0.12);
}
.cr-tool-card .card-title {
  color: var(--cr-ink, #1a2332);
}
i.cr-tool-icon {
  font-size: 1.75rem;
  color: var(--cr-reagent-500, #2563a0);
}
img.cr-tool-icon {
  width: 2.5rem;
  height: 2.5rem;
}

/* --- Landing Page: Secondary Links --- */
.cr-secondary-links {
  border-top: 1px solid var(--cr-border, rgba(26,35,50,0.12));
  padding-top: 1.25rem;
}
.cr-secondary-link {
  color: var(--cr-ink-secondary, #3d4f65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}
.cr-secondary-link:hover {
  color: var(--cr-reagent-500, #2563a0);
}

/* --- Retained Functional Styles --- */
.btn-file {
  position: relative;
  overflow: hidden;
}
.btn-file input[type=file] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 100px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  background: red;
  cursor: inherit;
  display: block;
}
.labelpadding {
  padding-top: 1em;
  padding-bottom: 1em;
}
.sample_component {
  padding-bottom: 0.5rem !important;
}
.sample_content {
  padding-right: 0;
}
#div_batch_upload {
  margin-right: 1rem;
}
.input-group.same-prepend-width > .input-group-prepend {
  flex: 0 0 9em;
}
.input-group.same-prepend-width {
  width: 100%;
}
.input-group.same-prepend-width > .input-group-prepend > .input-group-text {
  width: 100%;
}
.input-group-text-min-width {
  min-width: 145px;
}
.metadata-select-menu {
  appearance: menulist;
}
.no-wrap {
  flex-wrap: nowrap;
}
.upload-container {
  display: flex;
  flex-direction: row;
  margin-bottom: 1em;
}
.upload-container-last {
  display: flex;
  flex-direction: row;
  margin-top: 1em;
}
.report_div {
  margin-right: 4em;
}

/* --- CRISPRessoPro Promo: Top Banner (Option B) --- */
.cr-promo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--cr-reagent-50, #eef4fa), var(--cr-surface, #fff));
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--cr-reagent-200, rgba(37,99,160,0.20));
  border-radius: var(--cr-radius-md, 5px);
  padding: 0.625rem 1rem;
  margin-bottom: 1.25rem;
  font-size: var(--cr-font-sm, 0.8125rem);
  color: var(--cr-ink-secondary, #3d4f65);
  position: relative;
}
.cr-promo-banner:hover {
  border-color: var(--cr-reagent-400, #3d8ab8);
  box-shadow: 0 2px 8px rgba(37,99,160,0.12);
}
.cr-promo-banner-icon {
  font-size: 1rem;
  color: var(--cr-reagent-500, #2563a0);
  flex-shrink: 0;
}
.cr-promo-banner strong {
  color: var(--cr-ink, #1a2332);
}
.cr-promo-banner-dismiss {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--cr-ink-tertiary, #6c757d);
  cursor: pointer;
  padding: 0.25rem;
  font-size: 0.875rem;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.15s ease;
}
.cr-promo-banner-dismiss:hover {
  opacity: 1;
}
.cr-promo-banner[hidden] {
  display: none;
}

/* --- CRISPRessoPro Promo: Sidebar Card (Option A) --- */
.cr-promo-card {
  border: 1px solid var(--cr-reagent-200, rgba(37,99,160,0.20));
  border-radius: var(--cr-radius-lg, 7px);
  background-color: var(--cr-surface, #fff);
  overflow: hidden;
  margin-top: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cr-promo-card:hover {
  border-color: var(--cr-reagent-400, #3d8ab8);
  box-shadow: 0 2px 8px rgba(37,99,160,0.12);
}
#demo-block.card {
  border: 1px solid var(--cr-reagent-200, rgba(37,99,160,0.20));
  border-radius: var(--cr-radius-lg, 7px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#demo-block.card:hover {
  border-color: var(--cr-reagent-400, #3d8ab8);
  box-shadow: 0 2px 8px rgba(37,99,160,0.12);
}
.cr-promo-card-header {
  background: linear-gradient(135deg, var(--cr-reagent-500, #2563a0), var(--cr-reagent-600, #1b4d80));
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cr-promo-card-body {
  padding: 0.75rem 1rem;
}
.cr-promo-card-body ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0.5rem;
  font-size: var(--cr-font-sm, 0.8125rem);
  color: var(--cr-ink-secondary, #3d4f65);
}
.cr-promo-card-body ul li {
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}
.cr-promo-card-body ul li::before {
  content: '\f0c8';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 0.4rem;
  color: var(--cr-reagent-400, #3d8ab8);
  position: absolute;
  left: 0;
  top: 0.5rem;
}
.cr-promo-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cr-reagent-500, #2563a0);
  background-color: var(--cr-reagent-50, #eef4fa);
  border: 1px solid var(--cr-reagent-200, rgba(37,99,160,0.20));
  border-radius: var(--cr-radius-sm, 3px);
  padding: 0.15rem 0.5rem;
}

/* --- Pro Benefits Page --- */
.cr-pro-hero {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
}
.cr-pro-hero h2 {
  color: var(--cr-ink, #1a2332);
  margin-bottom: 0.5rem;
}
.cr-pro-hero p {
  color: var(--cr-ink-secondary, #3d4f65);
  max-width: 600px;
  margin: 0 auto;
}
.cr-pro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  padding: 0 0.5rem 1.5rem;
}
.cr-pro-feature {
  border: 1px solid var(--cr-border, rgba(26,35,50,0.12));
  border-radius: var(--cr-radius-lg, 7px);
  padding: 1.25rem;
  background-color: var(--cr-surface, #fff);
}
.cr-pro-feature-icon {
  font-size: 1.5rem;
  color: var(--cr-reagent-500, #2563a0);
  margin-bottom: 0.75rem;
}
.cr-pro-feature h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--cr-ink, #1a2332);
  margin-bottom: 0.375rem;
}
.cr-pro-feature p {
  font-size: var(--cr-font-sm, 0.8125rem);
  color: var(--cr-ink-secondary, #3d4f65);
  margin: 0;
}

/* --- Pro Benefits: Comparison Table --- */
.cr-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--cr-border, rgba(26,35,50,0.12));
  border-radius: var(--cr-radius-lg, 7px);
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.cr-compare-table th,
.cr-compare-table td {
  padding: 0.625rem 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--cr-border, rgba(26,35,50,0.12));
}
.cr-compare-table thead th {
  background-color: var(--cr-surface-inset, #eef1f6);
  font-weight: 600;
  color: var(--cr-ink, #1a2332);
}
.cr-compare-table tbody tr:last-child td {
  border-bottom: none;
}
.cr-compare-table tbody tr:hover {
  background-color: var(--cr-surface-inset, #f8f9fa);
}
.cr-compare-pro-col {
  background-color: var(--cr-reagent-50, rgba(37,99,160,0.05));
}
.cr-compare-table tbody .cr-compare-pro-col {
  background-color: var(--cr-reagent-50, rgba(37,99,160,0.05));
}
.cr-compare-check {
  color: var(--cr-reagent-500, #2563a0);
}
.cr-compare-dash {
  color: var(--cr-ink-tertiary, #6c757d);
  opacity: 0.4;
}

/* --- Pro Benefits: FAQ --- */
.cr-faq {
  margin: 0 auto;
}
.cr-faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 0.75rem 0;
}
.cr-faq-item summary {
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.cr-faq-item summary::before {
  content: "+";
  display: inline-block;
  width: 1.25rem;
  font-weight: 600;
  color: var(--cr-reagent-500, #2563a0);
}
.cr-faq-item[open] summary::before {
  content: "\2212";
}
.cr-faq-item p {
  margin: 0.5rem 0 0 1.25rem;
  color: var(--cr-ink-secondary, #495057);
}

/* --- Pro Benefits: Bento Waitlist Form --- */
#bento-formkit-wkkmq {
  width: 100% !important;
  max-width: 480px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  background: transparent !important;
  font-family: inherit !important;
  text-align: center !important;
}
.bento-formkit-headline {
  margin: 0 0 0.25rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  color: var(--cr-ink, #1a2332) !important;
  line-height: 1.4 !important;
}
.bento-formkit-subheader {
  margin: 0 0 1rem !important;
  color: var(--cr-ink-secondary, #3d4f65) !important;
  font-size: 0.8125rem !important;
}
#bento-formkit-wkkmq .form-inputs-container {
  display: flex !important;
  flex-direction: row !important;
  gap: 0.5rem !important;
}
#bento-formkit-wkkmq input[type="text"],
#bento-formkit-wkkmq input[type="email"] {
  width: 100% !important;
  border-radius: var(--cr-radius-md, 5px) !important;
  border: 1px solid var(--cr-border-emphasis, rgba(26,35,50,0.20)) !important;
  background: var(--cr-surface, #fff) !important;
  color: var(--cr-ink, #1a2332) !important;
  box-sizing: border-box !important;
  padding: 0.375rem 0.75rem !important;
  font-size: 0.9rem !important;
}
#bento-formkit-wkkmq input::placeholder {
  color: var(--cr-ink-tertiary, #6c757d) !important;
}
#bento-formkit-wkkmq input:focus {
  outline: none !important;
  border-color: var(--cr-border-focus, rgba(37,99,160,0.50)) !important;
  box-shadow: 0 0 0 3px var(--cr-border-focus, rgba(37,99,160,0.50)) !important;
}
#bento-formkit-wkkmq button {
  width: auto !important;
  flex-shrink: 0 !important;
  border-radius: var(--cr-radius-md, 5px) !important;
  border: none !important;
  background: var(--cr-reagent-500, #2563a0) !important;
  color: #fff !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  padding: 0.375rem 1.25rem !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease !important;
}
#bento-formkit-wkkmq button:hover {
  filter: none !important;
  background: var(--cr-reagent-600, #1b4d80) !important;
}
.bento-formkit-disclosure {
  margin-top: 0.75rem !important;
  color: var(--cr-ink-tertiary, #6c757d) !important;
  font-size: 0.7rem !important;
  line-height: 1.45 !important;
}
@media (max-width: 576px) {
  #bento-formkit-wkkmq .form-inputs-container {
    flex-direction: column !important;
  }
}

/* --- CRISPRessoPro Signup Page --- */
.cr-signup-container {
  max-width: 520px;
  margin: 0 auto;
}
.cr-signup-header {
  text-align: center;
  margin-bottom: 1.75rem;
}
.cr-signup-header h3 {
  color: var(--cr-ink, #1a2332);
  margin-bottom: 0.25rem;
}
.cr-signup-header p {
  color: var(--cr-ink-secondary, #3d4f65);
  font-size: var(--cr-font-sm, 0.8125rem);
  margin: 0;
}
.cr-signup-section-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cr-reagent-500, #2563a0);
  margin-bottom: 1rem;
}
.cr-signup-section-label i {
  font-size: 0.75rem;
}
.cr-signup-container .form-label {
  position: static;
  padding-right: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--cr-ink-secondary, #3d4f65);
  margin-bottom: 0.25rem;
}
.cr-signup-container .form-control {
  border-color: var(--cr-border-emphasis, rgba(26,35,50,0.20));
  font-size: 0.9rem;
}
.cr-signup-container .form-control::placeholder {
  color: var(--cr-ink-tertiary, #6c757d);
  font-size: 0.85rem;
}
.cr-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* --- Plan Toggle Cards --- */
.cr-plan-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.cr-plan-option {
  position: relative;
  border: 2px solid var(--cr-border, rgba(26,35,50,0.12));
  border-radius: var(--cr-radius-lg, 7px);
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: var(--cr-surface, #fff);
}
.cr-plan-option:hover {
  border-color: var(--cr-reagent-400, #3d8ab8);
}
.cr-plan-option.selected {
  border-color: var(--cr-reagent-500, #2563a0);
  box-shadow: 0 0 0 1px var(--cr-reagent-500, #2563a0);
  background: var(--cr-reagent-50, rgba(37,99,160,0.04));
}
.cr-plan-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--cr-ink, #1a2332);
  margin-bottom: 0.125rem;
}
.cr-plan-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cr-ink, #1a2332);
  line-height: 1.2;
}
.cr-plan-price span {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--cr-ink-secondary, #3d4f65);
}
.cr-plan-save {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #1a7a3a;
  background: #e6f4ea;
  border-radius: var(--cr-radius-sm, 3px);
  padding: 0.1rem 0.375rem;
  margin-top: 0.375rem;
}

/* --- Seats Selector --- */
.cr-seats-section {
  border: 1px solid var(--cr-border, rgba(26,35,50,0.12));
  border-radius: var(--cr-radius-lg, 7px);
  padding: 1rem;
  background: var(--cr-surface, #fff);
}
.cr-seats-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cr-seats-header .form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--cr-ink, #1a2332);
}
.cr-seats-price-label {
  font-size: 0.8125rem;
  color: var(--cr-ink-secondary, #3d4f65);
}
.cr-seats-desc {
  font-size: 0.75rem;
  color: var(--cr-ink-tertiary, #6c757d);
  margin: 0.25rem 0 0.75rem;
}
.cr-seats-control {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 140px;
}
.cr-seats-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--cr-border-emphasis, rgba(26,35,50,0.20));
  background: var(--cr-surface-inset, #f8f9fa);
  color: var(--cr-ink-secondary, #3d4f65);
  cursor: pointer;
  font-size: 0.75rem;
  transition: background-color 0.1s ease;
}
.cr-seats-btn:first-child {
  border-radius: var(--cr-radius-md, 5px) 0 0 var(--cr-radius-md, 5px);
}
.cr-seats-btn:last-child {
  border-radius: 0 var(--cr-radius-md, 5px) var(--cr-radius-md, 5px) 0;
}
.cr-seats-btn:hover {
  background: var(--cr-surface-hover, #e9ecef);
}
.cr-seats-input {
  width: 50px;
  height: 36px;
  text-align: center;
  border: 1px solid var(--cr-border-emphasis, rgba(26,35,50,0.20));
  border-left: none;
  border-right: none;
  background: var(--cr-surface, #fff);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cr-ink, #1a2332);
  -moz-appearance: textfield;
  appearance: textfield;
}
.cr-seats-input::-webkit-outer-spin-button,
.cr-seats-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* --- Order Summary --- */
.cr-order-summary {
  border: 1px solid var(--cr-border, rgba(26,35,50,0.12));
  border-radius: var(--cr-radius-lg, 7px);
  padding: 0.75rem 1rem;
  background: var(--cr-surface-inset, #f8f9fa);
}
.cr-order-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--cr-ink-secondary, #3d4f65);
  padding: 0.25rem 0;
}
.cr-order-total {
  border-top: 1px solid var(--cr-border, rgba(26,35,50,0.12));
  margin-top: 0.25rem;
  padding-top: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cr-ink, #1a2332);
}

/* --- Signup Submit & Footer --- */
.cr-signup-submit {
  width: 100%;
  padding: 0.625rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--cr-radius-md, 5px);
  background: var(--cr-reagent-500, #2563a0);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.cr-signup-submit:hover {
  background: var(--cr-reagent-600, #1b4d80);
}
.cr-signup-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.cr-trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--cr-ink-tertiary, #6c757d);
}
.cr-trust-line i {
  font-size: 0.625rem;
}
.cr-signup-footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: var(--cr-font-sm, 0.8125rem);
  color: var(--cr-ink-secondary, #3d4f65);
}
.cr-signup-footer a {
  color: var(--cr-reagent-500, #2563a0);
}
@media (max-width: 576px) {
  .cr-field-row {
    grid-template-columns: 1fr;
  }
  .cr-plan-toggle {
    grid-template-columns: 1fr;
  }
}
