.offset-top {
  margin-top: 120px;
}

footer {
  margin-top: 32px;
  margin-bottom: 32px;
}

.po {
  cursor: pointer;
}

.toast-cont {
  z-index: 1061;
}

body {
  font-family: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #212529;
}

body.modal-open {
  overflow: hidden;
}

.bg-light {
  background-color: #E6EDEE !important;
}

@media (max-width: 500px) {
  .toast {
    width: auto;
  }
}
/* header start */
header {
  background: #E6EDEE;
  padding: 8px 0px;
  z-index: 1;
  position: fixed;
  width: 100%;
  top: 0;
  transition: all ease-in 0.24s;
}

header .img-responsive {
  width: 60%;
  transition: all ease-in 0.24s;
}

@media screen and (max-width: 640px) {
  header .img-responsive {
    width: 70%;
  }
}
header .logo-block figure {
  margin-bottom: 0;
  width: 60px;
  text-align: center;
}

header.logo-only-header {
  z-index: 1;
}

header.scrolled {
  background: #E6EDEE;
  width: 100%;
  padding: 3px 0;
  box-shadow: 1px 1px 10px 1px #ddd;
}

header.scrolled img {
  transform: scale(0.84);
}

@media (max-width: 768px) {
  .menu-block .container-fluid, .navbar-collapse {
    padding-right: 15px;
  }
  .download-popup .download-app-text, .big-image figure img, .banner-text .popular-tags, .carousel-container, .top-description > p, .food-image, .pricing-banner .banner-text, .comment-form p.comment-form-author, .comment-form p.comment-form-email, .artilce-info > span, .article-info .article-tags, .social-share > span, .social-share ul, .comment-body figure img, .top.admin figure img, .blog-left-content-full .comment-form p.comment-form-author, .blog-left-content-full .comment-form p.comment-form-email, .blog-left-content-full blockquote, .right-form-block, select.select-program, .download-app-block .left-mobile, .download-app-block .download-app-text, .download-from a img, .testimonials-block .testimonials, .blog-admin, .select-payment-btns .select-payment-btn, .payment-form form fieldset:last-of-type input[type=submit], .img-text-center p, .testimonial-box-wrap, .blog-single-wrap figure img {
    width: 100%;
  }
}
#header {
  width: 60%;
  position: fixed;
  z-index: 11;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #CDCDCD;
  box-shadow: 0px 0px 28px 12px rgba(31, 31, 31, 0.07);
}

.hcc {
  min-height: 110px;
  width: 100%;
  display: block;
}

.scrolled #header .hc {
  padding-top: 12px;
  padding-bottom: 12px;
}

.scrolled .kpb {
  display: none;
}

.scrolled .ait {
  padding-top: 14px;
}

#header .hc {
  display: flex;
  align-items: center;
  position: relative;
  background: #fff;
  padding: 24px 0px;
  transition: all 0.2s ease-out;
}

@media screen and (max-width: 1190px) {
  #header .hc {
    padding: 24px 15px;
  }
  .scrolled #header .hc {
    padding-top: 4px;
    padding-bottom: 4px;
  }
}
@media screen and (max-width: 10924px) {
  .hcc {
    min-height: 97px;
  }
}
@media screen and (max-width: 767px) {
  #header .hc {
    padding: 12px 31px;
  }
  .scrolled #header .hc {
    padding-top: 0;
    padding-bottom: 0;
  }
  .hcc {
    min-height: 73px;
  }
}
@media screen and (max-width: 400px) {
  #header .hc {
    padding: 8px 10px;
  }
  .hcc {
    min-height: 65px;
  }
}
.home #header .hc {
  background: #F7F7F7;
  border-bottom: none;
  box-shadow: none;
}

.home #header .hc .search-holder input {
  background: #F7F7F7;
}

#header .logo {
  margin-right: 23px;
}

#header .klang .bi-globe > div,
#header .klang .dropdown-item > div {
  border-radius: 50px;
  border: 1.2px solid #3b3b3b;
}
#header .klang .bi-globe > div > div,
#header .klang .dropdown-item > div > div {
  border: 1px solid #ffffff;
  border-radius: 50px;
  height: 21px;
  width: 21px;
  overflow: hidden;
}
#header .klang .bi-globe > div > div img,
#header .klang .dropdown-item > div > div img {
  transform: scale(1.6);
}
#header .klang .bi-globe {
  background: transparent;
  border-radius: 50%;
  margin: 10px;
  padding: 0;
  transition: all 0.2s ease-out;
}
#header .klang .bi-globe:hover {
  padding: 10px;
  margin: 0;
  background: #d9dfe0;
}

.hamburger-menu {
  z-index: 2;
}

.hamburger-menu button {
  position: relative;
  width: 30px;
  height: 22px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}
.hamburger-menu button span {
  transition: all 0.3s ease-out;
}
.hamburger-menu button:hover span:nth-child(1) {
  top: -1px;
}
.hamburger-menu button:hover span:nth-child(3) {
  top: 19px;
}

.hamburger-menu button span {
  position: absolute;
  height: 3px;
  background: #323232;
  width: 100%;
  left: 0px;
  top: 0px;
  -webkit-transition: 0.1s ease-in;
  transition: 0.1s ease-in;
}

.hamburger-menu button span:nth-child(2) {
  top: 9px;
}

.hamburger-menu button span:nth-child(3) {
  top: 18px;
}

.hamburger-menu [data-state=open] span:first-child {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 10px;
}

.hamburger-menu [data-state=open] span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

.hamburger-menu [data-state=open] span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 10px;
}

.nav-back,
nav.menu-cont .menu-close {
  padding-top: 32px;
  padding-bottom: 32px;
  padding-left: 2rem;
  -webkit-transition: all 0.24s ease-in-out;
  transition: all 0.24s ease-in-out;
  max-width: fit-content;
  margin-left: -5px;
}
.nav-back div,
nav.menu-cont .menu-close div {
  transition: all 0.24s ease-in-out;
  margin: 8px !important;
  padding: 0px !important;
  max-width: fit-content;
  border-radius: 50%;
}
.nav-back:hover,
nav.menu-cont .menu-close:hover {
  margin-left: 0px;
}
.nav-back:hover div,
nav.menu-cont .menu-close:hover div {
  margin: 0px !important;
  padding: 8px !important;
  background: rgba(255, 255, 255, 0.1882352941);
}
.nav-back {
  padding-left: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
}
.nav-back:hover div {
  background: #d9dfe0;
}

nav.menu-cont {
  position: fixed;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  top: 0;
  left: 0;
  background: #9c80d0;
  color: #E6EDEE;
  width: 300px;
  z-index: 123;
  padding-top: 0px;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: 0.24s cubic-bezier(0.52, 0.01, 0.8, 1);
  transition: 0.24s cubic-bezier(0.52, 0.01, 0.8, 1);
}

nav.menu-cont ul {
  list-style: none;
  margin-bottom: 0;
}

nav.menu-cont li {
  -webkit-transform: translateX(-5px);
  transform: translateX(-5px);
  -webkit-transition: 0.16s cubic-bezier(0.44, 0.09, 0.46, 0.84);
  transition: 0.16s cubic-bezier(0.44, 0.09, 0.46, 0.84);
  opacity: 0;
  margin-bottom: 4px;
}

nav.menu-cont a {
  display: block;
  font-size: 1.4em;
  font-weight: bold;
  text-decoration: none;
  color: inherit;
  -webkit-transition: all 0.24s ease-in-out;
  transition: all 0.24s ease-in-out;
}

nav.menu-cont a:hover {
  text-decoration: underline;
  color: #E6EDEE;
  margin-left: 4px;
  cursor: pointer;
}

nav.menu-cont[data-state=open] {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}

nav.menu-cont[data-state=open] > ul > li:nth-child(1) {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
  opacity: 1;
}

nav.menu-cont[data-state=open] > ul > li:nth-child(2) {
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
  opacity: 1;
}

nav.menu-cont[data-state=open] > ul > li:nth-child(3) {
  -webkit-transition-delay: 0.4s;
  transition-delay: 0.4s;
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
  opacity: 1;
}

nav.menu-cont[data-state=open] > ul > li:nth-child(4) {
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
  opacity: 1;
}

nav.menu-cont[data-state=open] > ul > li:nth-child(5) {
  -webkit-transition-delay: 0.6s;
  transition-delay: 0.6s;
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
  opacity: 1;
}

nav.menu-cont[data-state=open] > ul > li:nth-child(6) {
  -webkit-transition-delay: 0.7s;
  transition-delay: 0.7s;
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
  opacity: 1;
}

body.menu-active .menu-drop {
  opacity: 1;
  visibility: visible;
  max-height: 4000px;
  transform: translateY(0);
}

/* breadcrumb */
.breadcrumb:empty {
  display: none;
}

.social-cont svg {
  transition: all 0.24s ease-in-out;
}
.social-cont svg:hover {
  transform: scale(1.2);
}

.cc-cp-foot-save,
.termsfeed-com---palette-light .cc-nb-reject,
.termsfeed-com---palette-light .cc-nb-okagree {
  background-color: #9c80d0 !important;
  border-radius: 4px;
}

.modal-header {
  border-bottom-width: 0;
}

.modal-footer {
  border-top-width: 0;
}

.text-branded {
  color: #9c80d0;
}

.btn-branded {
  background-color: #9c80d0;
  color: white;
  border-color: #9c80d0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-branded:hover {
  color: #fff;
  background-color: #76629c;
  border-color: #76629c;
}

.btn-check:focus + .btn-branded, .btn-branded:focus {
  color: #fff;
  background-color: #76629c;
  border-color: #76629c;
  box-shadow: 0 0 0 0.25rem rgba(225, 83, 97, 0.5);
}

.btn-check:active + .btn-branded, .btn-check:checked + .btn-branded, .btn-branded.active, .btn-branded:active, .show > .btn-branded.dropdown-toggle {
  color: #fff;
  background-color: #76629c;
  border-color: #76629c;
}

.btn-check:active + .btn-branded:focus, .btn-check:checked + .btn-branded:focus, .btn-branded.active:focus, .btn-branded:active:focus, .show > .btn-branded.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.25rem rgba(225, 83, 97, 0.5);
}

.btn-branded.disabled, .btn-branded:disabled {
  color: #fff;
  background-color: #9c80d0;
  border-color: #9c80d0;
}

.btn-outline-branded {
  color: #9c80d0;
  border-color: #9c80d0;
}

.btn-outline-branded:hover {
  color: #fff;
  background-color: #9c80d0;
  border-color: #9c80d0;
}

.btn-check:focus + .btn-outline-branded, .btn-outline-branded:focus {
  box-shadow: 0 0 0 0.25rem rgba(225, 83, 97, 0.5);
}

.btn-check:active + .btn-outline-branded, .btn-check:checked + .btn-outline-branded, .btn-outline-branded.active, .btn-outline-branded.dropdown-toggle.show, .btn-outline-branded:active {
  color: #fff;
  background-color: #9c80d0;
  border-color: #9c80d0;
}

.btn-check:active + .btn-outline-branded:focus, .btn-check:checked + .btn-outline-branded:focus, .btn-outline-branded.active:focus, .btn-outline-branded.dropdown-toggle.show:focus, .btn-outline-branded:active:focus {
  box-shadow: 0 0 0 0.25rem rgba(225, 83, 97, 0.5);
}

.btn-outline-branded.disabled, .btn-outline-branded:disabled {
  color: #9c80d0;
  background-color: transparent;
}

/* loader color */
.loader .dots span {
  background-color: #9c80d0;
}

/* bootstrap */
.badge.bg-danger {
  background-color: #9c80d0 !important;
}

.dropdown {
  width: 180px;
  margin: auto;
}

.dropdown {
  --dd-border-style: solid 1px #000519;
  --dd-border-radius: 20px;
  position: relative;
  padding: 14px 24px;
  border: var(--dd-border-style);
  border-radius: var(--dd-border-radius);
  user-select: none;
}

.dropdown .dropdown-placeholder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.dropdown .dropdown-placeholder:hover {
  cursor: pointer;
}

.dropdown svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.dropdown.open .dropdown-items {
  visibility: visible;
  pointer-events: all;
}

.dropdown.open .dropdown-placeholder .chevron {
  transition: transform 250ms ease;
}

.dropdown.open .dropdown-placeholder .chevron {
  transform: rotate(180deg);
}

.dropdown .dropdown-items {
  position: absolute;
  top: 60px;
  left: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  border: var(--dd-border-style);
  border-radius: var(--dd-border-radius);
  background-color: #fff;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
}

.dropdown .dropdown-items .dropdown-item {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  text-decoration: none;
  color: #212121;
}

.dropdown .dropdown-items .dropdown-item:not(:last-child) {
  border-bottom: var(--dd-border-style);
}

.dropdown .dropdown-items .dropdown-item:hover {
  background-color: #E6EDEE;
}

.dropdown .dropdown-items .dropdown-item .dropdown-label {
  pointer-events: none;
}

.dropdown .dropdown-items .dropdown-item .check {
  display: none;
  height: 24px;
}

.dropdown .dropdown-items .dropdown-item.selected .check {
  display: block;
}

.unit-title {
  font-size: 52px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .unit-title {
    font-size: 48px;
  }
}
@media (max-width: 480px) {
  .unit-title {
    font-size: 36px;
  }
}

.energy-class {
  position: absolute;
  top: 10px;
  right: 7px;
  font-weight: bold;
  font-size: 14px;
  background-color: transparent;
  width: 18px;
  height: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chart-cont {
  max-width: 560px;
}

.devices-cont {
  max-width: 540px;
}

.usage-box {
  border-radius: 20px;
  background-color: #EDF3F5;
  padding: 1.12rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.usage-icon {
  margin-right: 1rem;
}

.usage-title {
  font-weight: 500;
}

.usage-value {
  font-weight: bold;
  font-size: 1.25rem;
  width: 120px;
}

.usage-sub {
  color: #6c757d;
  font-size: 0.9rem;
}

.category-selector {
  border: var(--dd-border-style);
  border-radius: var(--dd-border-radius);
  width: auto;
  display: inline-block;
  background-color: transparent;
  text-align: center;
  text-align-last: center;
  -webkit-text-align-last: center;
  -moz-text-align-last: center;
}

.category-selector option {
  text-align: center;
  direction: ltr;
}

/* New styles for Unit Comparison Dashboard */
.subtitle {
  color: #6c757d;
  font-size: 16px;
}

.briefing-panel {
  margin: 0 0 24px;
  border-radius: 14px;
  border: 1px solid rgba(118, 98, 156, 0.18);
  background: rgba(118, 98, 156, 0.04);
  overflow: hidden;
}
.briefing-panel.severity-high {
  border-color: rgba(131, 24, 67, 0.2);
  background: rgba(252, 231, 243, 0.35);
}
.briefing-panel.severity-medium {
  border-color: rgba(156, 93, 0, 0.22);
  background: rgba(217, 119, 6, 0.03);
}

.briefing-strip {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}
.briefing-strip:hover {
  background: rgba(118, 98, 156, 0.06);
}
@media (max-width: 576px) {
  .briefing-strip {
    padding: 12px 14px;
  }
}

.briefing-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #76629c;
}
.briefing-panel.severity-high .briefing-dot {
  background: #831843;
  animation: briefing-pulse 2s ease-in-out infinite;
}
.briefing-panel.severity-medium .briefing-dot {
  background: #d97706;
}

@keyframes briefing-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
.briefing-strip-meta {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #76629c;
  white-space: nowrap;
}
.briefing-panel.severity-high .briefing-strip-meta {
  color: #831843;
}
.briefing-panel.severity-medium .briefing-strip-meta {
  color: #9c5d00;
}

.briefing-strip-summary {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: #5a6b7a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 480px) {
  .briefing-strip-summary {
    display: none;
  }
}

.briefing-chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: #76629c;
  transition: transform 0.25s ease;
}
.briefing-panel.is-open .briefing-chevron {
  transform: rotate(180deg);
}
.briefing-panel.severity-high .briefing-chevron {
  color: #831843;
}
.briefing-panel.severity-medium .briefing-chevron {
  color: #9c5d00;
}

.briefing-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.briefing-panel.is-open .briefing-body {
  max-height: 900px;
}

.briefing-cards {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(118, 98, 156, 0.14);
}
.briefing-panel.severity-high .briefing-cards {
  border-top-color: rgba(131, 24, 67, 0.14);
}
.briefing-panel.severity-medium .briefing-cards {
  border-top-color: rgba(156, 93, 0, 0.14);
}

.briefing-card {
  border-left: 3px solid #76629c;
  padding: 13px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.briefing-card + .briefing-card {
  border-top: 1px solid rgba(118, 98, 156, 0.08);
}
.briefing-card.severity-high {
  border-left-color: #831843;
}
.briefing-card.severity-medium {
  border-left-color: #d97706;
}

.briefing-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.briefing-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: #eef3f5;
  color: #4b5c6b;
}

.briefing-card-buildings {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: #7b8fa1;
}

.briefing-card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #152433;
}

.briefing-card-summary,
.briefing-card-why,
.briefing-card-action {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #415261;
}

.briefing-card-footer {
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
@media (max-width: 576px) {
  .briefing-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

.briefing-card-link {
  flex-shrink: 0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: #6f54b8;
}
.briefing-card-link:hover {
  color: #5240a0;
}

.dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
  transition: opacity 0.3s ease;
}
@media (max-width: 768px) {
  .dashboard {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
  }
}
@media (max-width: 576px) {
  .dashboard {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 24px;
  }
}

.building-card {
  background: #EDF3F5;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border: 3px solid transparent;
}
@media (max-width: 576px) {
  .building-card {
    padding: 18px 16px 16px;
    border-radius: 14px;
  }
}

.building-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.building-card.best-performer {
  border-color: #10b981;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.building-card.worst-performer {
  border-color: #ef4444;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

.performance-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 576px) {
  .performance-badge {
    position: static;
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 74px);
    margin: 0 74px 10px 0;
    padding: 5px 10px;
    font-size: 9px;
    line-height: 1.25;
    white-space: normal;
    word-break: break-word;
  }
}

.badge-best {
  background: #d1fae5;
  color: #064e3b;
}

.badge-worst {
  background: #fce7f3;
  color: #831843;
  text-decoration: none;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.badge-worst:hover {
  background: #fbcfe8;
  box-shadow: 0 2px 8px rgba(131, 24, 67, 0.2);
  color: #831843;
}

.building-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
@media (max-width: 576px) {
  .building-header {
    margin-bottom: 14px;
    padding-right: 64px;
  }
}

.building-name {
  font-size: 24px;
  font-weight: 700;
  color: #212529;
}
@media (max-width: 576px) {
  .building-name {
    font-size: 20px;
    line-height: 1.2;
  }
}

.building-type {
  background: #E6EDEE;
  color: #76629c;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.ec-label {
  position: absolute;
  top: 22px;
  right: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
  text-decoration: none;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
  z-index: 2;
}
@media (max-width: 576px) {
  .ec-label {
    top: 16px;
    right: 16px;
    padding: 5px 8px;
  }
}
.ec-label:hover {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
  transform: translateY(-1px);
}

.ec-label-cls {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.ec-label-sub {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #adb5bd;
  line-height: 1;
}

.card-edit-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: #9c80d0;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.card-edit-link:hover {
  opacity: 1;
  color: #76629c;
  text-decoration: underline;
}

a.metric-comparison-link {
  display: block;
  text-decoration: none;
  transition: filter 0.15s ease;
}
a.metric-comparison-link:hover {
  filter: brightness(0.88);
}

.card-view-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #76629c;
  text-decoration: none;
  transition: color 0.15s ease, gap 0.15s ease;
  gap: 2px;
}
.card-view-link:hover {
  color: #8641f4;
  gap: 4px;
}

.card-edit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: transparent;
  color: #9c80d0;
  opacity: 0.35;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.card-edit-btn:hover {
  opacity: 1;
  background: rgba(156, 128, 208, 0.12);
  transform: scale(1.12);
  color: #76629c;
}

.building-card:hover .card-edit-btn {
  opacity: 0.65;
}

.estate-photo img {
  width: 100%;
  max-height: 170px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 20px;
  border-radius: 10px;
}

.building-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  padding: 15px;
  background: #E6EDEE;
  border-radius: 10px;
}
@media (max-width: 576px) {
  .building-info {
    gap: 10px;
    padding: 12px;
  }
}

.info-item {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 11px;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.info-value {
  font-size: 15px;
  font-weight: 600;
  color: #212529;
}

.metric {
  margin-bottom: 20px;
}

.metric-label {
  font-size: 13px;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.metric-value {
  font-size: 32px;
  font-weight: 700;
  color: #212529;
  margin-bottom: 5px;
}
@media (max-width: 576px) {
  .metric-value {
    font-size: 28px;
  }
}

.metric-unit {
  font-size: 14px;
  color: #6c757d;
  font-weight: 400;
}

.metric-comparison {
  font-size: 13px;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
}

.comparison-better {
  background: #e8d5ff;
  color: #4c1d95;
}

.comparison-worse {
  background: #fce7f3;
  color: #831843;
}

.comparison-neutral {
  background: #E6EDEE;
  color: #6c757d;
}

.metric-bar {
  height: 8px;
  background: #E6EDEE;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 10px;
}

.metric-bar-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 0.5s ease;
}

.eui-bar {
  background: linear-gradient(90deg, #8641f4, #8641f4);
}

.cost-bar {
  background: linear-gradient(90deg, #f093fb, #f5576c);
}

.co2-bar {
  background: linear-gradient(90deg, #4facfe, #00f2fe);
}

.comparison-summary {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-top: 30px;
}

.comparison-summary h2 {
  color: #212529;
  margin-bottom: 20px;
  font-size: 24px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.summary-card {
  background: #E6EDEE;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.summary-card h3 {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-card .value {
  font-size: 24px;
  font-weight: 700;
  color: #76629c;
}

a.learn-more-link {
  font-weight: 600;
  color: #8641f4 !important;
  text-decoration: underline !important;
  transition: color 0.2s;
}

.cta-section .btn {
  background-color: #8641f4;
  border-color: #8641f4;
  color: white;
}
.cta-section .btn:hover, .cta-section .btn:focus, .cta-section .btn:active {
  background-color: #7131db;
  border-color: #7131db;
  color: white;
}
.cta-section .btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(134, 65, 244, 0.25);
}
