.atlas-utility-provider-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}

.atlas-utility-provider-popup {
  position: relative;
  background: #fff;
  max-width: 90%; /* responsive */
  border-radius: 6px;
  box-shadow: 0 0 18px rgba(0,0,0,0.25);
  padding: 2px;
}

    .popup-close-btn {
    position: absolute;

    top: 10px;
    right: 12px;

    width: 12px;
    height: 24px;

    border: none;
    background: transparent;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 999;
}

  .popup-close-icon {
    font-size: 24px;
    line-height: 24px;
    color: var(--primary-button-hover-background-color);
    font-weight: 400;
    display: block;
}


/* Background Overlay */
.utility-provider-popup {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.45);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}


/* Heading */
.utility-provider-modal h2 {
    font-weight: 700;
    font-style: normal;
    font-size: 23px;
    line-height: 28px;
    letter-spacing: 0;
    color: #222;
    margin: 0 0 12px;
}

/* Subtitle text */
.utility-provider-subtitle {
margin: 0 0 24px 0;
color: #555;
font-size: 14px;
}

/* Form group */
.utility-provider-form-group {
margin-bottom: 22px;
display: flex;
flex-direction: column;
}

.utility-provider-form-group label {
margin-bottom: 6px;
font-size: 16px;
color: #4D4D4D;
font-weight: var(--font-weight-bold, 900);
}

.utility-provider-form-group select {
padding: 10px 30px 10px 10px;
font-size: 14px;
border: 1px solid #ccc;
border-radius: 4px;
height: 40px;
}

.utility-provider-name-value {
  text-transform: uppercase;
}

.utility-provider-name-change {
cursor: pointer;
text-decoration: underline !important;
}

/* Continue Button */

.utility-provider-continue-btn {
width: 40%;
padding: 10px 22px;
border: none;
border-radius: 4px;
font-size: 15px;
margin-top: 12px;
cursor: pointer;
float: right;
background-color: var(--primary-button-background-color);
color: var(--primary-button-text-color);
border: 1px solid var(--primary-button-border-color);
vertical-align: middle;
}
.utility-provider-cr-btn {
  border-radius: 0px;
  box-sizing: border-box;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Nunito Sans";
  font-size: 1.6rem;
  font-weight: var(--font-weight-bold, 700);
  line-height: 20px;
  margin-bottom: 20px;
  max-width: 430px;
  min-height: 40px;
  padding: 15px 25px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  width: 40%;
}
.utility-provider-continue-btn:hover {
  background-color: var(--primary-button-hover-background-color);
  color: var(--primary-button-hover-text-color);
  text-decoration: none;
  border: 1px solid var(--primary-button-hover-border-color);
  border-radius: 0;
}

.utility-provider-subtitle-bold {
  font-weight: 700;
  font-size: 16px;
  color : var(--primary-button-border-color);
  cursor: pointer;
  text-decoration: underline !important;
}

.category-products-subtitle {
  color: #707070 !important;
  margin-bottom: 24px !important;
}

.catalog-category-view {
  .page-wrapper {
      #maincontent {
          .page-title-wrapper {
              h1 {
                  margin-bottom: 16px;
              }
          }
      }
  }
}

.provider-button-wrapper {
    width: 100%;
    margin-top: 24px;
}

.provider-button-wrapper.two-buttons {
    display: flex;
    gap: 12px;
}

.provider-button-wrapper.two-buttons .exit-provider-btn {
    flex: 1;
    min-height: 52px;
    background: #fff;
    color: #17294E;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    border: none;
}

.provider-button-wrapper.two-buttons .find-provider-btn {
    flex: 3;
    width: 100%;
    min-height: 52px;

    background-color: var(--primary-button-hover-background-color);
    color: var(--primary-button-hover-text-color);

    font-size: 16px;
    font-weight: 700;

    border: none;
    border-radius: 4px;

    cursor: pointer;

    transition: all 0.3s ease;
}

.zip-input-container {
    position: relative;
    width: 100%;
}

.zip-input-container input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    box-sizing: border-box;
}

.zip-input-container input.zip-filled {
    color: transparent;
    caret-color: transparent;
}

.zip-overlay {
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    background: #fff;
    z-index: 2;
}

.zip-overlay-text {
    color: #17294E;
    font-weight: 500;

    span {
    font-weight: bold;
    }
}

.zip-change-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--primary-button-hover-background-color);
    cursor: pointer;
    font-size: 14px;
}

.utility-provider-modal {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;

    p {
    font-size: 14px;
    }

     .provider-help-heading {
    font-weight: 400; 
    font-style: normal; 
    font-size: 16px !important;
    line-height: 24px; 
    letter-spacing: 0; 
    margin-bottom: 16px; 
    color: #000; 
    } 
                    
    .provider-help-description { 
    font-weight: 400; 
    font-style: normal; 
    font-size: 16px !important; 
    line-height: 24px; 
    letter-spacing: 0; 
    margin-bottom: 16px; 
    color: #000; 
    } 
                    
    .provider-help-heading { 
    width: 296px; 
    height: 32px; 
    display: flex; 
    align-items: center; 
    gap: 17px; 
    opacity: 1; 
    font-weight: 700; 
    font-style: normal; 
    font-size: 20px !important;  
    line-height: 28.8px; 
    letter-spacing: 0;
    vertical-align: middle; 
    } 

    .utility-provider-content {
        width: 326px;
        min-height: 168px;
        padding: 15px;
        display: flex;
        flex-direction: column;
        opacity: 1;
        box-sizing: border-box;
    }

    .utility-provider-err-message {
        color: #000;
        font-weight: 600;
        font-size: 14px;
        line-height: 22px;
        margin-top: 8px;
        margin-bottom: 16px;
    }

    .utility-provider-subtitle {
        color: #4a4a4a;
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 20px;
    }

    .utility-provider-form-group {

        label {
            display: block;
            color: #343434;
            font-weight: 700;
            font-size: 16px;
            line-height: 24px;
            margin-bottom: 10px;
        }
    }

    .utility-provider-subtitle {
        color: #000;
        font-weight: 600;
    }

    .utility-provider-subtitle-link {
        display: block;
        width: 100%;
        text-align: center;
        color: #000;
        font-weight: 500;
        text-decoration: underline;
        text-underline-offset: 4px;
        cursor: pointer;
        padding-inline: 12px;
        margin-top: 10px;
          &:hover {
              opacity: 0.8;
        }
    }

    .provider-help-text {
        margin-top: 12px;
        color: #000;
        font-size: 14px;
        line-height: 22px;
    }

.loading-provider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 220px;
    padding: 16px 24px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 15px;
    font-weight: 600;
    color: #17294E;
    white-space: nowrap;
}

.loading-provider::before {
    content: "";

    width: 18px;
    height: 18px;

    border: 2px solid #d9d9d9;
    border-top-color: #17294E;

    border-radius: 50%;

    animation: provider-spin 0.7s linear infinite;
}

  .back-provider-btn {
      width: 100%;
      min-height: 52px;

      background-color: var(--primary-button-hover-background-color);
      color: var(--primary-button-hover-text-color);
      border: 1px solid #17294E;

      font-size: 16px;
      font-weight: 700;

      border-radius: 4px;

      cursor: pointer;

      transition: all 0.3s ease;

      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
  }

  .back-provider-btn:hover {
      opacity: 0.8;
  }

  .back-provider-btn .back-arrow-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.utility-provider-select-wrapper {
    width: 100%;
}

.utility-provider-label {
    display: block;

    margin-bottom: 8px;

    font-size: 16px;
    font-weight: 700;

    color: #17294E;
}

.provider-dropdown {
    position: relative;
    width: 100%;

    .dropdown-arrow {
        display: inline-block;
        transition: transform 0.3s ease;
        font-size: 12px;
        color: #667085;
    }

    &.open {

        .dropdown-arrow {
            transform: rotate(180deg);
        }
    }
}

.provider-dropdown-selected {
    height: 56px;
    padding: 16px;

    border: 1px solid #D0D5DD;
    border-radius: 4px;

    background: #fff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    cursor: pointer;

    font-size: 16px;
}

.provider-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #D0D5DD;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 212px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 999;
}

.provider-dropdown-item {
    margin: 0 !important;
    padding: 16px;
    list-style: none;
    cursor: pointer;
    border-bottom: 1px solid #070708;
}

.provider-dropdown-item:last-child {
    border-bottom: none;
}

.provider-dropdown-item:hover {
    background: #F5F7FA;
}

    .find-provider-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    &:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

    .button-loader {
        width: 16px;
        height: 16px;
        border: 2px solid #fff;
        border-top: 2px solid transparent;
        border-radius: 50%;
        animation: button-spin 0.7s linear infinite;
      }
  }

  @keyframes button-spin {
      from {
          transform: rotate(0deg);
      }

      to {
          transform: rotate(360deg);
      }
  }

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


/* Fade-in animation */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}

/* --- Mobile / Small Screen Fixes --- */
@media (max-width: 480px) {
.utility-provider-modal {
  position: relative;
    width: 344px;
    min-height: 302px;
    padding: 10px;
    border-radius: 4px;
    box-sizing: border-box;
}
}

/* --Top header related CSS-- */

.header.panel>.header.links{
margin: 1rem 0 !important;
height: 20px !important;
}

span.energy-provider-label {
padding-left: 26px;
display: flex;
}
.utility-provider-name-value {
padding-left: 5px;
padding-right: 7px;
}
.header.panel>.header.links>.authorization-link {
opacity: 1;
border-left-width: 1px;
padding-left: 16px;
height: 20px !important;
}

/* Only apply when multi utility provider block is present (utility-provider-header in DOM) */
.header.panel > .header.links:has(.utility-provider-header) > .authorization-link {
  border-left: 1px solid #FFFFFF4D;
}

.page-wrapper > header .panel.wrapper .panel.header .header.links .customer-welcome {
	color: var(--top-header-font-color) !important;
}

/* Desktop styles */

@media screen and (min-width: 768px) {
  .header.panel>.header.links>.authorization-link {
    text-decoration: underline !important;
    }
}

.nav.item.cr-btn.cr-btn-primary {
  order: 0 !important;
}

    .provider-button-wrapper {
        margin-top: 20px;
    }

    .provider-button-wrapper .find-provider-btn {
        font-size: 14px;
        min-height: 48px;
        padding: 0 16px;
    }

/* ---Mobile menu specific styles--- */

@media screen and (max-width: 767px) {

  .utility-provider-cr-btn {
    width: 100%;
  }
.sections.nav-sections .section-items.nav-sections-items .section-item-content.nav-sections-item-content .header.links li.customer-welcome .customer-menu .header.links li.authorization-link.signout {
    display: block;
}
.utility-provider-header {
    order: 1 !important;
    background-color: #F7F7F7 !important;
}
span.energy-provider-label {
padding-top: 12px;
padding-left: 26px;
display: block;
text-transform: uppercase;
line-height: 1.8;
}
.utility-provider-name-value {
display: block;
padding-left: 0px;
text-transform: none;
}
.utility-provider-name-change {
    cursor: pointer;
    text-decoration: underline !important;
    text-transform: none;
    color: var(--primary-color);
}
.sections.nav-sections .section-items.nav-sections-items .section-item-content.nav-sections-item-content .header.links li>a {
color: var(--primary-color) !important;
}
.sections.nav-sections .section-items.nav-sections-items .section-item-content.nav-sections-item-content .header.links li>a.back-to-portal-link {
padding: inherit;
background-color: var(--primary-color);
color: #FFFFFF !important;
width: 100%;
justify-content: center;
}
.sections.nav-sections .section-items.nav-sections-items .section-item-content.nav-sections-item-content .header.links li>a.back-to-portal-link {
padding: inherit;
background-color: var(--primary-color);
color: #FFFFFF !important;
width: 100%;
justify-content: center;
}

.nav.item.cr-btn.cr-btn-primary {
  order: 0 !important;
}

.customer-welcome {
  order: 2 !important;
}

.authorization-link.signout {
  order: 3 !important;
}
.nav.item.cr-btn.cr-btn-primary{
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}
}

@media only screen and (max-width: 766px) {
  .sections.nav-sections .section-items.nav-sections-items .section-item-content.nav-sections-item-content .header.links li.customer-welcome .customer-name:before {
      background-size: 100%;
      background-position: center;
      margin-right: 5px;
      width: 33px;
      height: 25px;
      opacity: .6;
      content: "";
  }
}

@media only screen and (max-width: 766px) {
  .sections.nav-sections .section-items.nav-sections-items .section-item-content.nav-sections-item-content .header.links li.customer-welcome .customer-name .fullname {
      color: var(--primary-color);
      word-break: break-all;

  }
}
@media screen and (max-width: 767px) {
  span.energy-provider-label {
      display: block;
      text-transform: uppercase;
      line-height: 1.8;
      font-size: 12px;
      font-weight: 800;
      font-size: 12px;
      line-height: 18px;
      letter-spacing: 0.2px;
      padding: 20px;
      color: #4D4D4D;
  }
}


@media screen and (max-width: 767px) {
  .utility-provider-name-change {
      cursor: pointer;
      text-decoration: underline !important;
      text-transform: none;
      color: var(--primary-color);
      font-weight: 400;
      font-size: 14px;
      line-height: 21px;
  }
}
@media screen and (max-width: 767px) {
  .utility-provider-name-value {
      display: block;
      padding-left: 0px;
      text-transform: none;
      padding-bottom: 10px;
      padding-top: 7px;
      font-weight: 700;
      font-size: 14px;
      line-height: 21px;
      letter-spacing: 0.2px;
  }
}

@media screen and (max-width: 767px) {
  .page-wrapper .sections.nav-sections .section-items.nav-sections-items .section-item-content.nav-sections-item-content .header.links li.active a {
      border-bottom: none;
      padding-left: 20px;
      font-weight: bold;
  }
}
@media screen and (max-width: 767px) {
  .page-wrapper .sections.nav-sections .section-items.nav-sections-items .section-item-content.nav-sections-item-content .header.links li.active a {
      border-bottom: none;
      padding-left: 20px;
      font-weight: 400;
      font-size: 16px;
      line-height: 24px;
  }
}

/* Changes provided by Jasna */

@media screen and (max-width: 767px) {
  .sections.nav-sections .section-items.nav-sections-items .section-item-content.nav-sections-item-content .header.links li.authorization-link.signout a {
      color: var(--primary-color) !important;
  }

  li.authorization-link.signout {
        display: none;
  }
}
@media only screen and (max-width: 766px) {
  .sections.nav-sections .section-items.nav-sections-items .section-item-content.nav-sections-item-content .header.links li.customer-welcome .customer-name:before {
      background-size: 100%;
      background-position: center;
      margin-right: 5px;
      width: 33px;
      height: 25px;
      opacity: .6;
      content: "";
  }
  .sections.nav-sections .section-items.nav-sections-items .section-item-content.nav-sections-item-content .header.links li.customer-welcome .customer-name .fullname {
      color: var(--primary-color);
      word-break: break-all;

  }
}
@media screen and (max-width: 767px) {
  span.energy-provider-label {
      display: block;
      text-transform: uppercase;
      line-height: 1.8;
      font-size: 12px;
      font-weight: 800;
      font-size: 12px;
      line-height: 18px;
      letter-spacing: 0.2px;
      padding: 24px;
      color: #4D4D4D;
  }
}


@media screen and (max-width: 767px) {
  .utility-provider-name-change {
      cursor: pointer;
      text-decoration: underline !important;
      text-transform: none;
      color: var(--primary-color);
      font-weight: 400;
      font-size: 14px;
      line-height: 21px;
  }
}
@media screen and (max-width: 767px) {
  .utility-provider-name-value {
      display: block;
      padding-left: 0px;
      text-transform: none;
      padding-bottom: 10px;
      padding-top: 7px;
      font-weight: 700;
      font-size: 14px;
      line-height: 21px;
      letter-spacing: 0.2px;
  }
}

@media screen and (max-width: 767px) {
  .page-wrapper .sections.nav-sections .section-items.nav-sections-items .section-item-content.nav-sections-item-content .header.links li.active a {
      border-bottom: none;
      padding-left: 20px;
      font-weight: bold;
  }
}
@media screen and (max-width: 767px) {
  .page-wrapper .sections.nav-sections .section-items.nav-sections-items .section-item-content.nav-sections-item-content .header.links li.active a {
      border-bottom: none;
      padding-left: 20px;
      font-weight: 400;
      font-size: 16px;
      line-height: 24px;
  }
}

@media only screen and (max-width: 766px) {
  .sections.nav-sections .section-items.nav-sections-items .section-item-content.nav-sections-item-content .header.links li.customer-welcome .customer-name:before {
      background-size: 100%;
      background-position: center;
      margin-right: 5px;
      width: 30px;
      height: 25px;
      opacity: .6;
      content: "";
  }
}

@media screen and (max-width: 767px) {
  .sections.nav-sections .section-items.nav-sections-items .section-item-content.nav-sections-item-content .header.links li>a.back-to-portal-link {
      padding: inherit;
      background-color: var(--primary-color);
      color: #FFFFFF !important;
      width: 100%;
      justify-content: center;
      font-weight: 700;
      font-size: 16px;
      line-height: 24px;
      letter-spacing: 0.2px;
  }
}

@media only screen and (max-width: 766px) {
  .sections.nav-sections .section-items.nav-sections-items .section-item-content.nav-sections-item-content .header.links li.customer-welcome .customer-name {
     border-left: 0;
      color: #343434;
      height: 50px;
      display: flex;
      align-items: center;
      font-size: -16px;
      padding-left: 10px;
      font-weight: bold;
      color: #343434;
      height: 50px;
      display: flex;
      align-items: center;
      font-size: 16px;
      padding-left: 20px;
      font-weight: bold;
      font-weight: 400;
      font-size: 16px;
      line-height: 24px;
      letter-spacing: 0.2px;
      border-bottom: 1px solid #e2e2e2;
      margin-top: 20px;
      padding-bottom: 20px;
      padding-right: 20px;

  }
}

@media only screen and (max-width: 766px) {
  .sections.nav-sections .section-items.nav-sections-items .section-item-content.nav-sections-item-content .header.links li.customer-welcome .customer-name .fullname {
      color: var(--primary-color);
      word-break: break-all;
      padding-left: 4px;
  }
}
@media only screen and (max-width: 766px) {
  .sections.nav-sections .section-items.nav-sections-items .section-item-content.nav-sections-item-content .header.links li.customer-welcome .customer-name {
      border-left: 0px;
  }
}
@media screen and (max-width: 767px) {
 .authorization-link.signout {
     order: 4 !important;
 }
}

@media screen and (min-width: 768px) {
  .header.panel > .header.links > .authorization-link::after {
    display: none !important;
  }
}

/* Tablet */
@media screen and (max-width: 1024px) {

    .provider-button-wrapper .find-provider-btn {
        font-size: 15px;
        min-height: 50px;
    }
}
  
/* ---Mobile menu specific styles ends here--- */
/* ---Top header related CSS--- */
