.indices-container{
  height :140px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.index-item{
  height: 140px;
  width: 250px;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  
}
.positive-ind{
  background-color: #E0F2CB;
}
.negative-ind{
  background-color: #FCDCDC;
}
.top-row , .bottom-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 20px 5px 20px;
}
.price{
   padding: 0px 20px 0px 20px;
}
.index-name{
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
}
.price{
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
}
.bottom-row{
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
  justify-content: flex-start;
  gap: 5px;
}

.tables-section {
    flex: 1;
  }

  .table-container {
    background: white;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    height: 400px;
  }

  .table-header {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
  }

  table {
    width: 100%;
    border-collapse: collapse;
    
  }

  th, td {
    padding: 8px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #e2e8f0;
  }

  .positive { color: #10b981; background-color: transparent; }
  .negative { color: #ef4444; background-color: transparent; }


  .tab-content{
    display: none;
    
  }
  .data-grid{
    overflow: scroll;
    height: 320px;
  }
  .data-grid::-webkit-scrollbar {
    width: 8px;
  }
  .tab-content.active{
    display: block;
  }



  .tab-button{
    padding: 8px 20px;
    border: 1px solid ;
    
    color: var(--white-color);
    border-radius: 15px;
    background-color: var(--white);
    
  }
  .section-buttons {
    display: flex
;
    align-items: center;
    justify-content: space-evenly;
    
    padding-bottom: 10px;
    padding-top: 10px;
    margin-bottom: 10px;
  }
 
  button.active{
    
    background-color: var(--secondary);
    border: 1px solid ;
  }
  .section-buttons  button{
  border: none;
  background-color: transparent;
  border-bottom: 1px solid;
 }
 .section-buttons  button.active{
  border: none;
  color: var(--primary);
    border-bottom: 1px solid;
 }

.section-buttons {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding-bottom: 10px;
  padding-top: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.section-buttons button {
  flex: 1;
  text-align: center;
  border: none;
  background-color: transparent;
  border-bottom: 2px solid transparent;
  padding: 8px;
  font-weight: 500;
  color: var(--text-color, #333);
  transition: border-bottom 0.3s, color 0.3s;
}

/* 🔵 Active button with blue border */
.section-buttons button.active {
  border-bottom: 2px solid var(--primary, #2563eb); /* blue-600 fallback */
  color: var(--primary, #2563eb);
}
.data-table thead tr th{
  background-color: #F3F4F6;
  margin-right: 10px;
}
























.search-container{
  height: 50px;
  width: 50%;
  
  margin: 50px auto;
}
#search-form{
      height: 35px;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0px 1px 0px 2px;
    display: flex
;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}
.search-box:focus{
  outline: none;
}





























.market-news-gl{
  height: 420px;
  width: 90%;
  margin: 100px 5% ;

  display: flex;
  align-items: center;
  justify-content: space-between;
}
.market-news , .market-gl{
  width: 48%;
  height: 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: var(--white);
  border-radius: 15px;
}
.market-news-content::-webkit-scrollbar , .market-gl::-webkit-scrollbar{
  display: none;
}
.market-news-heading{
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  padding-left: 24px;
  padding-top: 24px;

}
.market-news-content{
  overflow: scroll;
  height: 325px;
  width: 90%;
  padding-left: 24px;
  padding-top: 24px;
 
}
.news-entity{
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 15px;
}
.market-news-left ,.market-news-left > img{

  height: 90px;
  width: 28%;
}
.market-news-right{
  height: 90px;
  width: 70%;
}
.market-news-left > img{
  width: 100%;
  border-radius: 15px;
}
.market-news-right-heading{
  font-size: 16px;
  line-height: 21px;
  font-weight: 600;
}
.market-news-right-content{
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
}
.market-news-right-readmore >a{
  text-decoration: none;
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  color: var(--primary);
}













.mutual-fund-wrapper > label{
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

  .mutual-fund-wrapper {
    width: 80%;
    margin: auto;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.mf-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    line-height: 48px;
    padding-bottom: 10px;
}
select {
        padding: 8px 16px;
    font-size: 16px;
    margin-bottom: 20px;
    border-radius: 18px;
    text-align: center;
    border-color: var(--primary);
}
.login-overlay {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-color);
    z-index: 10;
    text-align: center;
    height: 130px;
}
.mutual-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: var(--normal-size);
    box-shadow: var(--shadow-color);
    border-radius: 8px;
    overflow: hidden;
}

.blur-table {
    
    filter: blur(4px);
    pointer-events: none;
    user-select: none;
    opacity: 1;
    background-color: #FAFAFA;
}

.login-overlay .login-text {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.prev-login {
        display: inline-block;
    padding: 8px 90px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    transition: background 0.3s ease;
}

.prev-login:hover {
    background-color: var(--primary-dark); /* Darker shade for hover */
}

.dummy-table-wrapper {
    position: relative;
}






















/* responsive design */
@media only screen and (min-width: 150px) and (max-width: 375px) {
  .index-item{
                width: 45%;
      
        height: 120px;
    }
        .indices-container {
        flex-wrap: wrap;
        width: 100%;
        height: max-content;
        gap: 20px;
    }.index-name{
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    }.price {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    }.bottom-row {
    font-size: 16px;
    font-weight: 500;
    line-height: 30px;
    justify-content: flex-start;
    gap: 5px;}
    .market-news-gl {
      flex-direction: column;
      height: max-content;
    }

       .search-container {
    height: 50px;
    width: 65%;
    margin: 50px auto;
  }
  .market-gl{
    width: 100%;
  }
  .news-entity {
    height: max-content;
    display: flex
;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 5px;
}
.market-news-content{
      padding: 0px;
      width: 100%;
}
.market-news{
      width: 100%;

}
.market-news-right-content{
  display: none
}
  .market-news-gl{
    width: 100%;
  }
  .table-header{
    
    flex-direction: column;
  }
}







/* mobile responsive */
@media only screen and (min-width: 351px) and (max-width: 480px) {
  .index-item{
                width: 45%;
      
        height: 120px;
    }
        .indices-container {
        flex-wrap: wrap;
        width: 100%;
        height: max-content;
        gap: 20px;
    }.index-name{
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    }.price {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    }.bottom-row {
    font-size: 16px;
    font-weight: 500;
    line-height: 30px;
    justify-content: flex-start;
    gap: 5px;}
    .market-news-gl {
      flex-direction: column;
      height: max-content;
    }

       .search-container {
    height: 50px;
    width: 65%;
    margin: 50px auto;
  }
  .market-gl{
    width: 100%;
  }
  .market-news-gl{
    width: 100%;
  }
  .table-header{
    
    flex-direction: column;
  }
}






