/* INT_PM-70803: Implenia Custom Styling */

/* Source Sans Pro Font Faces */
@font-face {
  font-family: 'Source Sans Pro';
  src: url('../fonts/SourceSansPro-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans Pro';
  src: url('../fonts/SourceSansPro-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Override body font to use Source Sans Pro */
body {
  font-family: 'Source Sans Pro', Arial, sans-serif !important;
  color: #000 !important;
}

/* Button styling with yellow background #FFB81C */
.header__range-input-calendar-button-submit,
.bottom-tabs__item.active a,
.range-selector__item.js--active a,
.action-button span:hover {
  background-color: #FFB81C !important;
}

/* Tab styling - active state */
.bottom-tabs__item.active a {
  background-color: #FFB81C !important;
  color: #fff !important;
}

/* Range selector active state */
.range-selector__item.js--active a {
  background-color: #FFB81C !important;
  color: #fff !important;
}

/* Dropdown and select hover states */
.dropdown .selectric-hover .selectric .label,
.header__comparable-link:hover,
.header__detail-info-link:hover,
.tools-tab__label:hover,
.downloads__list:hover label {
  color: #FFB81C !important;
}

/* Active links and selections */
.header__comparable-link.active,
.header__detail-info-link.active,
.comparable__title-text.active,
li.active .comparable__title-text {
  color: #FFB81C !important;
}

/* Highlighted items in dropdowns */
.dropdown .selectric-items li.highlighted,
.dropdown .selectric-items li.highlighted:hover,
.dropdown .selectric-items li.selected,
.dropdown .selectric-items li.selected:hover {
  background-color: #FFB81C !important;
  color: #fff !important;
}

/* Date picker elements */
.pika-single .pika-row .is-selected.is-today .pika-button,
.pika-single .pika-row .is-selected .pika-button,
.pika-single .pika-row .pika-button:hover {
  background-color: #FFB81C !important;
  color: #fff !important;
}

.pika-single .pika-row .is-today .pika-button {
  color: #FFB81C !important;
}

.pika-single .pika-select:focus>option:checked,
.pika-single .pika-select:focus>option:hover {
  background-color: #FFB81C !important;
  color: #fff !important;
}

/* Loader animation color */
.loader::before,
.loader::after {
  background-color: #FFB81C !important;
}

/* Selection/highlight colors */
::-moz-selection {
  background: #FFB81C !important;
  color: #fff !important;
}

::selection {
  background: #FFB81C !important;
  color: #fff !important;
}

/* Checkbox styling */
.styled-checkbox-label:before {
  border: 2px solid #FFB81C !important;
}

.chart-markers__list .styled-checkbox:checked+label:before,
.charttype__list .styled-checkbox:checked+label:before,
.tools-tab__list .styled-checkbox:checked+label:before {
  background-color: #FFB81C !important;
}

/* Calendar button arrow hover */
.header__range-input-calendar-button-submit:hover:after {
  background-position: -12px 0;
  transition: all .68s;
}

/* Comparable section active state */
.comparable__title.active:hover .comparable__title-text {
  color: #FFB81C !important;
}

/* Action buttons hover */
.action-button span:hover {
  background-color: #FFB81C !important;
  color: #fff !important;
  opacity: 1;
}

/* Highcharts tooltip link hover */
.highcharts-label.highcharts-tooltip-box a:hover {
  color: #FFB81C !important;
}
/* INT_PM-70803: Range Selector Styling */
.range-selector {
  position: relative;
  border-bottom: 0;
}

.range-selector__wrap {
  position: relative;
  gap: 0;
  padding: 0.25rem 0.25rem 0 0.25rem;
}

.range-selector__item {
  margin-left: 0;
}

.range-selector__link {
  font-size: 18px;
  font-weight: 600;
  color: #666;
  background: transparent !important;
  text-transform: none;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.range-selector__item.js--active .range-selector__link,
.range-selector__link:hover {
  color: #000 !important;
}

/* Price change display */
.range-selector__price-change {
  display: block;
}

/* Sliding indicator */
span.tabs__indicator {
  position: absolute;
  bottom: 44%;
  left: 0;
  height: 2px;
  background-color: #000;
  transition: left 0.3s ease, width 0.3s ease;
  pointer-events: none;
}
.range-selector__item.js--active a {
  background-color: transparent !important;
}

/* INT_PM-70803: Bottom Tabs Styling */
.bottom-tabs {
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.bottom-tabs__wrap {
  position: relative;
  gap: 1.5rem;
  padding: 0.25rem 0.25rem 0 0.25rem;
}

.bottom-tabs__item {
  margin-left: 0;
}

.bottom-tabs__link {
  font-size: 18px;
  font-weight: 600;
  color: #666;
  background: transparent !important;
  text-transform: none;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.bottom-tabs__item.active .bottom-tabs__link,
.bottom-tabs__link:hover {
  color: #000 !important;
  background-color: transparent !important;
}

/* Override yellow background for bottom tabs */
.bottom-tabs__item.active a {
  background-color: transparent !important;
}

/* Sliding indicator for bottom tabs */
.bottom-tabs .tabs__indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background-color: #000;
  transition: left 0.3s ease, width 0.3s ease;
  pointer-events: none;
}
.bottom-tabs__item {
  margin-right:0;
}
.bottom-tabs__link {
  border-bottom:0;
}
.header__range-input-calendar-button-submit {
  color: #1c1b1b;
  background:#FFB81C;
  text-transform: none;
  padding: 10px 24px;
  font-size:1rem;
  font-weight: 600;
  height: 44px;
}
.header__range-input-calendar-button-submit:after {
  background-image: url(../images/black-arrow.png);
  background-position: 0;
  background-size: 100% auto;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 11px;
  right: 18px;
  content: "";
  transition: all .3s;
}
.header__range-input-calendar-button-submit:hover{
  background: #E5A519 !important; /* 8% darker shade of #FFB81C */
}
.header__range-input-calendar-button-submit:hover:after {
  background-position: 0;
  transition: all .3s;
  transform: translate(5px);
}

/* INT_PM-70803: Remove white backgrounds from top sections */
.header__company,
.header__data,
.selectric,
.selectric .button,
.dropdown .selectric {
  background-color: transparent !important;
}