/* Email Results Button */
.email_results_button {
  background-color: transparent;
  border: 2px solid #6ee7b7;
  color: #6ee7b7;
  margin-top: 12px;
  font-size: 14px;        /* smaller text */
  height: 44px;           /* smaller height vs 60px */
  width: auto;            /* don't stretch full width */
  padding: 0 24px;        /* horizontal padding instead */
  align-self: flex-end;   /* align to the right */
}
.email_results_button:hover {
  background-color: rgba(110, 231, 183, 0.1);
}

/* Popup Overlay */
.email-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Popup Box */
.email-popup-box {
  background: #1f1f4e;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 36px 32px;
  width: 100%;
  max-width: 460px;
  position: relative;
  color: #fff;
  font-family: "Urbanist", sans-serif;
}
.email-popup-box h3 {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 700;
}
.email-popup-result-preview {
  color: #6ee7b7;
  font-size: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}
.email-popup-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}
.email-popup-field label {
  font-size: 14px;
  font-weight: 600;
  color: #e2e2ff;
  margin-bottom: 6px;
}
.email-popup-field input {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 16px;
  height: 48px;
  padding: 0 14px;
  outline: none;
  font-family: "Urbanist", sans-serif;
}
.email-popup-field input::placeholder {
  color: rgba(255,255,255,0.4);
}
.email-popup-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}
.email-popup-close:hover {
  color: #fff;
}
/* Container and Background */
.prospect-calculator {
  background: #181A41 !important;
  color: #fff;
  width: 100%;
  border-radius: 0;
  /* Retain existing font styles: no changes here */
}

/* Heading Area */
.prospect-calculator-heading-area {
  max-width: 1140px;
  margin: auto;
  text-align: center;
}
.prospect-calculator-heading-area h1 {
  /* Font styles preserved as original */
  color: #fff;
  font-size: 48px;
  line-height:60px;
}
.prospect-calculator-heading-area p {
  /* Font styles preserved */
  color: #fff;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  margin-top: 15px;
}

/* Form Styling */
.calculator_form {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* Labels */
.calculator_form_group label {
  color: #e2e2ff;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 8px;
  display: block;
  font-weight: bold;
  letter-spacing: 0.5px;
}

/* Input container */
.calculator_form_group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative !important;
  width: 100%;
}

/* Icon styles (positioning) */
.calculator_icon {
/*   position: absolute !important;
  width: 27px;
  height: 27px;
  bottom: 18px !important;
  left: 14px !important;
  pointer-events: none;
  display: flex;
  align-items: center; */
    position: absolute !important; 
    width: 27px !important;
    height: 27px !important;
    top: 45% !important;
    bottom: auto !important;
    /* transform: translateY(-50%); */
    left: 14px !important;
    pointer-events: none;
    display: block !important;
    /* object-fit: contain; */
}

/* Input fields */
.calculator_form_group_input {
  background-color: rgba(255, 255, 255, 0.1) !important;
  outline: none; !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: white !important;
  font-size: 24px !important;
  line-height: 36px;
  font-weight: 500;
  letter-spacing: 0.32%;
  height: 60px !important;
  width: 100%;
  padding-left: 48px !important;
  box-sizing: border-box;
}

/* Placeholder color */
.calculator_form_group_input::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Keyboard focus - visible outline for inputs */
/* .calculator_form_group_input:focus {
  outline: 3px solid #17ba7c;
  outline-offset: 3px;
} */

/* Result Label */
.calculator_results {
  margin-top: 50px;
  padding-top: 21px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

@media screen and (max-width: 768px) {
    .prospect-calculator-heading-area h1 {
  /* Font styles preserved as original */
  color: #fff;
  font-size: 32px;
  line-height:48px;
}
  .calculator_results {
    align-items: flex-start;
  }
}

.calculator_results_value {
  color: #6ee7b7;
  font-size: 36px;
  line-height: 47px;
  font-weight: 600;
  text-align: end;
  outline-offset: 3px;
    transition: opacity 0.2s ease;
    opacity:1;
}

/* To allow keyboard focus on results */
/* .calculator_results_value:focus {
  outline: 3px solid #17ba7c;
} */

/* Result subtitle */
.calculator_results_subtitle {
  color: #d3d3d3;
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
}

/* Button styling */
.calculator_button {
  background-color: #003cb0;
  border: none;
  color: white;
  font-size: 20px;
  line-height: 20px;
  font-weight: 400;
  width: 100%;
  height: 60px;
  margin-top: 50px;
  cursor: pointer;
  align-self: center;
  transition: background 0.15s ease;
  outline-offset: 3px;
  outline-color: transparent;
}

/* Button hover and focus-visible styles */
/* .calculator_button:hover,
.calculator_button:focus-visible {
  background: #2258cf;
  outline: 3px solid #17ba7c;
  outline-offset: 3px;
} */

/* Responsive styles */
@media (max-width: 767px) {
  .prospect-calculator-heading-area h1 {
    /* Font styles preserved */
    color: #fff;
    text-align: center;
     font-size: 32px;
  line-height:48px;
    font-style: normal;
    font-weight: 600;
  
  }
  .prospect-calculator-heading-area p {
    /* Font styles preserved */
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.08px;
  }
}

/* Additional container styling */
.calculator_body {
  background-color: #181a41;
  font-family: "Urbanist", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 68px;
}

.calculator_body * {
  margin: 0;
}

.calculator_form {
  background-color: #1f1f4e;
  padding: 34px;
  width: calc(100% - 48px);
  max-width: 1140px;
  display: flex;
  flex-direction: column;
}

/* Screen reader only text */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
