.fyers-product-modal .modal-body {
  padding: 0;
}

.fyers-product-modal.modal {
  position: fixed;
  z-index: 1050;
  top: 0;
  left: 0;
  display: block !important;
  overflow: hidden;
  width: 100%;
  height: 100%;
  outline: 0;
}

.fyers-product-modal.modal.d-none {
  display: none !important;
}

.fyers-product-modal .product-menu-holder {
  height: 100%;
}

.fyers-product-modal .search-holder {
  flex: 1;
}

.fyers-product-modal .search-input {
  width: 100%;
}

.fyers-product-modal .close_btn {
  padding-left: 4px;
}

.fyers-product-modal .product-menu-item {
  padding: 0 4px;
}

.fyers-product-modal .scroll-options-global {
  padding: 2px 2px 2px 8px;
  margin: 2px 0;
  cursor: pointer;
}

.fyers-product-modal .scroll-options-global.active {
  color: #007bff;
  font-weight: 500;
}

.fyers-product-modal .no-data-available {
  justify-content: center;
  align-items: center;
}

.pb-5 {
  padding-bottom: 5rem;
}

.fyers-product-modal .logo-image {
  max-width: 36px;
  max-height: 36px;
}

.fyers-product-modal .global-title {
  margin-bottom: 0;
  color: #2a394e;
  font-size: 0.9rem;
  font-weight: 500;
}

.fyers-product-modal .subtitle-text {
  margin-bottom: 0;
  color: #747e8b !important;
  font-size: 0.75rem;
  font-weight: 400;
}

.product-menu-element a {
  color: inherit;
  text-decoration: none;
}

.product-menu-element a:hover {
  text-decoration: none;
}

#productMenuItems.d-none {
  display: none;
}

#productMenuEmpty.d-flex {
  display: flex;
}

#productMenuCenter .close {
  display: block;
  opacity: 0.5 !important;
}
.fyers-product-modal .product-menu {
  width: 100%;
  border: 0;
  background-color: #fff !important;
  border-radius: 12px;
}
.fyers-product-modal .modal-lg,
.fyers-product-modal .modal-xl {
  max-width: 1287px !important;
}

.product-menu-hold {
  overflow: hidden;
  overflow-y: auto;
  height: 35rem;
  max-height: 100vh;
}

.product-menu-hold::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #f5f5f5;
}

.product-menu-hold::-webkit-scrollbar {
  width: 6px;
  background-color: #d9d9d9;
}

.product-menu-hold::-webkit-scrollbar-thumb {
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #436af5;
}
.product-menu-hold h6 {
  letter-spacing: normal;
  text-transform: capitalize;
}
.product-menu-item ul li.default-product-app a {
  border-left: 6px solid #436af5;
  background-color: #ffffff;
  clip-path: polygon(
    100% 0,
    100% calc(100% - 20px),
    calc(100% - (30px * 0.9)) 100%,
    0 100%,
    0 0
  );
}
.product-menu-item ul li a p {
  margin-bottom: 0px;
  color: #7f8082;
  font-size: 0.75rem;
}
.product-menu-item ul li span img {
  padding-right: 9px;
}
.no-data-available h5 {
  color: #747e8b;
  font-size: 1.2rem;
  font-weight: 500;
}
@media screen and (max-width: 993px) {
  .product-menu-item ul li {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
    margin: 5px 5px;
  }
}

@media (max-width: 575px) {
  .product-menu-item ul li {
    flex: 0 0 calc(100% - 15px);
    max-width: calc(100% - 30px);
  }
}
@media screen and (max-width: 993px) {
  #productMenu {
    height: auto;
  }
}

[type="search"]::-webkit-search-cancel-button {
  width: 18px;
  height: 17px;
  background-image: url("https://assets.fyers.in/images/global-header/icon-clear.svg");
  background-size: cover;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  opacity: 1;
}
.search-input {
  height: 38px;
  padding-left: 40px;
  background: url("https://assets.fyers.in/images/global-header/search-product-icon.svg")
    no-repeat scroll;
  background-position: 3% 50%;
  font-size: 0.75rem;
}
.search-holder {
  width: 100%;
  max-width: 360px;
}

.search-holder input[type="search"]::placeholder {
  display: block;
  text-align: left;
}
.search-holder input[type="search"]:focus-within::placeholder {
  color: transparent;
}
.search-holder:focus-within img {
  display: none;
}
#productMenu .modal-body {
  padding: 0;
}

@media (max-width: 575px) {
  .icon-mobile {
    max-width: 45px;
  }
}
#productMenuEmpty {
  height: 35rem;
  max-height: 100vh;
}
.heading-gradient {
  background: linear-gradient(
    260.47deg,
    rgba(255, 248, 223, 0) -19.72%,
    rgba(250, 245, 235, 0) 12.79%,
    #f2f1ff 124.42%
  );
  color: #2a394e;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 4px;
}
.global-title {
  color: #2a394e;
  font-family: "Poppins";
  font-size: 0.9rem;
  font-weight: 500;
}
.scroll-options-global {
  display: flex;
  cursor: pointer;
  border-radius: 8px 0px 0px 8px;
  color: #2a394e;
  font-weight: 500;
}
.scroll-options-global.active {
  border-right: 5px solid #436af5;
  background: #ecf0fe;
  color: #436af5;
  cursor: pointer;
}

.fyers-product-modal .modal-content .close {
  width: 25px;
  height: 25px;
}

.fyers-product-modal .search-input {
  height: 38px;
  padding-left: 40px !important;
}

.fyers-product-modal .image-container {
  width: 41px;
  height: 41px;
  border-radius: 8px;
  background-color: #f9f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fyers-product-modal .global-header-close {
  background: url("https://assets.fyers.in/global-components/global-header/close-icon-light.svg") !important;
}

/* Dark theme */

.fyers-product-modal.fyers-product-modal-dark .product-menu {
  background-color: #2a394e !important;
}

.fyers-product-modal.fyers-product-modal-dark .heading-gradient {
  background: linear-gradient(
    237deg,
    rgba(113, 96, 204, 0) 0%,
    rgba(113, 96, 204, 0) 22.01%,
    #7160cc 97.57%
  );
  color: #ecf0fe;
}

.fyers-product-modal.fyers-product-modal-dark .global-title {
  color: #ecf0fe;
}

.fyers-product-modal.fyers-product-modal-dark .scroll-options-global {
  color: #ecf0fe;
}

.fyers-product-modal.fyers-product-modal-dark .scroll-options-global.active {
  color: #ecf0fe;
  background-color: #1f3554;
}

.fyers-product-modal.fyers-product-modal-dark .form-control {
  background-color: #2a394e;
  border: 1px solid #6a7582;
  color: #ecf0fe;
}

.fyers-product-modal.fyers-product-modal-dark
  .product-menu-hold::-webkit-scrollbar-track {
  background-color: #2a394e;
  border-radius: 0px;
}

.fyers-product-modal.fyers-product-modal-dark
  .product-menu-hold::-webkit-scrollbar {
  width: 6px;
  background-color: #2a394e;
}

.fyers-product-modal.fyers-product-modal-dark .global-header-section-seperator {
  border-right: 1px solid #6a7582 !important;
}

.fyers-product-modal.fyers-product-modal-dark .subtitle-text {
  color: #f4f5f6 !important;
}

.fyers-product-modal.fyers-product-modal-dark .global-header-close {
  background: url("https://assets.fyers.in/global-components/global-header/close-icon-dark.svg") !important;
  background-repeat: no-repeat;
  background-position: center;
}

.fyers-product-modal.fyers-product-modal-dark .image-container {
  background-color: #222e3e;
}

.fyers-product-modal.fyers-product-modal-dark .scroll-options-global.active {
  background: #222e3e;
}

.scroll-helper {
  min-height: 42vh;
}

.fyers-product-modal.fyers-product-modal-dark
  img.tradingview-product-menu-item {
  content: url(https://assets.fyers.in/global-components/global-header/tradingviewDarkIcon.svg);
}

.global-header-request-feature-container {
  padding: 8px 12px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 100px;
  border: 1px solid #eaebed;
  background-color: #fff;
  margin-right: 12px;
  cursor: pointer;
}

.global-header-request-feature-text {
  color: #2a394e;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  display: flex;
  gap: 8px;
}

.global-header-request-feature-container:hover {
  background-color: #ecf0fe;
  border-color: #ecf0fe;
}

.fyers-product-modal.fyers-product-modal-dark
  .global-header-request-feature-container:hover {
  background-color: #1b2a62;
  border-color: #1b2a62;
}

.global-header-request-feature-img-container {
  height: 15px;
  width: 15px;
}

.fyers-product-modal.fyers-product-modal-dark
  .global-header-request-feature-container {
  border-color: #2a394e;
  background: #222e3e;
}

.fyers-product-modal.fyers-product-modal-dark
  .global-header-request-feature-text {
  color: #ecf0fe;
}

.fyers-product-modal.fyers-product-modal-dark
  .global-header-request-feature-img-container
  img {
  content: url("https://assets.fyers.in/global-components/global-header/feedback-product-icon-dark.svg");
}
