/* Simple CSS for the modal overlay and content */
#electra-pricing-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

#electra-address-confirm-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.electra-modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be less or more */
  max-width: 600px;
  border-radius: 8px;
  position: relative;
}

.electra-close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.electra-close-btn:hover,
.electra-close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#electra-address-form input[type="text"],
#electra-estimate-form input[type="text"],
#electra-estimate-form input[type="email"],
#electra-estimate-form textarea {
  width: 100%;
  padding: 10px;
  margin: 5px 0 15px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 4px;
}

.request-pricing {
  border-radius: 900px !important;
  height: clamp(3rem, 0.4vw + 2.9rem, 3.375rem) !important;
  border: 1px solid transparent !important;
  outline: 0 !important;
  background-color: #f2f2f2 !important;
  padding: 0 24px !important;
  font-family: Lato, sans-serif !important;
  font-size: 16px !important;
  transition: 0.3s !important;
  margin: 15px 0 15px 0 !important;
}

h2.address-modal-title {
  margin-bottom: 15px;
}

.dot-loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; /* Important for centering within the overlay */
  width: 100%;
}

/* --- 2. The Individual Dot Style --- */
.loading-dot {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: #4caf50; /* Prominent Green */
  border-radius: 50%;
  opacity: 0; /* Start hidden */
  animation: dot-bounce 1.4s infinite ease-in-out both; /* Apply animation */
}

/* --- 3. Animation Timing (Staggered Delay) --- */
.loading-dot:nth-child(1) {
  animation-delay: -0.32s; /* Start earlier */
}

.loading-dot:nth-child(2) {
  animation-delay: -0.16s;
}

/* --- 4. Animation Keyframes (The Bounce/Fade Effect) --- */
@keyframes dot-bounce {
  0%,
  80%,
  100% {
    transform: scale(0); /* Hidden or tiny */
    opacity: 0;
  }
  40% {
    transform: scale(1); /* Full size/prominent */
    opacity: 1;
  }
}

/* Original small loader style (retained for button usage) */
.electra-loader {
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 2px solid #ffffff;
  width: 14px;
  height: 14px;
  /* ... animation styles ... */
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

#global-pricing-loader {
  position: fixed; /* CRITICAL: Stays centered in the viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* Background: Slightly transparent white/light */
  background-color: rgba(255, 255, 255, 0.7);

  z-index: 10000; /* Must be extremely high */

  /* Center the spinner using Flexbox */
  display: none; /* Starts hidden */
  justify-content: center;
  align-items: center;
}

.modal-overlay {
  position: fixed; /* Ensures it covers the entire viewport, ignoring scroll */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* CRITICAL: Must be higher than any other element (like the pricing modal or the global loader) */
  z-index: 10000;

  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background */
  display: flex;
  justify-content: center; /* Center the modal box */
  align-items: center; /* Center the modal box */
}

/* Modal Content Box (the actual white box inside the overlay) */
.modal-content.estimate-content {
  background: white;
  padding: 30px;
  /* Give it a fixed size or max-width so it doesn't collapse */
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /* CRITICAL: Ensure it is visible above the overlay */
  z-index: 10001;
  border-radius: 20px;
  position: relative;
  margin: 20px auto;
}

.form-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}
.form-logo img {
  width: 40%;
}

.address-display {
  /* display: flex; */
}

.firstplace {
  display: flex;
  gap: 30px;
}

.secondplace {
  display: flex;
  gap: 30px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-top: 22px;
}

#electra-address-form input[type="text"],
#electra-estimate-form input[type="text"],
#electra-estimate-form input[type="email"],
#electra-estimate-form textarea {
  width: 100%;
  padding: 5px;
  margin: 0px 0 5px 0;
  display: inline-block;
  border: none;
  box-sizing: border-box;
  border-radius: 30px;
  /* border-color: black; */
  border-width: 2px;
  background-color: #f2f2f2;
  padding: 10px 20px;
  margin-top: 6px;
}

.street {
  width: 100%;
}
.city {
  width: 60%;
}

/* .checkboxfirstrow {
    display: flex;
    gap: 40px;
    padding-bottom: 10px;
} */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px 10px;
  margin-top: 10px;
}

.checkboxfirstrow {
  display: contents;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.checkbox-item input[type="checkbox"] {
  margin: 0;
  cursor: pointer;
  width: 16px;
  height: 16px;
}

.checkbox-item label {
  cursor: pointer;
  white-space: nowrap;
}

.address-display {
  /* display: flex; */
  /* border: 2px solid;
    padding: 20px;
    border-radius: 60px;
    border-color: #f2f2f2; */
}
fieldset.project-details {
  border: 1px solid #cccccc;
  border-radius: 15px;
  margin-top: 10px;
}

fieldset.service-details {
  border: none;
  margin-top: 10px;
}

fieldset.notes-details {
  border: none;
  padding: 0;
}

.headerheading h1 {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 10px;
}

.headerheading p {
  font-size: 16px;
}

label {
  font-size: 14px;
  padding-left: 5px;
}

button#electra-send-estimate-btn {
  padding: 10px 30px 10px 30px;
  border-radius: 30px;
  background-color: green;
  border-width: 0;
  color: white;
}

textarea#estimate-notes {
  border-radius: 16px;
}

.modal-overlay.modal-thank-you .modal-content.thank-you-content {
  max-width: 350px;
  padding: 20px;
  text-align: center;
  /* You can add a border-color or green shadow here for emphasis */
}

.modal-content.thank-you-content {
  background-color: white;
  /* border: 2px solid green; */
  border-radius: 15px;
}
.modal__close {
  position: absolute;
  top: 7px;
  right: 7px;
}

.form-footer {
  margin: 10px 0px;
}

.submitbtn {
  display: flex;
  justify-content: right;
}

.estimate-content::-webkit-scrollbar {
  width: 10px;
}

.estimate-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 100px;
}

.estimate-content::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 100px;
  border: 2px solid #f1f1f1;
}
.search-wrapper {
  display: flex;
  justify-content: center;
}

.search-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 900px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.search-icon-left {
  padding-left: 15px;
  display: flex;
  align-items: center;
}

#address-search {
  flex: 1;
  border: none;
  padding: 12px 15px;
  font-size: 16px;
  outline: none;
  color: #333;
}

#address-search::placeholder {
  color: #999;
}

.pac-container {
  z-index: 10000 !important; /* Ensure it stays above the search-wrapper */
  background-color: #fff;
  border-radius: 8px;
  margin-top: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-family: inherit;
}

.pac-item {
  padding: 2px;
  cursor: pointer;
}

.search-button {
  background-color: #1da851;
  border: none;
  padding: 0 20px;
  height: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.search-button:hover {
  background-color: #168a42;
}

@media (max-width: 480px) {
  .search-container {
    max-width: 100%;
  }
}

:root {
  --primary-green: #14a24d;
  --bg-light: #f4f4f4;
  --text-dark: #1a1a1a;
  --text-muted: #666;
  --card-bg: #ffffff;
}



.pricing-container-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
 
}

.card {
  background-color: var(--card-bg);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.card-header {
  background-color: #e8f6ee;
  margin: -30px -30px 20px -30px;
  padding: 30px;
  border-radius: 24px 24px 0 0;
}

.plan-name {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.price {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
}

.price span {
  color: var(--primary-green);
  font-weight: bold;
}

.subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.4;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  /* display: grid;
  grid-template-columns: 1fr 1fr; */
  gap: 15px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.dot {
  height: 8px;
  width: 8px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
  margin-top: 6px;
  flex-shrink: 0;
}

.active-dot {
  background-color: var(--primary-green);
}

.ideal-section {
  border-top: 1px solid #eee;
  padding-top: 15px;
  margin-bottom: 20px;
}

.ideal-title {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.ideal-text {
  font-weight: 500;
  font-size: 0.95rem;
}

.btn {
  background-color: var(--primary-green);
  color: white;
  text-decoration: none;
  padding: 15px;
  border-radius: 50px;
  border: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-weight: bold;
  gap: 10px;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.9;
}

.arrow-circle {
  background: white;
  color: var(--primary-green);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.cut-card {
    background-color: #14a24d91;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    transition: transform 0.3s ease;
}
.cut-card:hover{
  transform: translateY(-10px);
}

.cut.card-header {
    background-color: #14a24d91;
}
.cut.card-header .plan-name {
    color:white;
}
.cut card-header .price span{
  color: #000000 !important;
}
.cut.card-header .price{
    color:white;
}
.cut.card-header .subtitle{
    color:white;
}
.cut-price {
    font-size: 20px;
    font-weight: 500;
    color: white;
}
.cut-price span{
    color:black;
    font-weight:bold;
}
.cut-features-list.list-reset .feature-item {
    color:white;
}
.cut-features-list.list-reset {
    color:white;
    list-style: none;
    padding: 0;
    margin: 20px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.cut-features-list.list-reset .dot{
    background:#14a24d;
}
.cut-ideal-section {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-bottom: 20px;
}
.cut-ideal-section .ideal-title{
    color:white;
}
.cut-ideal-section .ideal-text{
    color:white;
}

.cut-btn{
    background-color: #fff;
    color: #000000;
    text-decoration: none;
    padding: 15px;
    border-radius: 50px;
    border: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-weight: bold;
    gap: 10px;
    transition: opacity 0.2s;
}
.cut-btn .arrow-circle {
    background: #14a24d;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.service-intro__header.view-pricing-active {
    text-align: center;
}

.view-pricing-active .section__description {
    width: 100%;
}

.confirmed-address-badge{
  text-align: center;
}

#main-search-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
}

/* The Spinner */
.btn-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff; /* White spinner color */
    animation: spin-animation 0.8s ease-in-out infinite;
    display: inline-block;
}

@keyframes spin-animation {
    to { transform: rotate(360deg); }
}

/* Visual feedback that the button is busy */
#main-search-btn.is-loading {
    cursor: wait;
    filter: brightness(0.9);
}

@media (max-width: 1200px) {
  .pricing-container-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .pricing-container-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .pricing-container-grid {
    grid-template-columns: 1fr;
  }
}

#electra-address-ribbon {
  display: none; /* Hidden by default - JS shows it only when an address exists */
  position: fixed;
  top: var(--header-height, 88px);
  left: 0;
  width: 100%;
  z-index: 999;
  background: #fff;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding: 6px 70px 6px 0;
  box-sizing: border-box;
  font-size: 12px !important;
  flex-shrink: 0;
  overflow: visible;
  border-bottom: 1px solid #eee;
  margin-top: -2px;
}

#ribbon-label,
.ribbon-label {
  margin: 0;
  padding: 0;
  white-space: nowrap;
  font-weight: 600;
  color: #000;
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}

.ribbon-dynamic-text {
  line-height: 1.4 !important;
  text-align: left;
  margin: 0;
  white-space: pre-line;
  font-weight: 600;
  color: #238C47;
  font-size: 12px !important;
}

#electra-address-ribbon[data-price-found="false"] .ribbon-dynamic-text {
  color: #e74c3c;
}

.ribbon-action {
  margin: 0;
  line-height: 1.4;
  align-self: flex-end;
  padding-bottom: 1px;
}

.ribbon-action a,
#ribbon-action {
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  font-style: italic;
  text-decoration: none;
  white-space: nowrap;
}

.ribbon-action a:hover,
#ribbon-action:hover {
  text-decoration: underline;
}
