.elementor-2252 .elementor-element.elementor-element-e5a73aa{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:30px;--padding-left:0px;--padding-right:0px;}@media(max-width:1200px){.elementor-2252 .elementor-element.elementor-element-e5a73aa{--padding-top:0px;--padding-bottom:24px;--padding-left:24px;--padding-right:24px;}}@media(max-width:1024px){.elementor-2252 .elementor-element.elementor-element-e5a73aa{--padding-top:0px;--padding-bottom:24px;--padding-left:0px;--padding-right:0px;}}@media(max-width:767px){.elementor-2252 .elementor-element.elementor-element-e5a73aa{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}}@media(min-width:768px){.elementor-2252 .elementor-element.elementor-element-e5a73aa{--content-width:848px;}}/* Start custom CSS for html, class: .elementor-element-49f5086 */@media (max-width: 767px) {
  /* Prevent the controls row from forcing a horizontal scroll */
  .pricing-controls {
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
  }

  /* Make the pill toggle container fit the screen width */
  .billing-toggle {
    display: flex !important;
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
  }

  /* Ensure buttons share the space equally */
  .billing-toggle button {
    flex: 1 !important;
    padding: 10px 10px !important;
    font-size: 0.85rem !important; /* Smaller text for narrow screens */
    white-space: nowrap !important;
  }

  /* Adjust the badge so it doesn't push the button too wide */
  .save-badge {
    margin-left: 4px !important;
    padding: 2px 8px !important;
    font-size: 0.65rem !important;
  }
}

/* =========================================================
   1. CALCULATOR VARIABLES
   ========================================================= */

:root {
  --navy: #0C3B5E;
  --navy-light: #1A5276;

  --teal: #0E9E8E;
  --teal-dark: #0B7A6E;
  --teal-light: #E8F8F5;

  --green: #27AE60;
  --green-light: #EAFAF1;

  --white: #FFFFFF;
  --bg-light: #F5F7FA;

  --text: #2D3748;
  --text-main: #2D3748;
  --text-muted: #718096;
  --text-light: #A0AEC0;

  --border: #E2E8F0;

  --shadow-sm:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.06);

  --shadow-md:
    0 4px 6px rgba(0, 0, 0, 0.07),
    0 2px 4px rgba(0, 0, 0, 0.06);

  --shadow-lg:
    0 10px 25px rgba(0, 0, 0, 0.10),
    0 6px 10px rgba(0, 0, 0, 0.08);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-pill: 50px;

  --transition: 0.3s ease;
  --transition-fast: 0.15s ease;
}


/* =========================================================
   2. CALCULATOR SECTION AND CONTAINER
   ========================================================= */

.calculator-section {
  padding: 80px 24px;
  background: var(--white);
}

.calculator-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.calc-input-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
}


/* =========================================================
   3. USER SLIDER
   ========================================================= */

.slider-wrapper {
  position: relative;
}

.slider-value-bubble {
  position: absolute;
  top: -36px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: left var(--transition-fast);
}

.slider-value-bubble::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  border-top: 6px solid var(--navy);
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  transform: translateX(-50%);
}

.calculator-container input[type="range"] {
  width: 100%;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--border);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.calculator-container input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 4px;
  background: var(--border);
}

.calculator-container input[type="range"]::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  margin-top: -8px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.20);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: transform var(--transition-fast);
}

.calculator-container input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calculator-container input[type="range"]::-moz-range-track {
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 4px;
  background: var(--border);
}

.calculator-container input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.20);
  cursor: pointer;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.78rem;
}


/* =========================================================
   4. BILLING TOGGLE
   ========================================================= */

.pricing-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 36px;
  margin-bottom: 24px;
}

.billing-toggle {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  padding: 4px;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
}

.billing-toggle button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 28px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.billing-toggle button:not(.active):hover,
.billing-toggle button:not(.active):focus {
  background: transparent;
  color: var(--text-muted);
  box-shadow: none;
  transform: none;
}

.billing-toggle button.active {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(14, 158, 142, 0.30);
}


/* Annual savings badge */

.save-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--green-light);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.billing-toggle button.active .save-badge {
  background: var(--white);
  color: var(--green);
}


/* =========================================================
   5. ADD-ON CHECKBOX
   ========================================================= */

.calc-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.calc-checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
}

.calc-checkbox-group input[type="checkbox"] {
  flex: 0 0 auto;
  margin: 0;
}


/* =========================================================
   6. ESTIMATED RESULT
   ========================================================= */

.calc-result {
  margin-bottom: 24px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--bg-light);
  text-align: center;
}

.calc-result-label {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.calc-result-amount {
  color: var(--navy);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  transition: all var(--transition);
}

.calc-result-amount .mo {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

.calc-result-annual {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.9rem;
}


/* =========================================================
   7. PRICE BREAKDOWN
   ========================================================= */

.calc-breakdown {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.calc-breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  font-size: 0.9rem;
}

.calc-breakdown-row:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.calc-breakdown-row .label {
  color: var(--text-muted);
}

.calc-breakdown-row .value {
  flex: 0 0 auto;
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}


/* Total row */

.calc-breakdown-row.total {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 2px solid var(--navy);
  font-size: 1.05rem;
}

.calc-breakdown-row.total .label {
  color: var(--navy);
  font-weight: 700;
}

.calc-breakdown-row.total .value {
  color: var(--navy);
  font-size: 1.2rem;
}


/* Savings row */

.calc-breakdown-row.savings {
  margin: 8px -16px;
  padding: 10px 16px;
  border-bottom: none;
  border-radius: var(--radius-sm);
  background: var(--green-light);
}

.calc-breakdown-row.savings .label {
  color: var(--green);
  font-weight: 600;
}

.calc-breakdown-row.savings .value {
  color: var(--green);
}


/* =========================================================
   8. GET STARTED BUTTON
   ========================================================= */

.calculator-form-cta {
  max-width: 800px;
  margin: 24px auto 0;
}

.justmsp-pill-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: var(--shadow-md);
  color: var(--white) !important;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.justmsp-pill-button:hover,
.justmsp-pill-button:focus {
  background: var(--teal-dark);
  box-shadow: var(--shadow-lg);
  color: var(--white) !important;
  transform: translateY(-1px);
}


/* =========================================================
   9. ELEMENTOR POPUP CONFIRMATION FIELDS
   ========================================================= */

#form-field-pricing_users_visible,
#form-field-pricing_monthly_total_visible {
  border: 1px solid var(--border);
  background: var(--bg-light);
  color: var(--navy);
  font-weight: 800;
  cursor: default;
}


/* =========================================================
   10. MOBILE
   ========================================================= */

@media (max-width: 767px) {
  .calculator-section {
    padding: 48px 16px;
  }

  .calculator-container {
    padding: 36px 20px;
    border-radius: var(--radius);
  }

  .pricing-controls {
    gap: 16px;
  }

  .billing-toggle {
    width: 100%;
  }

  .billing-toggle button {
    flex: 1 1 50%;
    padding: 10px 14px;
  }

  .save-badge {
    padding: 4px 8px;
  }

  .calc-result {
    padding: 28px 18px;
  }

  .calc-result-amount {
    font-size: 2.5rem;
  }

  .calc-breakdown-row {
    align-items: flex-start;
    gap: 16px;
  }
}/* End custom CSS */