.frame {
    background-color: #edf3fa;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers content horizontally */
    width: 100%;
  }
  
  .frame .div {
    background-color: #edf3fa;
    /* overflow: hidden; */
    max-width: 2500px;
    min-width: 1230px;
    width: 90%;
    min-height: 100vh;
    position: relative;
    
    /* font-family: "Space Grotesk-Medium", Roboto;
    font-weight: 500;
    color: var(--gray-700);
    font-size: 10px;
    letter-spacing: 0;
    line-height: 25.2px; */
  }

  .frame #scrollToTop {
      display: none;
      position: fixed;
      bottom: 5%;
      right: 3%; 
      background-color: #cad8eb; 
      color: #2b2b2b; /* Text color for contrast */
      font-family: Arial, sans-serif;
      font-size: 20px;
      border-radius: 50%;
      padding: 20px 20px;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      cursor: pointer;
      transition: background-color 0.3s, transform 0.3s;
      z-index: 9999; /* Ensures it's above other elements */
  }
    
    .frame #scrollToTop:hover {
        background-color: #b8cce0; /* Slightly darker on hover */
        transform: scale(1.05); /* Subtle enlargement effect */
    }
    
  .frame .overlap {
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
  }
  
  .frame .image {
    position: absolute;
    width: 593px;
    height: 732px;
    top: 0;
    right: 0;
    object-fit: cover;
  }
  
  .frame .img {
    position: absolute;
    width: 100%;
    height: 724px;
    top: 0;
    left: 0;
    object-fit: cover;
  }
  
  .frame .text-wrapper {
    font-family: "Inter-Regular", Roboto;
    font-weight: 400;
    color: #999999;
    font-size: 16px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
  }
  
  .frame .text-wrapper-2 {
    position: absolute;
    top: 27px;
    left: 1158px;
    font-family: "Inter-Regular", Roboto;
    font-weight: 400;
    color: #1c84ff;
    font-size: 16px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
  }
  
  .frame .element {
    position:  relative;
    width: 20px;
    height: 20px;
    top: 28px;
    left: 1129px;
  }
  
  .frame .div-3 {
    position: sticky;
    width: 100%;
    height: 72px;
    top: 0;
    left: 0;
    background-color: #f4f9ff;
    z-index: 10;
    text-transform: uppercase;
    font-weight: bold;

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

  .frame .rectangle {
    position: absolute;
    width: 97px;
    height: 5px;
    top: 67px;
    background-color: #1c84ff;
    transform: translateX(-320px);
  }

  .frame .rec-pos1 {
    /* left: 392px; */
    transform: translateX(-320px);
  }

  .frame .rec-pos2 {
    transform: translateX(-192px);
  }

  .frame .rec-pos3 {
    transform: translateX(-87px);
  }

  .frame .rec-pos4 {
    transform: translateX(32px);
  }

  .frame .rec-pos5 {
    transform: translateX(162px);
  }

  .frame .rec-pos6 {
    transform: translateX(262px);
  }

  .frame .rec-pos7 {
    transform: translateX(347px);
  }

  
  .frame .MARKET-ASSETS {
    position: absolute;
    top: 8px;
    /* left: 25%; */
    font-family: "Inter-Regular", Roboto;
    font-weight: 400;
    color: #000000;
    font-size: 20px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
  }

  .frame .logo-wrapper {
    position: absolute;
    width: 60px;
    height: auto;
    top: 8px;
    left: 67px;
  }
  
  /* Ensure the logo scales properly */
  .frame .logo-wrapper img {
      max-width: 100%;
      height: auto;
  }

  .frame .reset-button-wrapper {
    position: absolute;
    top: 8px;
    right: 67px;
  }
  
  .frame .text-wrapper-3 {
    position: absolute;
    top: 10px;
    left: 40px;
    font-family: "Inter-SemiBold Italic", Roboto;
    font-weight: 600;
    font-style: italic;
    color: #4790fc;
    font-size: 16px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
  }
  
  .frame .image-2 {
    position: absolute;
    width: 393px;
    height: 48px;
    top: 202px;
    left: 117px;
    object-fit: cover;
  }

.frame .content-above {
    margin-bottom: 200px; /* Increase to create space for slight overlap */
}


.frame .overlap-3 {
    position: absolute;
    width: 100%;
    height: 1573px;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    margin-top: -100px;
    pointer-events: none;
    z-index: 0;
  }
  
  .frame .image-4 {
    position: absolute;
    width: 100%;
    height: 707px;
    bottom:0;
    left: 0;
    object-fit: cover;
    opacity: 0.5;
  }

  .frame .div-wrapper-2 {
    position: absolute;
    width: 373px;
    height: 34px;
    bottom: 150px;
    background-color: #ffffff80;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
  }
  
  .frame .text-wrapper-29 {
    position: absolute;
    top: 6px;
    font-family: "Space Grotesk-Light", Roboto;
    font-weight: 300;
    color: #005ea3;
    font-size: 20px;
    letter-spacing: 0;
    line-height: 20px;
    white-space: nowrap;
  }

/* App-wide modal overlay (markup: standard-page.html, behaviour:
   MainForm.show_overlay). Hosts a form on top of whatever report or dashboard
   opened it, so that page keeps its state. z-index must clear the sticky top
   bar (.frame .div-3, 10) and #scrollToTop (9999). */
.fx-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.fx-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.45);
}

.fx-overlay-panel {
  position: absolute;
  top: 3vh;
  left: 50%;
  transform: translateX(-50%);
  width: 94vw;
  max-width: 1500px;
  max-height: 94vh;
  background: #eef4fc;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(16, 24, 40, 0.24);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* narrow variant for small panels (settings and the like); the default width
   is sized for the asset pricer, which is a very wide form */
.fx-overlay-panel.narrow {
  width: 560px;
  max-width: 94vw;
  max-height: 88vh;
}

.fx-overlay-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid #a8c5ea;
  background: white;
  font-family: "Inter", Roboto;
  font-size: 18px;
  font-weight: 700;
  color: #3c3c3c;
  letter-spacing: 0;
  flex: 0 0 auto;
}

.fx-overlay-close {
  border: 1px solid #d0d5dd;
  background: #fff;
  border-radius: 6px;
  width: 26px;
  height: 26px;
  line-height: 1;
  font-size: 17px;
  color: #667085;
  cursor: pointer;
}

.fx-overlay-close:hover {
  background: #f2f4f7;
  color: #344054;
}

.fx-overlay-body {
  overflow: auto;
  padding: 12px 14px 16px;
  flex: 1 1 auto;
}
