:root {
  --primary-blue: #162c4a;
  --secondary-blue: #265f9b;
  --dark-text: #333333;
  --gold: #a7892d;
  --gold-200: #917623;
  --light-gray: #f8f9fa;
  --card-bg: #ffffff;
  --gray-300: #edf0f3;
  --report-type: #265e9b;
  --primary-font: "proxima-nova", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
a {
  font-family: var(--primary-font);
}

.gap-3rem {
  gap: 3rem;
}

body {
  background-color: #fff;
  position: relative;
}

.custom-radio input[type="radio"] {
  display: none;
}

.custom-radio label {
  cursor: pointer;
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #939fab; /* grey outline */
  position: relative;
  transition: border-color 0.2s ease;
}

.custom-radio input[type="radio"]:checked + label {
  border: 4px solid var(--gold); /* gold border */
}

/* Range Slider */
.noUi-target {
  background: #eef2f7; /* light background track */
  border: none;
  box-shadow: none;
  height: 4px;
  border-radius: 4px;
}

.noUi-connect {
  background: #225a8e; /* filled track */
}

.noUi-handle:after,
.noUi-handle:before {
  display: none;
}

.noUi-horizontal .noUi-handle {
  width: 20px;
  height: 20px;
  background: #eef2f7;
  border: 3px solid #225a8e; /* blue border */
  border-radius: 50%;
  box-shadow: none;
  cursor: grab;
  top: -7px;
}
/* End Range Slider */

.container.container-small {
  max-width: 1260px;
}

.paddingTop-2 {
  padding-top: 2rem !important;
}

.paddingBottom-2 {
  padding-bottom: 2rem !important;
}

.navbar {
  height: 105px;
  background-color: white;
  box-shadow: 2px 2px 21px 0px rgba(3, 20, 46, 0.2);
  padding: 0 0 0 2rem !important;
  z-index: 9999;
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

.navbar .container {
  background: white;
}

.logo-icon {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  position: relative;
}

.navbar-nav .nav-link {
  font-family: var(--primary-font);
  font-size: 15px;
  color: #000000;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 15px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link::before {
  content: "";
  position: absolute;
  width: 0; /* Starts hidden */
  height: 3px; /* Thickness of the underline */
  bottom: -8px; /* Position at the bottom of the text */
  left: 50%;
  margin: 0 auto;
  border-radius: 3px;
  transform: translateX(-50%);
  background-color: var(--gold); /* Color of the underline */
  transition: width 0.3s ease-in-out; /* Smooth transition for the width */
}

.navbar-nav .nav-link:hover::before {
  width: 30px; /* Expands to half width on hover/active */
  background-color: var(--gold);
}
.navbar-nav .nav-link.active::before {
  width: 30px; /* Expands to half width on hover/active */
  background-color: var(--secondary-blue);
}

.navbar-nav .nav-item.has-children .global-popup-wrapper .popup-content {
  padding: 0;
}

.navbar-nav .nav-item.has-children .sub-nav-menu {
  list-style: none;
  padding: 0;
}

.navbar-nav .nav-item.has-children .sub-nav-menu li {
  padding: 1rem;
  border-right: 1px solid rgba(38, 94, 153, 0.2);
}

.navbar-nav .nav-item.has-children .sub-nav-menu li {
  border-bottom: 1px solid rgba(38, 94, 153, 0.2);
}

.navbar-nav .nav-item.has-children .sub-nav-menu li .nav-link {
  position: relative;
  font-size: 15px;
  color: #5b5b5b;
}

.navbar-nav .nav-item.has-children .sub-nav-menu li .nav-link::before {
  content: "";
  position: absolute;
  width: 0; /* Starts hidden */
  height: 3px; /* Thickness of the underline */
  bottom: -8px; /* Position at the bottom of the text */
  left: 0.5rem;
  transform: none;
  background-color: var(--gold);
  border-radius: 3px;
  transition: width 0.3s ease-in-out; /* Smooth transition for the width */
}

.navbar-nav .nav-item.has-children .sub-nav-menu li .nav-link:hover::before {
  width: 80%; /* Expands to half width on hover/active */
  background-color: var(--gold);
}

.nav-item.has-children .global-popup-wrapper {
  box-shadow: 0px 20px 20px #0000001a;
}

.small-nav-search {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  height: 100px;
  background: #fff;
  padding: 1rem;
  display: none;
  opacity: 0;
}

.small-nav-search.show {
  display: flex;
  opacity: 1;
}

.small-nav-search input {
  width: 90%;
  height: 100%;
  border: 2px solid var(--secondary-blue);
  border-radius: 30px;
  padding-left: 1rem;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  box-shadow: 2px 2px 21px 0px rgba(3, 20, 46, 0.2);
}

.small-nav-search input:focus {
  outline: none;
}

.small-nav-search .search-icon {
  width: 25px;
  height: 25px;
  cursor: pointer;
}

.small-nav-search .close-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  background: none;
  border: none;
}

.small-nav-search .close-icon {
  width: 20px;
  height: 20px;
}

.user-section {
  width: 280px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-section .user-info {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #f3f4f6;
  padding-right: 2rem;
}

.user-section .user-info .logout-text {
  font-size: 14px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  text-decoration: none;
  position: relative;
}

.user-section .user-info .logout-text::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 2px;
  background-color: #555;
  bottom: -3px;
  right: 0;
  transition: all 0.3s ease;
}

.user-section .user-info .logout-icon {
  width: 14px;
  height: 14px;
  margin-right: 5px;
}

.user-section .search-icon-wrapper {
  background: none;
  border: none;
}

.user-section .search-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  background-color: #dde2ea !important;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-blue) !important;
  font-weight: bold !important;
  border: none !important;
  padding: 0 !important;
}

.user-avatar.large {
  width: 66px;
  height: 66px;
  font-size: 24px;
  font-weight: 800 !important;
  color: #fff !important;
  background-color: var(--secondary-blue) !important;
  flex-shrink: 0;
}

.user-avatar::after {
  display: none !important;
}

.content-section.full-height {
  display: flex;
  align-items: center;
  min-height: 80vh;
}

.avatar-dropdown.mobile .dropdown-menu {
  right: 0 !important;
}

.avatar-dropdown .dropdown-menu {
  width: 220px;
  box-shadow: 8px 8px 20px #0000001a;
  background: #ffffff;
  border: 0;
  padding: 0;
  left: unset !important;
  right: -3rem !important;
}

.avatar-dropdown .dropdown-menu li.drop1Row {
  background: #dde2ea;
  height: 60px;
  border-radius: 6px 6px 0 0;
  padding: 20px;
  margin-bottom: 40px;
}

.avatar-dropdown .dropdown-menu .proImg {
  width: 66px;
  height: 66px;
  border-radius: 50px;
  margin: auto;
  background: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
}

.avatar-dropdown .dropdown-menu li.proNameBox {
  text-align: center;
  margin-bottom: 10px;
  color: #333;
}

.avatar-dropdown .dropdown-menu li {
  padding: 0 20px;
}

.avatar-dropdown .dropdown-menu li .dropdown-item:hover {
  background: none !important;
  color: var(--secondary-blue);
}

.avatar-dropdown .dropdown-menu li .dropdown-item {
  background: none !important;
  padding: 15px 0;
  border-bottom: solid 1px #e8e8e8;
  transition: all 0.2s ease-in-out;
}

.hero-section {
  background: var(--primary-blue);
  color: white;
  padding: 3rem 0;
  position: relative;
}

.hero-section .circle-1 {
  position: absolute;
  top: -5rem;
  left: 0;
}

.hero-section .circle-2 {
  position: absolute;
  bottom: -2rem;
  right: 0;
}

.section-title {
  font-size: 22px;
  font-family: var(--primary-font);
  font-weight: 500;
  color: white;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 22px;
}

.content-section {
  background: white;
  padding: 4rem 0;
}

.content-section.paddingBottom-0 {
  padding-bottom: 0;
}

.content-section.secondary {
  background: var(--gray-300);
}

.content-section.slideUpContainer {
  margin-top: -150px;
}

.content-section.slideUpContainer2 {
  margin-top: -120px;
}

.content-section.slideUpContainer3 {
  margin-top: -200px;
}

.content-section.slideUpContainer .container {
  margin-top: 100px;
}

.content-section .section-title {
  color: var(--dark-text);
  margin-bottom: 1rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.view-all-btn {
  font-size: 17px;
  color: var(--dark-text);
  text-decoration: none;
  border-bottom: 2px solid var(--dark-text);
  font-weight: 500;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  color: var(--gold-200);
  border-color: var(--gold-200);
}

.content-section .splide__arrow.splide__arrow--prev,
.content-section .splide__arrow.splide__arrow--next {
  border-color: var(--gold-200);
}

.content-section .splide__arrow.splide__arrow--prev svg,
.content-section .splide__arrow.splide__arrow--next svg {
  fill: var(--gold-200);
}

.splide__track {
  padding: 20px;
}

.splide__arrow.splide__arrow--prev,
.splide__arrow.splide__arrow--next {
  opacity: 1;
  background: transparent;
  border-radius: 8px;
  border: 2px solid #fff;
  width: 26px;
  height: 26px;
}

.splide__arrow.splide__arrow--prev svg,
.splide__arrow.splide__arrow--next svg {
  fill: #fff;
  width: 14px;
  height: 14px;
}

.splide__arrow.splide__arrow--prev {
  left: -3em;
}

.splide__arrow.splide__arrow--next {
  right: -3em;
}

.splide {
  max-width: 98%;
}

.content-section .report-card {
  box-shadow: none;
  border: 1px solid #c6d2dd;
}

.content-section .report-card:hover {
  box-shadow: none;
}

/* Styles for the left fade effect */
.content-section .splide:not(.noShadow)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px; /* Width of the fade effect */
  height: 100%;
  /* Gradient from transparent (left) to the parent's background color (right edge of the fade) */
  /* background: linear-gradient(
    270deg, */
  /* hsla(0, 0%, 100%, 0) 0%, */
  /* Transparent white at the very left edge */
  /* Fades to your specified background color */
  /* ); */
  z-index: 1; /* Ensure it's above the slider content */
  pointer-events: none; /* Allows clicks to pass through to elements beneath */
  transition: width 0.2s ease-in-out; /* Smooth transition if width changes */
}

/* Styles for the right fade effect */
.content-section .splide:not(.noShadow)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0; /* Positioned on the right side */
  width: 30px; /* Width of the fade effect */
  height: 100%;
  /* Gradient from the parent's background color (left edge of the fade) to transparent (right) */
  /* background: linear-gradient(
    90deg, */
  /* Gradient direction from right to left */
  /* Transparent white at the very right edge */
  /* Fades to your specified background color */
  /* ); */
  z-index: 1; /* Ensure it's above the slider content */
  pointer-events: none; /* Allows clicks to pass through to elements beneath */
  transition: width 0.2s ease-in-out; /* Smooth transition if width changes */
}

/* .content-section.secondary .splide::before {
  background: linear-gradient(
    270deg,
    hsla(0, 0%, 100%, 0) 0%,
  );
}
.content-section.secondary .splide::after {
  background: linear-gradient(
    90deg,
    hsla(0, 0%, 100%, 0) 0%,
  );
} */

.report-card {
  width: 32.1% !important;
  height: 200px;
  background: var(--card-bg);
  border-radius: 25px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 4px 5px 18px 0px rgba(0, 0, 0, 0.27);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.report-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.report-type {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 35px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 17.5px;
  border-bottom-right-radius: 17.5px;
  background: var(--gray-300);
  font-size: 12px;
  font-weight: 500;
  color: var(--report-type);
}

.flag-icon {
  width: 23px;
  height: 15px;
}

.stock-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.5rem;
}

.stock-symbol {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
}

.stock-price {
  font-weight: 500;
  font-size: 14px;
  color: #222222;
}

.stock-price .price-value {
  font-weight: 600;
}

.rating-badge {
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.rating-overweight {
    color: #00B050; /* Green */
}

.rating-equalweight {
    color: #FFA500; /* Orange */
}

.rating-underweight {
    color: #EE0000; /* Red */
}

.report-divider {
  color: #000;
  margin: 5px 0;
  padding: 0;
}

.company-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  line-height: 22px;
}

.report-description {
  color: #000;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.stock-info-wrapper {
  display: flex;
  align-items: center;
}

.download-btn {
  background: var(--gray-300);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.download-btn:hover {
  transform: scale(1.1);
}

.market-report-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.market-report-card:hover .market-report-image img {
  transform: translateY(-5px);
}

.market-report-image {
  width: 169px;
  height: 228px;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.market-report-image img {
  width: 100%;
  height: 100%;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  transition: all 0.3s ease-in-out;
}

.market-company-name {
  width: 250px;
  font-size: 18px;
  font-weight: 700;
  line-height: 21.6px;
  color: var(--primary-blue);
}

.market-report-type {
  font-size: 12px;
  margin-top: 5px;
  color: var(--report-type);
}

.market-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: 10px;
  border: none;
  background: var(--gold-200);
  border-radius: 50%;
}

.market-download-btn img {
  width: 11px;
  height: 15px;
  margin-right: 1px;
}

/* add background border image in after of market report card  */
.market-report-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  pointer-events: none; /* So it doesn't block clicks */
  background: url("../images/border-line.png") no-repeat center center;
  background-size: cover; /* or 'contain' depending on your design */
  border-radius: 12px; /* match the card's border radius */
  z-index: 1; /* Make sure it's above the card background but below content */
}

.market-report-card-wrapper .market-report-card.no-after::after {
  display: none;
}

.market-report-card {
  position: relative; /* Needed for ::after to be positioned absolutely */
  z-index: 2; /* Ensure content is above the ::after */
}

/* CEO Card */
.ceo-card {
  width: 32% !important;
  height: 400px;
  background: white;
  box-shadow: 2px 2px 21px 0px rgba(3, 20, 46, 0.2);
}

.ceo-card .ceo-data-wrapper .ceo-embed-yt {
  width: 100%;
  height: 254px;
}

.ceo-card .ceo-data-wrapper .ceo-embed-yt img {
  width: 100%;
  height: 100%;
}

.ceo-card .ceo-data-wrapper .ceo-yt-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 21px;
  color: var(--primary-blue);
  padding: 1.5rem;
  padding-bottom: 0.8rem;
}

/* Ticker */
.ticker-container {
  background-color: #fff;
  overflow: hidden;
  position: relative;
}

.ticker-wrapper {
  display: flex;
  align-items: center;
  height: 90px;
  position: relative;
  overflow: hidden;
  flex: 1;
}

.ticker-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: scroll 150s linear infinite;
  width: max-content;
}

.ticker-content.paused {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  margin-right: 40px;
  font-size: 14px;
  font-weight: 600;
  position: relative;
}

.ticker-item::after {
  content: "";
  display: flex;
  align-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -20px;
  height: 15px;
  width: 1px;
  background: #ddd;
}

.ticker-symbol {
  color: #333;
  margin-right: 4px;
}

.ticker-price {
  color: #333;
  margin-right: 4px;
}

.ticker-change {
  font-size: 14px;
}

.ticker-change.positive {
  color: #2e9006;
}

.ticker-change.negative {
  color: #f04437;
}

.play-pause-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid #939393;
  border-radius: 50%;
  color: #939393;
  font-size: 16px;
  cursor: pointer;
  padding: 8px;
  margin-left: 15px;
}

.play-pause-btn:hover {
  color: #939393;
}

@keyframes scroll {
  0% {
    transform: translateX(100vw);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 768px) {
  .ticker-item {
    margin-right: 30px;
    font-size: 12px;
  }

  .ticker-change {
    font-size: 11px;
  }
}
/* End Ticker */

/* Footer */
.footer {
  background-color: var(--primary-blue);
  color: white;
  padding: 3rem 0 2rem 0;
}

.footer-logo {
  width: 105px;
  height: 88px;
  margin: 0 auto 2rem auto;
  display: block;
}

.footer-logo img {
  width: 100%;
  height: 100%;
}

.footer-links {
  border-top: 0.1px solid #797979;
  border-bottom: 0.1px solid #797979;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.footer-links a {
  font-family: var(--primary-font);
  font-size: 15px;
  font-weight: 300;
  color: #fff;
  text-decoration: none;
  letter-spacing: 3px;
  line-height: 15px;
  transition: color 0.3s ease;
  position: relative;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-links .highlighted {
  font-size: 22px;
  color: var(--gold);
}

.footer-links .footer-link-item:first-child a::after {
  background: #797979 !important;
  height: 55px !important;
  top: -10px !important;
}

.footer-links .footer-link-item:not(:last-child) a::after {
  content: "";
  display: flex;
  align-items: center;
  position: absolute;
  top: 4px;
  right: -3.5rem;
  height: 15px;
  width: 1px;
  background: white;
}

.footer-copyright {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--primary-font);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 3px;
  color: #fff;
}

.footer-copyright .equitec {
  color: var(--gold);
  text-decoration: underline;
  margin-left: 4px;
}
/* End Footer */

/* IPO */
.page-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-blue);
  height: 300px;
  color: white;
  padding: 3rem 0;
  position: relative;
}

.page-banner.short {
  height: 250px;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.page-banner .banner-title {
  font-size: 35px;
  font-weight: 600;
  line-height: 35px;
  letter-spacing: 4px;
  text-align: center;
  text-transform: uppercase;
}

.page-banner .banner-title-wrapper {
  position: relative;
}

.page-banner .banner-title.left {
  text-align: left;
}

.page-banner .banner-description {
  font-size: 16px;
  font-weight: 400;
  margin-top: 10px;
}

.page-banner .tri-1 {
  position: absolute;
  top: -1rem;
  left: 0;
}

.page-banner .circle-3 {
  position: absolute;
  top: 0;
  right: 30%;
}

.page-banner .circle-4 {
  position: absolute;
  bottom: 0;
  right: 0;
}

.market-report-card-wrapper {
  row-gap: 3rem;
}

.report-card-wrapper {
  column-gap: 20px;
}

.ceo-card-wrapper {
  column-gap: 20px;
  row-gap: 3rem;
}

.ceo-card-wrapper .ceo-card {
  background: transparent;
  width: 32% !important;
  height: auto;
  box-shadow: none;
}

.ceo-card-wrapper .ceo-card .ceo-data-wrapper .ceo-yt-title {
  padding: 0;
  padding-top: 1rem;
  font-size: 18px;
  font-weight: 300;
  margin: 0;
}

.ceo-card-wrapper .ceo-card .ceo-data-wrapper .ceo-date {
  font-size: 12px;
  font-weight: 400;
  color: var(--report-type);
  margin: 0;
  margin-top: 5px;
}

.view-more-btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0 4rem 0;
}

.view-more-btn-wrapper.secondary {
  background: #e7edf4;
  margin: 0;
  padding: 4rem 0 4rem 0;
}

.view-more-btn-wrapper .divider {
  width: 30%;
  height: 1px;
  background: #164679;
  opacity: 0.3;
}

.view-more-btn-wrapper .view-more-btn {
  background: #225a8e;
  color: #fff;
  border: none;
  border-radius: 30px;
  width: 222px;
  height: 50px;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.view-more-btn-wrapper .view-more-btn:hover {
  background: #173e62;
}
/* End IPO */

/* Market Reports */
.market-tabs-wrapper {
  background: #efefef;
  border-radius: 30px;
  position: relative;
  max-width: 1126px;
  height: 90px;
  margin: auto;
}
.market-reports-tab {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-content: center;
  background: #efefef;
  height: 100%;
  border-radius: 30px;
}

.market-reports-tab .nav-link {
  color: var(--primary-blue);
  font-weight: 700;
  height: 100%;
}

.market-reports-tab .nav-link.active {
  background-color: var(--gold) !important;
  border: none !important;
  border-radius: 30px;
}

.market-reports-tab.nav-tabs {
  border: none; /* Remove the borders around the tab container */
  border-radius: 30px; /* Rounded corners for the whole tab container */
  background-color: #efefef; /* Light background for the tab container */
  display: flex;
  justify-content: space-between; /* Distribute tabs evenly */
  width: 100%; /* Make sure the tabs span the whole container */
}

.market-reports-tab.nav-tabs .nav-item {
  width: 33.33%; /* Each tab takes up 1/3 of the parent width */
  text-align: center; /* Center text within each tab */
  height: 100%;
  position: relative;
}

.market-reports-tab.nav-tabs .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-transform: uppercase;
  padding: 10px 20px; /* Adjust padding to make it more prominent */
  color: #000; /* Default text color */
  background-color: #efefef; /* Tab background */
  border: none; /* Remove border */
  margin: 0; /* Remove margin */
  border-radius: 30px;
}

.market-reports-tab.nav-tabs .nav-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 0;
  height: 80%;
  width: 1px;
  opacity: 0.2;
  background: var(--primary-blue);
}

/* Active tab styling */
.market-reports-tab.nav-tabs .nav-link.active {
  background-color: var(--gold); /* Gold color for active tab */
  color: white; /* White text on active tab */
  font-weight: bold; /* Optional: Make active tab text bold */
}

.market-reports-tab.nav-tabs .nav-item:has(.nav-link.active)::after {
  content: none;
}

.market-reports.tab-content {
  margin-top: 3rem;
}
/* End Market Reports */

/* Global Search */
.global-search-wrapper {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 100px;
  position: relative;
  max-width: 1126px;
  height: 120px;
  margin: auto;
  box-shadow: 2px 2px 9px rgba(3, 20, 46, 0.53);
  padding: 1rem 1rem 1rem 3rem;
  margin-bottom: 3rem;
}

.global-search-wrapper input {
  width: 100%;
  height: 100%;
  color: var(--primary-blue);
  font-size: 18px;
  font-weight: 600;
  border: none;
  background: transparent;
}

.global-search-wrapper input:focus {
  outline: none;
}

.global-search-wrapper button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 150px;
  height: 60px;
  border: none;
  background: var(--gold);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 100px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.global-search-wrapper button:hover {
  background: var(--gold-200);
}

.global-search-wrapper button img {
  width: 18px;
  height: 18px;
}

.advance-search-button {
  position: absolute;
  right: 0;
  top: -12px;
  width: 220px;
  height: 60px;
  border: 1px solid white;
  color: white;
  background: transparent;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.advance-search-button:hover {
  background: white;
  color: #333;
}

.global-search .select-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.global-search .adv-company-dropdown-search {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  text-transform: uppercase;
  padding-left: 1rem;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 14px;
  margin-bottom: 8px;
}

.global-search .adv-company-dropdown-search:focus {
  outline: none;
}

.global-search .adv-company-dropdown-search::placeholder {
  opacity: 0.5;
}

.global-search .select-wrapper .selectBox {
  width: 300px;
  height: 50px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 400;
  color: #5b5b5b;
  background: #fff;
  border: 0.5px solid #a1a1a1;
  padding-left: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.adv-date-range-input {
  width: 300px;
  height: 50px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 400;
  color: #5b5b5b;
  background: #fff;
  border: 0.5px solid #a1a1a1;
  padding-left: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.adv-date-range-input:focus {
  outline: none;
}

.global-search .select-wrapper label {
  font-weight: 400;
  font-size: 15px;
  margin-left: 1rem;
  margin-bottom: 6px;
  color: #222222;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.global-search .reset-btn {
  width: 300px;
  height: 50px;
  border-radius: 30px;
  background: transparent;
  color: var(--secondary-blue);
  border: 1px solid var(--secondary-blue);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
}

.global-search .search-btn {
  width: 300px;
  height: 50px;
  border-radius: 30px;
  color: #fff;
  background: var(--secondary-blue);
  border: none;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
}
/* End Global Search */

/* Global Popup Wrapper */

.global-popup-wrapper {
  position: fixed;
  top: -100%;
  left: 0;
  z-index: 999;
  margin: 0;
  padding: 0;
  display: none;
  opacity: 0;
  width: 100%;
}

.global-popup-wrapper.show {
  display: block;
  opacity: 1;
  top: 100px;
}

.global-popup-wrapper .popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  background: #162c4a;
  opacity: 0.6;
  width: 100%;
  height: 100svh;
  z-index: 1;
}

.global-popup-wrapper .popup-content {
  background: #efefef;
  position: relative;
  z-index: 2;
  padding: 4rem;
}

.global-popup-wrapper .popup-content .container {
  position: relative;
}

.global-popup-wrapper .popup-content .close-popup {
  background: none;
  border: none;
  position: absolute;
  top: -2rem;
  right: 0;
  cursor: pointer;
}

.global-popup-wrapper .popup-content .close-popup img {
  width: 20px;
  height: 20px;
}

/* End Global Popup Wrapper */

/* Custom Select */
.selectBox {
  border: 1px solid #ccc;
  position: relative;
  padding: 12px 24px;
  cursor: pointer;
}
.selectBox__value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.selectBox:after {
  position: absolute;
  right: 12px;
  top: 56%;
  transform: translateY(-50%) rotate(0deg);
  transition: all 0.2s ease-in-out;
  /*content: url("../images/dropdown-arrow.png");*/
}
.selectBox .dropdown-menu {
  transition: all 0.5s ease-in-out;
  opacity: 0;
  display: block;
  top: 100%;
  width: 100%;
  max-height: 250px;
  z-index: -1;
  overflow-y: auto;
  transform: translateY(-15%);
  visibility: hidden;
}
.selectBox.show {
  background-color: #fff;
}
.selectBox.show:after {
  transform: translateY(-70%) rotate(180deg);
}
.selectBox.show .dropdown-menu {
  transition: all 0.3s ease-in-out;
  visibility: visible;
  opacity: 1;
  z-index: 1;
  transform: translateY(0);
  margin-left: -25px;
  z-index: 99;
}

.selectBox .dropdown-item.active,
.dropdown-item:active {
  background-color: var(--secondary-blue) !important;
}

.selectBox.multi-select .dropdown-item {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.selectBox .dropdown-item label {
  font-size: 14px;
  width: 230px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.selectBox.multi-select .dropdown-item:hover {
  background-color: #f8f9fa;
}

.selectBox.multi-select .dropdown-item input[type="checkbox"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

.selectBox.multi-select .dropdown-item label {
  margin: 0;
  cursor: pointer;
  flex: 1;
  font-size: 14px;
  user-select: none;
}

.selectBox.multi-select .dropdown-item.active {
  background-color: var(--secondary-blue);
  color: white;
}

.selectBox.multi-select .dropdown-item.active label {
  color: white;
}

.selectBox.multi-select .selectBox__value {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  min-height: 20px;
}

.selectBox.multi-select .selected-items {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: scroll;
  width: 95%;
}

.selectBox.multi-select .selected-items::-webkit-scrollbar {
  display: none;
}

.selectBox.multi-select .selected-item {
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  display: inline-block;
}

.selectBox.multi-select .selected-count {
  color: var(--secondary-blue);
  font-weight: 500;
  font-size: 12px;
  margin-left: 4px;
}

/* Search input styling for multi-select */
.selectBox.multi-select .adv-company-dropdown-search {
  width: 100%;
  padding: 8px 16px;
  border: none;
  border-bottom: 1px solid #e9ecef;
  outline: none;
  font-size: 14px;
  background-color: #f8f9fa;
}

.selectBox.multi-select .adv-company-dropdown-search:focus {
  background-color: white;
  border-bottom-color: var(--secondary-blue);
}
/* End Custom Select */

/* Screener */
.content-section.secondary {
  background: #eef2f7;
}
.screener-filter-wrapper {
  position: absolute;
  right: 0;
  top: -12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.screener-filter-wrapper .filter-title {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
}

.screener-filter-wrapper .selectBox {
  width: 200px;
  height: 50px;
  border: 1px solid #fff;
  border-radius: 12px;
  background: var(--primary-blue);
}

.screener-filter-wrapper .selectBox.show {
  background: var(--primary-blue);
}



.criteria.card {
  border: none;
}

.criteria.card .card-body {
  padding: 0;
  margin: 0;
  box-shadow: 2px 2px 8px rgba(3, 20, 46, 0.18);
}

.criteria.card,
.criteria.card .card-body,
.criteria.card .card-body table {
  border-radius: 12px;
}

/* Horizontal scrollbar */
.table-responsive::-webkit-scrollbar {
  height: 4px;
}

.table-responsive::-webkit-scrollbar-track {
  background: #eef2f7;
}

.table-responsive::-webkit-scrollbar-thumb {
  background-color: #225a8e;
  border-radius: 4px;
}

.sticky-table th:first-child,
.sticky-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1; /* Ensures the fixed column stays on top */
}

.criteria tbody,
.criteria tfoot,
.criteria th,
.criteria tr {
  background-color: transparent !important;
  border: none !important;
}

.criteria th:first-child,
.criteria td:first-child {
  padding-left: 2rem !important;
}

.criteria td:last-child,
.criteria th:last-child {
  padding-right: 2rem !important;
}

.criteria th {
  color: #225a8e !important;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 1rem ;
}

.criteria thead {
  background-color: transparent !important;
  border-bottom: 1px solid rgba(35, 91, 144, 0.3);
}

.criteria td:not(:last-child) {
  border-right: 1px solid rgba(35, 91, 144, 0.1);
}

.criteria td:nth-child(1) {
  width: 30%;
}

.criteria td:nth-child(2) {
  width: 10%;
  text-align: center;
}

.criteria td:nth-child(3) {
  width: 10%;
  text-align: center;
}

.criteria td .custom-radio {
  margin-top: 6px;
}

.criteria td .noUI-slider {
  width: 180px;
}

.criteria td .slider-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.criteria td .slider-wrapper .slider-input-container {
  width: 60px;
  height: 38px;
  border-radius: 8px;
  background: #eef2f7;
  flex-shrink: 0;
}

.criteria td .slider-wrapper .slider-input-container:last-child {
  margin-left: 14px;
}

.criteria td .slider-wrapper .slider-input-container input {
  background: none;
  width: 100%;
  height: 100%;
  border: none;
  color: #333333;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

.criteria
  td
  .slider-wrapper
  .slider-input-container
  input[type="number"]::-webkit-outer-spin-button,
.criteria
  td
  .slider-wrapper
  .slider-input-container
  input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.criteria td .slider-wrapper .slider-input-container input:focus {
  outline: none;
}

.criteria td {
  padding: 1rem !important;
  border: none;
  border-bottom: 1px solid rgba(35, 91, 144, 0.1) !important;
  text-transform: uppercase;
  font-size: 16px !important;
  font-weight: 500;
  color: #225a8e !important;
}

.criteria td span {
  color: var(--gold);
}

.criteria .btn-reset {
  width: 320px;
  height: 60px;
  border: 1px solid #225a8e;
  background: none;
  color: #225a8e;
  font-weight: bold;
  font-size: 16px;
  border-radius: 8px;
  text-transform: uppercase;
}

.criteria .btn-generate {
  width: 320px;
  height: 60px;
  border: 1px solid #225a8e;
  background: #225a8e;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  border-radius: 8px;
  text-transform: uppercase;
}

.stock-data.card {
  border: none;
}

.stock-data.card .card-body {
  padding: 1rem 2rem;
  margin: 0;
  box-shadow: 2px 2px 8px rgba(3, 20, 46, 0.18);
}

.stock-data.card .card-header {
  padding: 0;
  border: none;
  background: #e3ebf5;
  border-radius: 0;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}

.stock-data.card,
.stock-data.card .card-body {
  border-radius: 15px;
  height: 100%;
}

.stock-data.card .market-tabs-wrapper {
  background: #e3ebf5;
  height: 55px;
}

.stock-data.card .market-reports-tab.nav-tabs {
  background: #e3ebf5;
  border-radius: 0;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
}

.stock-data.card .market-reports-tab.nav-tabs .nav-link {
  color: #225a8e;
  font-size: 15px;
  font-weight: 600;
  background: #e3ebf5;
  border-radius: 0;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
}

.stock-data.card .market-reports-tab.nav-tabs .nav-link.active {
  color: white;
}

.stock-data.card .reset-all-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
}

.stock-data.card .reset-all-wrapper .btn-reset {
  width: 100px;
  height: 40px;
  border: 1px solid #225a8e;
  background: none;
  color: #225a8e;
  font-weight: bold;
  font-size: 14px;
  border-radius: 6px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.stock-data.card .reset-all-wrapper .btn-reset:hover {
  background: #225a8e;
  color: #fff;
}

.stock-data.card .reset-all-wrapper .custom-radio {
  margin-top: 8px;
}

.stock-data.card .reset-all-wrapper span {
  color: #225a8e;
  font-size: 15px;
  text-transform: uppercase;
}
/* End Screener */

/* Team */
.teamPage.content-section {
  position: relative;
}

.team-background {
  width: 100%;
  height: 50vh;
  background: #e3ebf5;
  position: absolute;
  top: 0;
}

.team-card-wrapper {
  position: relative;
  z-index: 2;
  gap: 2rem;
}

.team-card-wrapper .analyst-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  width: 353px;
  height: 320px;
  background: #255e99;
  border-radius: 15px;
  box-shadow: 3px 4px 18px rgba(3, 20, 46, 0.18);
  position: relative;
}

.team-card-wrapper .team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 353px;
  height: 320px;
  padding: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 3px 4px 18px rgba(3, 20, 46, 0.18);
}

.team-card-wrapper .team-card .team-image {
  width: 152px;
  height: 152px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 10px;
  background: #e3ebf5;
}

.team-card-wrapper .team-card .team-image img {
  width: 100%;
  height: 100%;
}

.team-card-wrapper .team-card .team-name {
  font-size: 20px;
  color: #245c95;
}

.team-card-wrapper .team-card .team-role {
  font-size: 16px;
  color: #333333;
}

.team-card-wrapper .team-card .team-social-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.team-card-wrapper .team-card .team-social-wrapper .email {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #333333;
  text-decoration: none;
}

.team-card-wrapper .team-card .team-social-wrapper .email img {
  width: 28px;
  height: 20px;
}

.team-card-wrapper .team-card .team-social-wrapper .view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 140px;
  height: 40px;
  border-radius: 30px;
  background: #255e99;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
}

.team-card-wrapper .team-card .team-social-wrapper .view-btn img {
  width: 26px;
  height: 16px;
}

.team-card-wrapper .analyst-card .team-circle-1 {
  position: absolute;
  top: 0;
  right: 0;
}

.team-card-wrapper .analyst-card .team-circle-2 {
  position: absolute;
  bottom: 0;
  right: 0;
}

.team-card-wrapper .analyst-card .team-circle-3 {
  position: absolute;
  top: 0;
  left: 0;
}

.team-card-wrapper .analyst-card .analyst-title {
  font-size: 25px;
  color: #fff;
  text-transform: uppercase;
  width: 200px;
  font-weight: 500;
  margin-left: 1rem;
  margin-bottom: 1rem;
}

.team-card-wrapper .analyst-card .analyst-icon {
  width: 69px;
  height: 78px;
  margin-left: 1rem;
}

.recent-research-wrapper .recent-research-title {
  font-size: 22px;
  color: #333333;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 8px;
}

.content-section.recent-research-wrapper {
  padding: 0;
  margin-bottom: -65px;
}

.team-details-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  gap: 2rem;
  z-index: 9;
}

.team-details-wrapper .team-image {
  width: 220px;
  height: 220px;
  filter: drop-shadow(2px 2px 9px rgba(3, 20, 46, 0.53));
  background: #fff;
  border-radius: 50%;
  padding: 5px;
}

.team-details-wrapper .team-image img {
  width: 100%;
  height: 100%;
}

.team-details-wrapper .team-info {
  margin-top: -4rem;
}

.team-details-wrapper .team-name {
  font-size: 30px;
  font-weight: 400;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
}

.team-details-wrapper .team-role {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  margin: 0;
}

.team-details-wrapper .team-divider {
  width: 1px;
  height: 60px;
  background: #fff;
  margin-top: -3.5rem;
  margin-left: 1rem;
  margin-right: 1rem;
}

.team-details-wrapper .email {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: -4rem;
}

.team-details-wrapper .email img {
  width: 22px;
  height: 22px;
}

.team-details-wrapper .email img.phone {
  width: 22px;
  height: 22px;
}

.team-details-wrapper .email a {
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
}

.team-section .team-description {
  max-width: 700px;
  margin: auto;
  margin-top: -4rem;
  font-size: 17px;
  font-weight: 400;
  color: #333333;
}
/* End Team */

/* Sector */
.banner-title-wrapper .slider-title {
  color: #dde1e6;
  margin: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.banner-title-wrapper.sector {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.analyst-small-card {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.analysts-slider-wrapper {
  width: 350px;
  position: relative;
  padding-left: 2rem;
  border-left: 1px solid #fff;
}

.analysts-slider-wrapper .splide__arrow.splide__arrow--prev {
  position: absolute;
  top: 30%;
  left: 84%;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: var(--primary-blue);
}

.analysts-slider-wrapper .splide__arrow.splide__arrow--next {
  position: absolute;
  top: 30%;
  right: 0;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: var(--primary-blue);
}

.analysts-slider-wrapper .splide__arrow.splide__arrow--prev svg,
.analysts-slider-wrapper .splide__arrow.splide__arrow--next svg {
  fill: #fff;
  width: 10px;
  height: 10px;
}

.analyst-small-card .analyst-image {
  width: 98px;
  height: 98px;
}

.analyst-small-card .analyst-info .analyst-name {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.analyst-small-card .analyst-info .analyst-role {
  font-size: 14px;
  color: #dde1e6;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
}

.page-banner.sector {
  padding-top: 0;
  height: 280px;
}

.sector-table-title {
  font-size: 25px;
  font-weight: 400;
  color: #265f9b;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 2rem;
}

.sector-export-btn {
  padding: 2rem;
  font-size: 12px;
  text-decoration: none;
  color: #255e99;
}

.sector.card {
  border: none;
}

.sector.card .card-body {
  padding: 0;
  margin: 0;
  box-shadow: 0px 7px 16px rgba(0, 0, 0, 0.19);
}

.sector.card,
.sector.card .card-body,
.sector.card .card-body table {
  border-radius: 18px;
}

.sector th {
  background: #255e99 !important;
  color: #fff !important;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 1.5rem 5px !important;
}

.sector td {
  font-size: 15px;
  font-weight: 500;
  color: #333333;
  padding: 1rem !important;
  white-space: nowrap;
}

.sector tr:nth-child(even) td {
  background: #eef2f7;
}

.sector thead {
  background-color: transparent !important;
  border-bottom: 1px solid #b8c4d0 !important;
}

.sector th {
  border-right: 1px solid rgb(163, 173, 183) !important;
}

.sector td:not(:last-child) {
  border-right: 1px solid rgba(35, 91, 144, 0.1);
}

.sector th:first-child,
.sector td:first-child {
  padding-left: 1.5rem !important;
}

.sector td:last-child,
.sector th:last-child {
  padding-right: 1.5rem ;
}

.sector td:nth-child(1),
.sector th:nth-child(1) {
  min-width: 300px;
  white-space: nowrap;
}

.sector.card,
.sector.card .card-body,
.sector.card .card-body table {
  margin: 0;
}

.sector tr:last-child td:last-child {
  border-bottom-right-radius: 18px;
}

.sector tr:last-child td:first-child {
  border-bottom-left-radius: 18px;
}
/* End Sector */

/* Companies */
.page-banner.company {
  padding-top: 0;
  height: 350px;
}

.company.sector tr:nth-child(even) td {
  background: #fff;
}

.company-details-tab .nav-link.active {
  color: #333333;
  border: none;
  font-weight: 700;
}

.company-details-tab .nav-link {
  position: relative;
  color: #333333;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
}

.company-details-tab .nav-link:hover {
  color: #000;
}

.company-details-tab li:not(:last-child) .nav-link::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 0;
  height: 15px;
  width: 1px;
  background-color: #333;
}

.company-details-tab .nav-link.active::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 4px;
  width: 50%;
  background-color: var(--gold);
}

.sector-table-title.company,
.sector-export-btn.company {
  padding-bottom: 0;
}

.company-details-tab {
  padding-left: 1rem !important;
}

.company-details-wrapper {
  width: 100%;
  padding-right: 2rem;
}

.company-details-wrapper .header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 6px;
}

.company-details-wrapper .header .company-type {
  font-size: 14px;
  font-weight: 400;
  color: #d2d5da;
  text-transform: uppercase;
  position: relative;
}

.company-details-wrapper .header .company-type::after {
  position: absolute;
  content: "";
  top: 50%;
  right: -0.8rem;
  transform: translateY(-50%);
  width: 1px;
  height: 15px;
  background: #d2d5da;
}

.company-details-wrapper .header .country {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #d2d5da;
  text-transform: uppercase;
}

.company-details-wrapper .name-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.company-details-wrapper .name-wrapper .name {
  font-size: 30px;
  font-weight: 500;
  color: #fff;
}

.company-details-wrapper .rating-badge {
  font-size: 16px;
}

.stats-wrapper {
  display: flex;
  margin-top: 1rem;
}

.stats-wrapper .columns {
  width: 600px;
  border-right: 1px solid #6c737a;
}

.stats-wrapper .columns .three-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #6c737a;
}

.stats-wrapper .columns .three-row .stat-col {
  padding-bottom: 10px;
}

.stats-wrapper .columns .three-row .stat-col:not(:last-child) {
  border-right: 1px solid #6c737a;
}

.stats-wrapper .columns .three-row .stat-col:not(:first-child) {
  padding-left: 1rem;
}

.stats-wrapper .columns .three-row .stat-col .title {
  font-size: 12px;
  color: #fff;
  margin: 0;
}

.stats-wrapper .columns .three-row .stat-col .value {
  font-size: 16px;
  color: #fff;
  margin: 0;
}

.stats-wrapper .columns .two-row .range-col .range-title {
  font-size: 12px;
  color: #fff;
  margin: 0;
}

.stats-wrapper .columns .two-row .range-col .range-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  color: #fff;
  margin: 0;
  padding-right: 1rem;
}

.stats-wrapper .columns .two-row .range-col .range-wrapper {
  display: flex;
  align-items: center;
  padding-right: 1rem;
  margin-top: 5px;
}

.stats-wrapper .columns .two-row .range-col .range-wrapper .line {
  width: 100%;
  height: 1px;
  background: #fff;
}

.stats-wrapper .columns .two-row .range-col .range-wrapper .low {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 20px;
  background: #fd5757;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

.stats-wrapper .columns .two-row .range-col .range-wrapper .high {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 20px;
  background: #55ca6a;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

.stats-wrapper .columns .two-row .daily-value-col .title {
  font-size: 12px;
  color: #fff;
  margin: 0;
}

.stats-wrapper .columns .two-row .daily-value-col .value {
  font-size: 16px;
  color: #fff;
  margin: 0;
}

.stats-wrapper .columns .two-row .range-col {
  width: 66.7%;
  border-right: 1px solid #6c737a;
  padding-top: 10px;
}

.stats-wrapper .columns .two-row .daily-value-col {
  padding-left: 1rem;
  padding-top: 10px;
}

.stats-wrapper .columns .two-row {
  display: flex;
  align-items: center;
}

.stats-wrapper .change-value {
  padding-left: 1rem;
}

.stats-wrapper .change-value .list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.stats-wrapper .change-value .list-wrapper .list-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.stats-wrapper .change-value .list-wrapper .list-item .title {
  font-size: 12px;
  color: #fff;
  margin: 0;
}

.stats-wrapper .change-value .list-wrapper .list-item .value {
  font-size: 16px;
  color: #fff;
  margin: 0;
}

.ceo-series-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  top: -12px;
  width: 220px;
  height: 60px;
  border: 1px solid white;
  text-decoration: none;
  color: white;
  background: transparent;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.ceo-series-button:hover {
  background: white;
  color: #333;
}

.company-search-wrapper {
  display: flex;
  align-items: center;
  background: #efefef;
  border-radius: 100px;
  position: relative;
  max-width: 1126px;
  height: 80px;
  margin: auto;
  padding: 1rem 1rem 1rem 3rem;
  margin-bottom: 3rem;
}

.company-search-wrapper input::placeholder {
  font-weight: 400;
  letter-spacing: 2px;
}

.company-search-wrapper input {
  width: 96%;
  height: 100%;
  color: var(--primary-blue);
  font-size: 16px;
  font-weight: 600;
  border: none;
  background: transparent;
  text-transform: uppercase;
}

.company-search-wrapper input:focus {
  outline: none;
}

.company-search-wrapper .search-icon {
  width: 18px;
  height: 18px;
  filter: invert(1);
}

.letters-wrapper {
  max-width: 1126px;
  margin: auto;
  margin-bottom: 2rem;
}

.letters-wrapper .letters-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.9rem;
  list-style: none;
  padding: 0;
}

.letters-wrapper .letters-list .letter-item {
  position: relative;
}

.letters-wrapper .letters-list .letter-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -1rem;
  background: #5b5b5b;
  height: 15px;
  width: 2px;
}

.letters-wrapper .letters-list .letter-item a {
  font-size: 18px;
  color: #5b5b5b;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.letters-wrapper .letters-list .letter-item.active a {
  color: #a7892d;
}

.letters-wrapper .letters-list .letter-item:hover a {
  color: #222;
}

#company-table {
  max-width: 1126px;
  width: 100%;
  border-spacing: 0 10px;
}

#company-table thead th {
  background-color: #fff;
  color: #5b5b5b;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border: none;
  text-transform: uppercase;
  padding-left: 2rem;
}

#company-table tbody td {
  font-size: 15px;
  font-weight: 500;
  padding: 1rem 2rem;
  color: #5b5b5b;
  position: relative;
}

table.dataTable tbody tr {
  background: #fff;
}

#company-table tbody tr:not(:last-child) td:not(:last-child):after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 64px;
  width: 2px;
  background: rgba(147, 159, 171, 0.2);
}

#company-table tbody tr:last-child td:not(:last-child):after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 45px;
  width: 2px;
  background: rgba(147, 159, 171, 0.2);
}

#company-table tbody td a {
  text-decoration: none;
  color: #5b5b5b;
}

/* Rounded corners only on first and last td of each row */
#company-table tbody tr td:first-child {
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}

#company-table tbody tr td:last-child {
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}

#company-table.dataTable.no-footer {
  border: none;
}

#company-table.dataTable tbody tr.odd {
  background: #efefef;
}

#company-table.dataTable td.sorting_1 {
  background: inherit !important;
  box-shadow: none !important;
}

#company-table.dataTable.row-border > tbody > tr > th,
#company-table.dataTable.row-border > tbody > tr > td,
#company-table.dataTable.display > tbody > tr > th,
#company-table.dataTable.display > tbody > tr > td {
  border: none;
}

/* Remove default datatable styling */
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_paginate,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_info {
  display: none;
}
/* End Companies */

@media (min-width: 1200px) and (max-width: 1399px) {
  .container.container-small {
    max-width: 1140px;
  }
  .footer-links .footer-link-item:not(:last-child) a::after {
    right: -15%;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .container.container-small {
    max-width: 960px;
  }
}

@media (max-width: 768px) {
  /* Mobile menu overlay */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  /* Mobile menu sidebar */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100svh;
    background-color: #ffffff;
    z-index: 1050;
    transition: left 0.3s ease;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    overscroll-behavior: contain;
  }

  .mobile-menu.show {
    left: 0;
  }

  .mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-body {
    list-style: none;
    padding: 20px 0;
    height: calc(100svh - 160px);
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .mobile-menu-item {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.2s ease;
    position: relative;
  }

  .mobile-menu-item:hover {
    background-color: #f8f9fa;
    color: #333;
  }

  .mobile-menu-item a {
    width: 100%;
    display: block;
  }

  .mobile-menu-item:last-child {
    border-bottom: none;
  }

  .mobile-menu-item.has-children a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
  }

  .mobile-menu-item.has-children .mobile-submenu {
    padding: 0;
    list-style: none;
    display: none;
  }

  .mobile-menu-item.has-children.open a {
    color: var(--secondary-blue);
    border-bottom: 1px solid;
    border-color: var(--secondary-blue);
  }

  .mobile-menu-item.has-children::after {
    content: "";
    position: absolute;
    transform: translateY(-50%);
    background: url(../Content/images/arrow-down.png) no-repeat center right;
    top: 30px;
    right: 1.5rem;
    width: 18px;
    height: 18px;
    background-size: contain;
    transform: translateY(-50%) rotate(0deg);
    transform-origin: 50% 50%;
    pointer-events: none;
    transition: transform 0.25s ease, filter 0.25s ease;
  }

  /* Rotate and tint arrow to --secondary-blue when submenu is open */
  .mobile-menu-item.has-children.open::after {
    transform: translateY(-50%) rotate(180deg);
    /* Recolor black PNG to secondary blue */
    filter: invert(20%) sepia(24%) saturate(2000%) hue-rotate(185deg)
      brightness(92%) contrast(95%);
  }

  .mobile-menu-item.has-children .mobile-submenu li a {
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.2s ease;
  }

  .mobile-menu-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
  }

  .navbar-brand,
  .logo-icon {
    margin-right: 0 !important;
  }

  .gap-5rem {
    gap: 5rem;
    justify-content: center;
  }

  .stock-data.card .reset-all-wrapper {
    position: initial;
    text-align: center;
    margin: 20px 0 10px;
    display: block;
  }

  .stock-data.card,
  .stock-data.card .card-body {
    height: auto;
  }

  .logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    width: 100%;
    background-color: var(--gray-300);
    color: #333;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.2s ease;
  }

  .sector td span {
    width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  #company-table tbody td a {
    width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  #company-table td:first-child,
  #company-table th:first-child {
    min-width: unset;
  }

  .sector td:nth-child(1),
  .sector th:nth-child(1) {
    min-width: unset;
  }

  .logout-btn img {
    width: 20px;
    height: 20px;
  }

  .logout-btn:hover {
    background-color: #b23b3b;
    color: white;
  }

  .logout-btn:hover img {
    filter: invert(1);
  }

  .hamburger {
    cursor: pointer;
  }

  .hamburger input {
    display: none;
  }

  .hamburger svg {
    /* The size of the SVG defines the overall size */
    height: 2em;
    /* Define the transition for transforming the SVG */
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .line {
    fill: none;
    stroke: #666;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    /* Define the transition for transforming the Stroke */
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
      stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .line-top-bottom {
    stroke-dasharray: 12 63;
  }

  .hamburger input:checked + svg {
    transform: rotate(-45deg);
  }

  .hamburger input:checked + svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
  }

  .mobile-menu-close svg {
    transform: rotate(-45deg);
  }
  .mobile-menu-close svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
  }

  .navbar .navbar-toggler {
    padding: 0;
    border: none;
  }

  .navbar .navbar-toggler:focus {
    box-shadow: none;
  }

  .user-section {
    display: none;
  }

  .page-banner {
    height: 220px;
  }

  .page-banner .banner-title {
    font-size: 20px;
  }
  .page-banner .banner-description {
    font-size: 12px;
  }

  .report-card {
    width: 310px !important;
    border-radius: 20px;
  }

  .ceo-card {
    width: 310px !important;
  }

  .ceo-card-wrapper .ceo-card {
    width: 100% !important;
  }

  .market-report-card-wrapper .market-report-card::after {
    display: none;
  }

  .ceo-card .ceo-data-wrapper .ceo-embed-yt {
    height: 220px;
  }

  .ceo-yt-title {
    font-size: 16px;
  }

  .stock-symbol {
    font-size: 12px;
  }

  .download-btn {
    width: 30px;
    height: 30px;
  }

  .download-btn img {
    width: 10px;
    height: 12px;
  }

  .company-name {
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .stock-price {
    font-size: 12px;
  }

  .rating-badge {
    font-size: 12px;
  }

  .report-description {
    font-size: 12px;
  }

  .section-title {
    font-size: 16px;
  }

  .view-all-btn {
    font-size: 14px;
  }

  .market-reports-tab.nav-tabs {
    border-radius: 18px;
  }

  .market-reports-tab .nav-link.active {
    border-radius: 18px;
  }

  .market-reports-tab.nav-tabs .nav-link {
    font-size: 12px;
  }

  .criteria .btn-reset {
    width: 250px;
    height: 50px;
    margin: auto;
  }

  .criteria .btn-generate {
    width: 250px;
    height: 50px;
    margin: auto;
  }

  .stock-data.card {
    margin-top: 2rem;
  }

  .criteria th:first-child,
  .criteria td:first-child {
    padding-left: 1rem !important;
  }

  .criteria th:last-child,
  .criteria td:last-child {
    padding-right: 1rem !important;
  }

  .criteria td .noUI-slider {
    width: 125px;
  }

  .team-card-wrapper .analyst-card {
    width: 300px;
  }

  .team-card-wrapper .team-card {
    width: 300px;
  }

  .team-card-wrapper .team-card .team-image {
    width: 140px;
    height: 140px;
  }

  .team-background {
    height: 65vh;
  }

  .team-details-wrapper {
    flex-direction: column;
  }

  .screener-filter-wrapper {
    position: static;
    margin-top: 10px;
    margin-bottom: 5rem;
  }

  .team-details-wrapper .team-image {
    width: 200px;
    height: 200px;
  }

  .team-details-wrapper .team-info {
    margin-top: -1rem;
  }

  .team-section .team-description {
    margin: 1rem;
  }

  .team-details-wrapper .team-name,
  .team-details-wrapper .team-role {
    color: var(--primary-blue);
  }

  .team-details-wrapper .email img {
    filter: invert(0.5);
  }

  .team-details-wrapper .email a {
    color: var(--primary-blue);
  }

  .content-section.team-section {
    padding-bottom: 2rem;
  }

  .analysts-slider-wrapper {
    border-left: none;
    margin-top: 10px;
  }

  .analyst-small-card .analyst-image {
    width: 80px;
    height: 80px;
  }

  .analyst-small-card .analyst-info .analyst-name {
    font-size: 16px;
  }

  .analyst-small-card .analyst-info .analyst-role {
    font-size: 12px;
  }

  .banner-title-wrapper .slider-title {
    margin-bottom: -5px;
  }

  .sector-table-title {
    font-size: 16px;
  }

  .page-banner.company {
    height: 550px;
  }

  .stats-wrapper {
    flex-direction: column;
  }

  .company-details-wrapper .name-wrapper .name {
    font-size: 20px;
  }

  .company-details-wrapper .rating-badge {
    font-size: 14px;
  }

  .company-details-wrapper .name-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-wrapper .columns {
    width: 100%;
    border-right: none;
  }

  .stats-wrapper .change-value {
    padding-left: 0;
  }

  .stats-wrapper .columns .two-row .range-col {
    width: 70.7%;
  }

  .stats-wrapper .columns .three-row .stat-col .title,
  .stats-wrapper .columns .two-row .daily-value-col .title,
  .stats-wrapper .change-value .list-wrapper .list-item .title {
    font-size: 10px;
  }

  .stats-wrapper .columns .three-row .stat-col .value,
  .stats-wrapper .columns .two-row .daily-value-col .value,
  .stats-wrapper .change-value .list-wrapper .list-item .value {
    font-size: 14px;
  }

  .stats-wrapper .change-value .list-wrapper {
    flex-direction: row;
  }

  .stats-wrapper .change-value .list-wrapper .list-item {
    display: inline;
    margin-top: 1rem;
  }

  .letters-wrapper .letters-list .letter-item a {
    font-size: 14px;
  }

  .letters-wrapper .letters-list .letter-item:not(:last-child)::after {
    height: 12px;
  }

  .letters-wrapper .letters-list {
    justify-content: center;
    padding-right: 1rem;
  }

  .content-section.full-height {
    min-height: unset;
  }

  .global-search-wrapper {
    height: 90px;
    padding: 1rem;
  }

  .global-search-wrapper button {
    width: 60px;
    height: 50px;
  }

  .global-search-wrapper input {
    font-size: 14px;
  }

  .global-search-wrapper button span {
    display: none;
  }

  .report-card-wrapper {
    justify-content: center;
  }

  .page-banner .banner-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .page-banner .banner-title-wrapper .banner-title {
    margin-bottom: 10px !important;
  }

  .advance-search-button {
    width: 220px;
    height: 50px;
    position: static;
    margin-bottom: 4rem;
  }

  .ceo-series-button {
    width: 220px;
    height: 50px;
    position: static;
    margin-bottom: 4rem;
  }

  .letters-wrapper {
    width: 100%;
  }

  #company-table {
    width: 100%;
  }

  .global-popup-wrapper .popup-content {
    padding: 3rem 1rem;
    height: calc(100svh - 2px);
  }

  .container {
    max-width: 95%;
  }

  .container.container-small {
    max-width: 95%;
  }

  .footer-links .footer-link-item a {
    font-size: 14px;
  }

  .footer-links .footer-link-item {
    text-align: left;
  }

  .footer-links .footer-link-item:first-child a::after {
    display: none;
  }

  .footer-links .footer-link-item:not(:last-child) a::after {
    display: none;
  }

  .footer-copyright {
    display: inline;
    font-size: 10px;
  }

  .content-section .splide__arrow.splide__arrow--prev,
  .content-section .splide__arrow.splide__arrow--next {
    border-color: var(--gold-200);
    background-color: var(--gold-200);
  }

  .content-section .splide__arrow.splide__arrow--prev svg,
  .content-section .splide__arrow.splide__arrow--next svg {
    fill: #fff;
  }

  .splide__arrow.splide__arrow--prev {
    left: -0.5em;
  }

  .splide__arrow.splide__arrow--next {
    right: -0.5em;
  }

  .splide__arrow.splide__arrow--prev,
  .splide__arrow.splide__arrow--next {
    border-color: #fff;
    background-color: #fff;
    box-shadow: 4px 5px 18px 0px rgba(0, 0, 0, 0.27);
  }

  .splide__arrow.splide__arrow--prev svg,
  .splide__arrow.splide__arrow--next svg {
    fill: #333;
  }
}

/* Login */
/* Ensure the login page takes full screen height */
.login-page {
  margin: 0;
  padding: 0;
  height: 100vh; /* Full viewport height */
  display: flex;
  flex-direction: row;
}

.login-page .row {
  height: 100%;
  width: 100%;
}

.login-page .left-section,
.login-page .right-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Ensure both sections take up full height of viewport */
}

.login-page .left-section {
  background: url("../images/login-background.png") no-repeat center
    center/cover;
  color: #fff;
  position: relative;
}

.login-page .welcome-text {
  top: 4rem;
  z-index: 2;
}

.login-page .welcome-text h2 {
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.login-page .welcome-text h3 {
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.login-page .form-container {
  max-width: 320px;
  width: 100%;
  text-align: center;
}

.login-page .logo {
  width: 150px;
  margin-bottom: 2rem;
}

.login-page .right-section h2 {
  color: #225a8e;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.login-page form input {
  border-color: #555;
  padding: 12px 1.3rem;
  border-radius: 30px;
  font-weight: 500;
  color: #555;
  transition: border-color 0.1s ease;
}

.login-page form input:focus {
  outline: none;
  box-shadow: none;
  border-color: var(--secondary-blue);
  border-width: 2px;
}

.login-page form button {
  margin-top: 1rem;
  border-radius: 30px;
  padding: 12px 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background-color: var(--secondary-blue);
  transition: background-color 0.3s ease;
}

.login-page form button:hover {
  background-color: var(--primary-blue);
}

.login-page .forgot-password {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

.login-page .forgot-password:hover {
  text-decoration: underline;
}

.login-page.edit-profile {
  margin-left: 250px;
  max-width: 450px;
  padding: 2rem 0;
  height: auto;
  margin-top: -3rem;
  border-radius: 8px;
  box-shadow: 3px 4px 18px rgba(3, 20, 46, 0.18);
}

.login-page.edit-profile h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2rem;
}

.team-image .user-avatar {
  width: 100%;
  height: 100%;
  font-size: 72px;
}

/* Register */
.register.login-page .logo {
  margin-bottom: 1rem;
}

.login-page .register-card.form-container {
  max-width: 100%;
}

.register-card {
  padding: 2rem 1rem;
  background: #f6f8fa;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  height: calc(100% - 35px);
  overflow-y: scroll;
  border-radius: 12px;
  font-size: 14px;
}

.register-card h2 {
  color: #174a6d;
}

.register-card input::placeholder {
  font-size: 14px;
}

.register-form {
  max-width: 100% !important;
  width: 85% !important;
  height: calc(100svh - 255px);
}

.register-card::-webkit-scrollbar {
  width: 6px;
}

.register-card::-webkit-scrollbar-track {
  background: #e6eaef;
}

.register-card::-webkit-scrollbar-thumb {
  background-color: #225a8e;
  border-radius: 4px;
}

.register-form .form-group,
.preferences-form .prefer-item {
  text-align: left;
}

.register-form .form-group label,
.preferences-form label {
  margin-left: 1rem;
  margin-bottom: 6px;
}

.preferences-form .prefer-select-all {
  margin: 0;
  text-transform: uppercase;
  font-size: 14px;
}

.register.login-page button {
  max-width: 320px;
  margin-top: 1rem;
  border-radius: 30px;
  padding: 12px 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background-color: var(--secondary-blue);
  transition: background-color 0.3s ease;
}

.register.login-page button:hover {
  background-color: var(--primary-blue);
}

.preferences-form .selectBox {
  width: 100%;
  border-color: #555;
  padding: 12px 1.3rem;
  border-radius: 30px;
  font-weight: 500;
  color: #555;
  background: #fff;
  transition: border-color 0.1s ease;
}

.preferences-form .selectBox .dropdown-item.active,
.dropdown-item:active {
  background-color: transparent !important;
}

.preferences-form .selectBox .dropdown-item.active label,
.dropdown-item:active label {
  color: #333;
}

.prefer-pill-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #ebf4ff;
  padding: 1rem 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}

.prefer-pill-wrapper.hide {
  opacity: 0;
  height: 0;
  padding: 0;
  visibility: hidden;
}

.prefer-pill-wrapper .prefer-pill {
  width: 45%;
  display: flex;
  align-items: center;
  gap: 2px;
  background-color: #fff;
  padding: 2px 8px;
  border-radius: 25px;
  cursor: default;
}

.prefer-pill-wrapper .prefer-pill:hover {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.prefer-pill-wrapper .prefer-pill p {
  width: calc(100% - 10px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  margin: 0;
}

.prefer-pill-wrapper .prefer-pill i {
  color: var(--secondary-blue);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.prefer-pill-wrapper .prefer-pill i:hover {
  color: var(--primary-blue);
  scale: 1.1;
}

.prefer-pill-wrapper .bi::before,
.prefer-pill-wrapper [class^="bi-"]::before,
.prefer-pill-wrapper [class*=" bi-"]::before {
  vertical-align: -0.29em;
}

.preferences.login-page.edit-profile {
  max-width: 50%;
}

.preferences.login-page .form-container {
  max-width: 100%;
}

.preferences-form .prefer-submit {
  width: 320px;
}

.company-details-table-wrapper {
  box-shadow: 0px 7px 16px rgba(0, 0, 0, 0.19);
  border-radius: 0 0 18px 18px;
}

.sector.card.company-details .card-body {
  box-shadow: none;
}

.company.card.company-details .view-more-btn-wrapper {
  margin-top: 4rem;
}

.go-to-register-link {
  text-decoration: none;
  color: var(--gold);
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.go-to-register-link:hover {
  color: var(--gold-200);
  text-decoration: underline;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .login-page {
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Stack the sections vertically on smaller screens */
  }

  .login-page.edit-profile {
    max-width: 100%;
    margin-left: 0;
    margin-top: 2rem;
  }

  .login-page .left-section {
    display: none !important;
  }

  .login-page .right-section {
    height: 100svh; /* Allow sections to adjust height on mobile */
  }

  .login-page .left-section {
    padding: 20px;
  }

  .login-page .form-container {
    max-width: 90%;
  }

  .search-icon-wrapper {
    background: none;
    border: none;
  }

  .search-icon-wrapper img {
    width: 25px;
    height: 25px;
  }

  .navbar {
    padding: 0 !important;
  }

  .register-card {
    width: 100% !important;
  }

  .register-form {
    width: 95% !important;
  }

  .preferences-form .selectBox {
    width: 98%;
  }

  .captcha {
    width: 92%;
    overflow: hidden;
  }

  .preferences.login-page.edit-profile {
    max-width: 100%;
  }

  .preferences-form .prefer-submit {
    width: 100%;
  }
}

/* End Login */

.daterangepicker.ltr.show-ranges.opensright.show-calendar.drop-up {
  z-index: 9999;
}

table.right-align-table th:not(:first-child),
table.right-align-table td:not(:first-child) {
  text-align: right;
}
