.invest-now{
  padding: var(--space-component-sm) var(--space-layout-sm);
}

.create-risk-profile{
  
  margin: var(--space-component-lg) var(--space-page-gutter-xl) var(--space-component-lg);
}

.after-risk-profile-container{
  
  margin: var(--space-component-lg) var(--space-12) var(--space-layout-lg);
}

.create-risk-profile-left .astrik , .new-user-subs-watchlist .astrik {
  font-size: var(--text-jumbo);
  font-weight: 700;
  
  line-height: 80px;
  color: var(--text-muted, #475467);

}

.create-risk-profile-left{
  background-color: #EFEBFF;
  border-radius: 16px;
  padding: var(--space-10);
  position: relative;
}

.create-risk-profile-left h1 , .new-user-subs-watchlist h4{
  font-size: var(--text-title);
  font-weight: 500;
  margin-bottom: 1rem;
}

.create-risk-profile-left p{
  font-size: var(--text-body-lg);
  color: var(--text-muted, #475467);
  margin-bottom: 1rem;
  width: auto;
  
}

.create-risk-profile-left .show-question{
  color: #ffffff !important;
  font-size: var(--text-body-lg);
  font-weight: 600;
}

.create-risk-profile-left .show-question:hover{
  color: #d4d1d1 !important;
  cursor: pointer;
}

.create-risk-profile-left a:hover{
  color: #000000 !important;
}

.right-arrow-img {
  filter: invert(1);
}

.create-risk-profile-left a:hover img {
  filter: invert(0);
}

.create-risk-profile-left .risk-top-img{
  position: absolute;
  bottom: 0;
  right: 52px;
}

.create-risk-profile-right-inner {
  background: #101828;
  padding: 2rem;
  height: 100%;
  border-radius: 16px;

}

.create-risk-profile-right-inner h5{
  color: #ffffff;
  font-size: var(--text-title);
  margin-bottom: 1rem;
  font-weight: 700;
}

.create-risk-profile-right-inner p{
  color: var(--Grey-300, #D0D5DD);

  
  font-size: var(--text-body-sm);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.create-risk-profile-right-inner h5 span{
  font-size: var(--text-body-sm);
  font-weight: 400;
}

.profile-complete-button{
  position: absolute;
  bottom: 30px;
  z-index: 100;
  color: white;
}

.profile-complete-button img {
  margin-left: var(--space-component-sm);
  background: white;
  border-radius: 50%;
  width: 33px;
  padding: var(--space-component-sm);
}

.grey-img-1{
  position: absolute;
  bottom: 0;
  right: 15px;
  z-index: 10;
  border-radius: 16px;
}

.grey-img-2{
  position: absolute;
  bottom: 0;
  right: 15px;
  border-radius: 16px;
}

.guide-img{
  position: relative;
  z-index: 100;
  width: 250px;
}

.play-img-box{
  width: 40px;
  height: 40px;
  border-radius: 100px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
}

.create_review_input{
  display: flex;
  justify-content: flex-start;
  align-items: center;

  gap: 16px;
  position: relative;
}

.create_review_input input{
  width: 240px;
  border-radius: 8px;
  padding: var(--space-3) var(--space-component-md);
  border: 1px solid var(--Grey-300);
}

.create_review_input a{
  border-radius: 8px;
}

.processing_spinner{
  position: absolute;
  top: 10px;
  left: 126px;
  border: 5px solid #ffffff;
  border-radius: 60%;
  border-top: 5px solid #eb20d5;
  width: 20px;
  height: 20px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
.import_holdings{
  padding: var(--space-layout-sm) var(--space-page-gutter-xl) var(--space-layout-md);
}

.import_holdings .card{
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-radius: 8px;
}

.import_holdings .col-md-6:first-child .card{
  border-top: 5px solid #FAA8F1
}

.import_holdings .col-md-6:last-child .card{
  border-top: 5px solid #96DDCC
}

.import_holdings h5{
  
  font-size: var(--text-title-lg);
  font-weight: 600;
  line-height: 33px;
  letter-spacing: 0px;
  text-align: left;
}

.import_holdings p{
  
  font-size: var(--text-body-lg);
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: left;

}

.holding_buttons , .stocks_number{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.holding_buttons button{
  padding: var(--space-3);
  flex: 1;
  height: 50px;
  font-size: var(--text-body-lg);
  font-weight: 600;
  width: 50%;
}

.stocks_number button{
  display: flex;

  flex: 1;
  height: 44px;
  border: 1px solid #EAECF0;
}

.stocks_number button span:first-child{
  font-size: var(--text-body-sm);
  font-weight: 400;
}

.stocks_number button span:last-child{
  font-size: var(--text-body-sm);
  font-weight: 600;
}

.fetch_success{
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.fetch_success span{
  font-size: var(--text-caption);
  
  color: var(--text-link-teal, #25594D);
}

.all-about-section {
  background: var(--Pink-light, #FFEBFC);
  padding: var(--space-10) var(--space-page-gutter-xl) var(--space-10);
  position: relative;
  overflow: hidden;   /* decorative .bottom-fancy-img SVG is 542px wide */
}

.all-about-section-text {
  background-color: white;
  display: inline-flex;
  padding: var(--space-10) var(--space-layout-sm) var(--space-layout-sm) var(--space-layout-sm);
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border-radius: 16px;
  position: relative;
  z-index: 10;
}

.all-about-text p {
  color: var(--Grey-900, #101828);

  
  font-size: var(--text-body-lg);
  font-style: normal;
  font-weight: 400;
  line-height: 28px;

}

.readMoreLesstext h2 {
  margin-bottom: var(--space-component-md);
  color: var(--Grey-900, #101828);

  
  font-size: var(--text-title-lg);
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.readMoreLesstext p,
.readMoreLesstext li {
  color: var(--text-muted, #475467);
  
  font-size: var(--text-body-lg);
  font-style: normal;
  font-weight: 400;
  line-height: 160%;

}

.readMoreLesstext li {
  margin-left: var(--space-component-lg);
}

.all-about-section .bottom-fancy-img {
  position: absolute;
  left: 70px;
  bottom: 0;
}

.all-about-text {
  position: relative;
  z-index: 10;

}

.upload-transaction-Modal .modal-header h4{
  
  font-size: var(--text-title);
  font-weight: 600;
  line-height: 27px;
  letter-spacing: 0em;
  text-align: left;
}

.upload-transaction-Modal .modal-header p{
  
  font-size: var(--text-body-sm);
  font-weight: 400;
  line-height: 19px;
  letter-spacing: 0em;
  text-align: left;
  margin-bottom: 0;
}

.upload-transaction-Modal table{
  border-radius: 16px;
}

.upload-transaction-Modal table thead{
  background-color: var(--Grey-100);
  border-radius: 16px;
  border-top: 0;
}

.upload-transaction-Modal .table thead th:first-child{
  border-top-left-radius: 16px;
}

.upload-transaction-Modal .table thead th:last-child{
  border-top-right-radius: 16px;
}

.upload-transaction-Modal .table thead th{
  
  font-size: var(--text-body-lg);
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0em;
  text-align: left;
  border: 0;
  padding: var(--space-5);
}

.upload-transaction-Modal table tbody td{
  
  font-size: var(--text-body-lg);
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: left;
  padding: var(--space-5);
}

.upload-transaction-Modal table thead th:not(:last-child){
  border-right: 1px solid var(--Grey-200);
}

.upload-transaction-input{
  display: flex;
  gap: 24px;
  position: relative;
}

.upload-transaction-box{
margin-bottom: var(--space-10);
gap: 14px;
display: flex;
flex-direction: column;
}

.upload-transaction-input input{
border-radius: 8px;
padding: 11 var(--space-component-md);
border: 1px solid #D0D5DD;
}

.submit-upload-buttons{
display: flex;
justify-content: end;
align-items: center;
gap: 24px;
}

.submit-upload-buttons button{
width: auto;
font-size: var(--text-body-sm);
padding: 0 var(--space-component-md);
height: 44px;
}

.upload-transaction-table{border: 1px solid var(--Grey-300);border-radius: 16px;height: 338px;overflow: auto;}

.upload-transaction-Modal .modal-footer{
  border: 0;
}

.upload-transaction-Modal .modal-footer .btn-dark-wright {
  width: auto;
  font-size: var(--text-body-sm);
  padding: 0 var(--space-component-md);
  height: 44px;
}

.upload-transaction-Modal .modal-footer img{
  filter: invert(1);
}

.upload-transaction-Modal .modal-footer .btn-dark-wright:hover img{
  filter: invert(0);
}

.investment-overview {
  padding: var(--space-layout-sm) var(--space-page-gutter-xl);
}

.investment-overview h1{
  margin-bottom: var(--space-layout-sm);
  font-size: var(--text-display);
  font-weight: 600;
}

.toggle_button .btn-grey-wright{
  border-radius: 7px !important;
}

.dropdown-item.active, .dropdown-item:active {
  color: #2a2727 !important;
  text-decoration: none;
  background-color: #f9f9f9 !important;
}

.dropdown-menu .dropdown-item {
  color: var(--Grey-600, #475467);
  text-align: left;
  
  font-size: var(--text-body-lg);
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  padding: var(--space-component-md);
  border-radius: 8px;
}

dropdown-menu-right{
  padding: var(--space-component-xs);
}

button:focus {
  outline: 0px dotted;
  outline: 0px auto -webkit-focus-ring-color;
}

.investment-overview-card{
  background: white;

  border: 1px solid rgba(208, 213, 221, 1);
  border-radius: 16px;
}

.investment-overview-card h3{
  
  font-size: var(--text-title);
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0em;
  text-align: left;

}

.portfolio-progress-container {
  margin-bottom: var(--space-layout-sm);
}

.portfolio-progress-bar {
  height: 32px;
  border-radius: 16px;
  background-color: var(--pink-medium);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
}

.equity-segment {
  background-color: var(--text-link-teal, #25594D);
  height: 100%;
  transition: width 0.3s ease;
  border-radius: 16px 0 0 16px;
  min-width: 0;
}

.mf-segment {
  background-color: var(--pink-medium);
  height: 100%;
  flex: 1;
  border-radius: 0 16px 16px 0;
}

.portfolio-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-component-sm);
  
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--Grey-700);
}

.equity-label {
  color: var(--text-link-teal, #25594D);
}

.mf-label {
  color: var(--text-link-pink, #7A2870);
}

.equity-box .card-title ,
.mf-box .card-title{
  font-size: var(--text-body-sm);
  font-weight: 400;
  line-height: 19.12px;
  

}

.equity-box .card, .mf-box .card{
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: var(--space-3);
  border-radius: 8px;
  border: 0;
}

.equity-box .card{
  border-top: 5px solid #96DDCC;
}
.mf-box .card{
  border-top: 5px solid #FAA8F1;
}

.curr_vl , .inv-amnt, .stock-num{
  font-size: var(--text-body-sm);
  font-weight: 400;
  
  line-height: 19.12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;

}

.curr_vl .frst-child,
.inv-amnt .frst-child,
.stock-num .frst-child {
  color: var(--text-muted, #475467);
  font-size: var(--text-caption);
}

.curr_vl .scn-child,
.inv-amnt .scn-child,
.stock-num .scn-child{
  font-weight: 600;
  color: var(--Grey-900) !important;
  font-size: var(--text-caption);
}

.diversification-box{
  background: rgba(242, 244, 247, 1.0);
  background: linear-gradient(135deg, rgba(242, 244, 247, 1.0), rgba(239, 235, 255, 1.0));
  border: 0;
  border-radius: 16px;
  margin: 0;
  padding: var(--space-5) var(--space-component-xs);
}
.diversification-box h4{
  
  font-size: var(--text-title);
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0em;
  text-align: left;
  color: var(--Grey-900);

}
.diversification-overview-card , .diversification-overview-card .card-body{
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.diversification-overview-card .eq_op , .diversification-overview-card .mf_op{
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border-radius: 8px;
  padding: var(--space-component-sm) var(--space-3);
  margin-top: var(--space-component-sm);
}

.diversification-overview-card .eq_op p , .diversification-overview-card .mf_op p{
  margin-bottom: 0;
  font-size: var(--text-body-sm);
  
  line-height: 24px;
}

.diversification-overview-card .eq_op p:first-child , .diversification-overview-card .mf_op p:first-child{
  font-weight: 400;
}

.diversification-overview-card .eq_op p:last-child, .diversification-overview-card .mf_op p:last-child{
  font-weight: 600;
}

.risk_box_diverse{
  background-color: var(--Grey-900);
  border-radius: 16px;
  margin: 0;
  padding: var(--space-5) var(--space-component-xs);
}

.diversification-risk{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}

.diversification-risk h4{
  
  font-size: var(--text-title);
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0em;
  text-align: left;
  color: white;

}

.diversification-risk a{
  color: white;
  font-size: var(--text-body-sm);
  z-index: 100;
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  
  gap: 10px;
}

.diversification-risk span{
  height: 30px;
  width: 30px;
  background-color: white;
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.grey-img-3 {
  position: absolute;
  right: 0px;
  bottom: 0px;
  z-index: 10;
  border-radius: 13px;

  width: 350px;
  height: 86px;
}

.grey-img-4 {
  position: absolute;
  right: 1px;
  width: 225px;
  bottom: 0;
  border-radius: 13px;
}
.risk_box_diverse_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 14px;
  position: relative;
  z-index: 100;
}

.risk_box_diverse_inner div{
  flex:1;
  background-color: var(--Grey-300);
  border-radius: 8px;
  padding: var(--space-component-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.risk_box_diverse_inner p{
  margin-bottom: 0;
  
  font-size: var(--text-body-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.risk_box_diverse_inner p span:last-child{
  font-weight: 600;
  color: #41B873;
}

.nav-tabs {
  border-top: 1px solid #dee2e6;
  border-bottom: 0;
  margin-top: var(--space-component-lg);
}

.investment-overview-info-tab .nav-tabs .nav-item.show .nav-link,
.investment-overview-info-tab .nav-tabs .nav-link.active {
  color: #495057;
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  position: relative;
}

.investment-overview-info-tab , .performance_graph{
  padding: 0 var(--space-page-gutter-xl);
}

.investment-overview-info-tab  .nav-tabs .nav-link.active::after{
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  background: var(--Grey-900, #101828);
  height: 6px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.nav-tabs .nav-link {
  display: block;
  padding: var(--space-component-lg) var(--space-component-md);
  color: var(--text-muted, #475467);
  
  font-size: var(--text-body-lg);
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  border: white;
}

 .nav-link:focus,  .nav-link:hover {
  border-color: white;
}

.button_div_fetch{
  display: flex;
  gap: 16px;
}
.button_div_fetch .btn{
  height: 44px;
  padding: var(--space-component-sm) var(--space-component-lg);
  font-weight: 600;
}

.performance_eq , .performance-mf{
  border: 1px solid var(--Grey-200);
  border-radius: 8px;
  padding: var(--space-component-md);
}

.canvas-box{
  width: 100%;

}

.canvas-box canvas{
  height: 100%;
  width: 100% !important;
}

.show-index {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: var(--space-layout-sm) 0 0;
}

.show-index p {
  margin-bottom: 0;
  color: var(--text-muted, #475467);
  text-align: right;
  
  font-size: var(--text-body-lg);
  font-style: normal;
  font-weight: 600;
  line-height: normal;

}

.current-portfolio,
.portfolio-index {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.current-portfolio-line,
.portfolio-index-line {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--Grey-200, #EAECF0);
  position: relative;
  z-index: 1;
}

.current-portfolio-line::after,
.portfolio-index-line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 3px;
  z-index: 10;
}

.current-portfolio-line::after {
  background: var(--pink_dark);
}

.portfolio-index-line::after {
  background-color: #b5b5b5;
}

.diversification,.risk-container-review {
  margin-top: var(--space-layout-md);
}

.diversification .section-title ,
.risk-container-review .section-title ,
.allocation-container .section-title,
.custom-metrics .section-title,
.stocks-container .section-title,
.performance_graph .section-title,
.allocations-mf .section-title,
.funds-container .section-title{
  
  font-size: var(--text-display-sm);
  font-weight: 600;
  line-height: 38px;
  letter-spacing: 0em;
  text-align: left;
  margin-bottom: var(--space-component-lg);
}

.diversification .card-text{
  
  font-size: var(--text-body-lg);
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: left;
  margin-bottom: 0;
}

.diversification .card-text-last{
  
  font-size: var(--text-body-lg);
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: center;
}

.diversification .col-md-5 .card{
  border-radius: 15px;
  padding: var(--space-component-lg);
}

.diversification .col-md-5 .card-body{
  padding: 0;
}

.diversification .col-md-5 .card:nth-child(2) h5{
  
  font-size: var(--text-title);
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0em;

}

.diversification .col-md-5 .card:first-child h5{

  font-size: var(--text-title);
  font-weight: 700;
  line-height: 32px;
}

.diversification .col-md-5 .card:nth-child(3){
  background: rgba(255, 235, 252, 1.0);
  background: linear-gradient(135deg, rgba(255, 235, 252, 1.0), rgba(215, 203, 254, 1.0));
  border: 0;
}

.chart-legends{
  display: flex;
  gap: 30px;
}

.diversification .chart-legends{
  margin-top: var(--space-layout-sm);
}

.gauge-Chart-div-box{
  display: flex;
  justify-content: space-around;
}

.assets-Allocation-div{
  height: 400px;
}

.chart-legends div:first-child{
   width: 80%;
  height:500px;
}

 .gauge-Chart-div{
  width: 80%;
}
.chart-legends div:last-child{
  width: 40%;
}
.diversification-ChartEq-legends{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: baseline;
  gap: 16px;
}
.diversification-ChartEq-legends p{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 0;
  gap: 10px;
  
  font-size: var(--text-body-lg);
}
.diversification-ChartEq-legends p .color_box,
.allocationTreemap-legends p .color_box{
  width: 20px;
  height: 20px;
  display: inline-block;
}

.legend_teal{
  background-color: #AAF0D1;
}

.legend_purple{
  background-color: #65AFEB;
}

.legend_orange{
  background-color: #FFA07A;
}

.legend_grey{
  background-color: #EAECF0;
}

.allocationTreemap-legends{
  display: flex;

  flex-wrap: wrap;
  margin-top: var(--space-component-xs);
}

.allocationTreemap-legends p{
  width: 50%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  
  gap: 10px;
  margin-bottom: var(--space-3);
  font-size: var(--text-body-sm);
}

.allocationTreemap-legends p span:last-child{
  color: white;
}

.risk-container-review .card{
  display: flex;
  flex-direction: column;
  padding: var(--space-component-lg);
  border-radius: 15px;
  gap: 8px;
  height: 240px;
  position: relative;
}

.legend_green{
  background-color: #4bc0c0cc;
}

.legend_yellow{
  background-color: #ffce56cc;
}

.legend_red{
  background-color: #ff1a68cc;
}

.risk-container-review .card .card-body{
  padding: 0;
}

.risk-container-review .card .card-title{
  
  font-size: var(--text-title);
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0em;
  text-align: left;
}

.risk-container-review .card .card-text{
  
  font-size: var(--text-body-sm);
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0em;
  text-align: left;
  color: var(--Grey-600);
  margin-bottom: var(--space-component-sm);
}

.comment_button{
  display: flex;
  gap: 20px;
  position: absolute;
  width: 81%;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
}

.comment_button button{
  font-size: var(--text-body-lg);
  height: 38px;
  border-radius: 6px;
  font-size: var(--text-body-lg);
}

.comment_button .btn-light-wright {
  width: 15%;
}

.comment_button .btn-dark-wright{
  width: 100%;
}

.risk-container-review .card .card-border{
  position: absolute;
  top: -1px;
  height: 250px;
}

.vol-card .card-border-1{
  left: -6px;
  z-index: -2;
}
.vol-card .card-border-2{
  left: -6px;
  z-index: -3;
}
.vol-card .card-border-3{
  left: -12px;
  z-index: -4;
}
.vol-card .card-border-4{
  left: -18px;
  z-index: -5;
}

.default-card .card-border-2{
  left: -6px;
  z-index: -3;
}
.default-card .card-border-3{
  left: -6px;
  z-index: -4;
}
.default-card .card-border-4{
  left: -12px;
  z-index: -5;
}

.beta-card .card-border-3{
  left: -6px;
  z-index: -4;
}
.beta-card .card-border-4{
  left: -6px;
  z-index: -5;
}

.stocks-card .card-border-4{
  left: -6px;
  z-index: -5;
}

.allocation-container ,
.diversification,
.assets-container,
.risk-container-review,
.allocation-container{padding: 0 135px;}

.custom-metrics,
.stocks-container,
.allocations-mf,
.funds-container{
  padding: var(--space-6) var(--space-page-gutter-xl);
}

.allocation-container{
  background-color: var(--Grey-900);
  padding-top: var(--space-6);
  padding-bottom: var(--space-10);
  margin-top: var(--space-layout-md);
}

.assets-container{
  margin-top:var(--space-layout-md);
}

.allocation-container .section-title
{
  color: white  !important;
}
.allocation-container .nav-tabs{
  border-top: 0;
  margin-bottom: var(--space-6);
  width: fit-content;
  background: var(--Grey-700);
  border-radius: 8px;
}

.nav-tabs .nav-link.active::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  background: var(--Grey-900, #ffffff00);
  height: 6px;
}

.allocation-container .nav-link{
  
  font-size: var(--text-body-lg);
  font-weight: 600;
  line-height: 22px;
  padding: var(--space-3) var(--space-component-md);
  letter-spacing: 0em;
  text-align: left;
  color: var(--text-muted, #475467);
  background-color: var(--Grey-700);
  border-radius: 4px;
}

.allocation-container .nav-link.active{
  background: #FFEBFC;
  background: linear-gradient(135deg, #FFEBFC, #D7CBFE);
  color: var(--Grey-900);
  border-radius: 4px;
}

.toggle-section-tab{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: var(--space-layout-sm);
}

.toggle-section-tab h5{
  padding: var(--space-component-md) var(--space-component-md) var(--space-component-md) var(--space-component-md);
  border-radius: 8px;
  gap: 8px;
  
  font-size: var(--text-body-lg);
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0em;
  background-color: var(--Grey-50);
  cursor: pointer;
}

.toggle-section-tab .active{
  background-color: var(--purple-light);
}

.high-low-bar{
  background: linear-gradient(135deg, #8AB7AC, #F8DF79, #FFBDA2, #E56E6E);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  height: 32px;
  padding: var(--space-component-sm) var(--space-component-md);
  margin-bottom: var(--space-6);
}
.high-low-bar span{
  
  font-size: var(--text-body-lg);
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0em;
  text-align: left;
  color: white;
}

.toggle-section .card{
  border: 1px solid var(--Grey-200);
  border-radius: 16px;
}

.toggle-section .col-md-3:nth-child(1) .card{
  border-top: 5px solid var(--teal-dark);
}

.toggle-section .col-md-3:nth-child(2) .card{
  border-top: 5px solid #F4D03F;
}
.toggle-section .col-md-3:nth-child(3) .card{
  border-top: 5px solid #FFA07A;
}
.toggle-section .col-md-3:nth-child(4) .card{
  border-top: 5px solid var(--Error-Medium);
}

.toggle-section .card .card-header{
  background-color: white;
  border-top-right-radius: 16px;
  border-top-left-radius: 16px;
}

.toggle-section .card .card-header .card-title{
  margin-bottom: 0;
  
  font-size: var(--text-title);
  font-weight: 600;
  line-height: 27px;
  letter-spacing: 0em;
  text-align: left;

}
.toggle-section .card .card-body{
  padding: var(--space-component-md) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 24px;

}

.toggle-section .card .card-body p{
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  font-size: var(--text-body-sm);
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: left;
  color: var(--text-muted, #475467);
}

table.dataTable thead th,
table.dataTable tfoot th ,
.allocations-mf table thead th{
  font-weight: bold;
  background-color: var(--Grey-200);
}

table.dataTable thead th ,
.allocations-mf table thead th{
  border-right: 1px solid var(--Grey-300);
  border-bottom: 0px !important;
  
  font-size: var(--text-body-sm);
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0em;
  text-align: left;
  padding: var(--space-component-md) var(--space-component-lg) !important;

}

table.dataTable thead th:first-child,.allocations-mf table thead th:first-child{
  border-top-left-radius: 16px;
}

table.dataTable thead th:last-child , .allocations-mf table thead th:last-child{
  border-top-right-radius: 16px;
}

table.dataTable tbody td , .allocations-mf table td{
  
  font-size: var(--text-body-sm);
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: left;
  padding: var(--space-component-md) var(--space-component-lg) !important;
}

.stockTable_info{
  display: none;
}

table.dataTable.no-footer {
  border-radius: 16px;
  border: 1px solid #F2F4F7;
}

#stockTable_filter{
  display: none;
}

.assets-container .card{
  width: 380px;
  border:  1px solid var(--Grey-300)
}

.assets-container  .section-title{
  
  font-size: var(--text-display-sm);
  font-weight: 600;
  line-height: 38px;
  letter-spacing: 0em;
  text-align: left;
  margin-bottom: var(--space-component-lg);
}

.assets-container .col-md-6:first-child{
  display: flex;
  justify-content: center;
  align-items: center;
}

.assets-container .card-title{
  
  font-size: var(--text-title);
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0em;
  margin-bottom: var(--space-3);
}

.assets-container .card{
  display: flex;
  flex-direction: column;
  padding: var(--space-component-lg);
  border-radius: 15px;
  gap: 8px;
}

.assets-container .card .card-body {
  padding: 0;
}

.assets-container .card .card-body .card-text{
  
  font-size: var(--text-body-lg);
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0em;
  text-align: left;
}

.allocations-mf .table-responsive{
  border:  1px solid #F2F4F7;
  border-radius: 16px;
}

.allocations-mf .table tbody+tbody {
  border-top: 1px solid #dee2e6 !important;
}

.allocations-mf .table tr td{
  border-right: 1px solid var(--Grey-200);
}

.suggested-portfolio{
  background:var(--navy_blue);
  padding: var(--space-10) 116px var(--space-6);
}
.suggested-portfolio .suggested-portfolio-heading{
  margin-bottom: var(--space-layout-lg);
}
.suggested-portfolio .suggested-portfolio-heading h2{
  color: var(--White, #FFF);
  
  font-size: var(--text-display-sm);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: var(--space-component-md);
}

.suggested-portfolio .suggested-portfolio-heading p{
  color: var(--Grey-300, #D0D5DD);
  
  font-size: var(--text-body-lg);
  font-style: normal;
  font-weight: 400;
  margin-bottom: 0;
  line-height: 150%;
}

.suggested-portfolio .suggested-portfolio-heading .btn-light{
  color: var(--Grey-900, #101828);
  text-align: center;
  
  font-size: var(--text-body-lg);
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  }

/* `.suggested-portfolio` tabs are defined in `components/portfolio-tabs.css` */

.suggested-portfolio .card{
  background-color: var(--dark-grey-blue);
  border: 1px solid var(--semi-gray);
  border-radius: 10px;
  height: 260px;
}

.suggested-portfolio .card-header h4{

  font-size: var(--text-title);
  font-weight: 700;
  color: var(--white-blue-shade);
}

.suggested-portfolio .card p{
  margin-bottom: 0;
  color: var(--text-muted, #475467);
  

}

.ai-Risk-Modeling {
  padding: var(--space-10) var(--space-page-gutter-xl);
  background: var(--Pink-light, #FFEBFC);
}

.blog-heading-ai{
  color: var(--Grey-900, #101828);

  
  font-size: var(--text-body-lg);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  height: 44px;
}

.blog-div-right .card .ai-top-img{
  width: 100%;
  border-radius: 8px;
  margin-bottom: var(--space-component-md);
  height: auto;
}

.read{
  color: var(--text-muted, #475467);
  font-feature-settings: 'salt' on, 'liga' off;

  
  font-size: var(--text-caption);
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
}

.blog-text-ai{
  color: var(--text-muted, #475467);

  
  font-size: var(--text-body-sm);
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.blog-div-right .card-footer a{
  color: var(--text-link-pink, #7A2870);

  
  font-size: var(--text-caption);
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.other-blog-section .col-md-3 .carousel-control-prev {
  left: 22px;
  opacity: 1;
  max-height: 100%;
  bottom: 33px !important;
}
.other-blog-section .col-md-3 .carousel-control-next{
  left: 90px;
  opacity: 1;
  max-height: 100%;
  bottom: 33px !important;
}

 .carousel-indicators{
  position: absolute;
  right: 0;
  bottom: -35px;
  left: 0;
  width: 9%;
  z-index: 15;
  padding-left: 0;
  margin-right: 0%;
  margin-left: 0%;
}

 .carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.img-graph{
  display:none;
}

.button-watchlist button {
  width: 100%;
  font-size: var(--text-body-sm);
  padding: var(--space-component-sm) !important;
}

.suggested-portfolio .card .card-body h6 {
  font-size: var(--text-body-sm);
  font-weight: 600;
  line-height: 21.86px;
  color: var(--Grey-light-blue);
}

.other-portfolios .container-fluid{
  padding: 0;
}

.recommended-blog {
  padding: var(--space-10) var(--space-page-gutter-xl);
  background: #FFEBFC;
}

.recommended-blog .col-md {
  padding: 1rem !important;
}

.recommended-blog-heading h5 {
  font-size: var(--text-hero);
  font-weight: 400;
}

.recommended-blog-heading p {
  font-size: var(--text-title);
  font-weight: 400;
  color: #101828;
  
}

.news-letter-subscribe {
  padding: var(--space-10) var(--space-page-gutter-xl);
  position: relative;
}

.news-letter-subscribe h2{
  font-size: var(--text-display);
  font-weight: 400;
  color: #1D2939;
}
.news-letter-subscribe p{
  font-size: var(--text-body-lg);
  font-weight: 400;
  color: var(--text-muted, #475467);
  margin: 1.5rem 0rem 2rem;
  
}

.news-letter-subscribe .form-control{
  height: 52px;
  border-radius: 14px;
}

.news-letter-subscribe .input-group-text{
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 14px;
  border-top-right-radius: 14px;
  
}
.news-letter-subscribe .input-group-append{
  background: #1D2939;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 14px;
  border-top-right-radius: 14px;
  border: 1px solid #1d2939;
}

.news-letter-subscribe .input-group-text{
  font-size: var(--text-body-lg);
  font-weight: 600;
  color: #FFFFFF;
  background: transparent;
  border: 1px solid #1d2939;
  border-radius: 16px !important;
  padding: 0 2rem;
}

.news-letter-subscribe img{
  position: absolute;
  bottom: 0;
  right: 30px;
}

.border-box-div {
  border: 1px solid var(--Grey-200);
  border-radius: 8px;
  padding: var(--space-6) var(--space-layout-sm);
}

.mf_status_prog{
  width: 10px;
  word-break: break-all;
}

@media(max-width:1366px){
  .investment-overview h1 {
      font-size: var(--text-display-sm);
  }
  .investment-overview-card h3 {
      
      font-size: var(--text-title-sm);
      line-height: 28px;
      margin-bottom: var(--space-6);
  }
  .curr_vl, .inv-amnt, .stock-num {
      font-size: var(--text-caption);
      line-height: 10px;
      margin-bottom: 0;
  }

  .curr_vl .frst-child, .inv-amnt .frst-child, .stock-num .frst-child  ,
  .curr_vl .scn-child, .inv-amnt .scn-child, .stock-num .scn-child , .risk_box_diverse_inner p{
      font-size: var(--text-caption);
  }

  .diversification-overview-card .eq_op , .diversification-overview-card .mf_op {
      padding: var(--space-component-xs) var(--space-3);
      margin-top: var(--space-component-sm);
  }
  .diversification-overview-card .eq_op p , .diversification-overview-card .mf_op p {
      font-size: var(--text-caption);
  }
  .diversification-risk h4 {
      
      font-size: var(--text-title-sm);
  }
  .diversification-risk{
      margin-bottom: var(--space-component-sm);
  }
  .diversification-risk a {
      color: white;
      font-size: var(--text-caption);
  }
  .diversification-risk span {
      height: 26px;
      width: 26px;
  }
  .diversification-overview-card,
  .diversification-overview-card .card-body {
      padding: 0;
      border: 0;
      display: flex;
      flex-direction: column;
      gap: 14px;
  }

}

@media (max-width:768px){

  .importBtn{
    width: 100%;
    margin-bottom: var(--space-component-sm);
  }
  .toggle_button{
    width: 100%;
  }

  #importeqholdingModal .modal-dialog  , #importmfholdingModal .modal-dialog{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center !important;
  }

  .diversification-overview-card .eq_op p, .diversification-overview-card .mf_op p,
  .curr_vl .frst-child, .inv-amnt .frst-child, .stock-num .frst-child, .curr_vl .scn-child,
   .inv-amnt .scn-child, .stock-num .scn-child, .risk_box_diverse_inner p {
    font-size: var(--text-caption);
  }

  .diversification .col-md-5 .card:first-child h5 ,.diversification .col-md-5 .card:nth-child(2) h5 {
    font-size: var(--text-title);
}

 .gauge-Chart-div {
  width: 70%;
}

.chart-legends div:first-child {
      width: 50%;
      text-align: center;
      display: flex;
      justify-content: center;
      height: 150px;
}

 .upload-transaction-Modal .modal-body{
  display: flex;
  flex-direction: column;
 }

 .upload-transaction-Modal .modal-body .upload-transaction-box{
  order: 2;
 }

 .upload-transaction-table {
  height: 250px;
  overflow: auto;
  margin-bottom: var(--space-6);
}

.upload-transaction-input {
  display: flex;
  gap: 10px;
}
  .import_holdings p {
    font-size: var(--text-body-sm);
  }
  .import_holdings h5 {
    font-size: var(--text-title-sm);
    line-height: 24px;
  }

  .create-risk-profile-row{
      display: flex;
      flex-direction: column;
      gap: 20px;
  }

  .create-risk-profile {
      
      margin:var(--space-5);
  }

  .create-risk-profile-left {
      padding: var(--space-5);
  }
  .create_review_input{
      flex-direction: column;
      align-items: flex-start;
  }
  .astrik , .risk-top-img{
      display: none;
  }
  .create-risk-profile-left h4{
      font-size: var(--text-body-lg);
      font-weight: 600;
      margin-bottom: 1rem;
  }

  .create-risk-profile-left p{
    width: auto;
}

  .import_holdings {
      padding: var(--space-layout-sm) var(--space-5) var(--space-component-lg);
  }

  .import_holdings .col-md-6:first-child{
      margin-bottom: var(--space-5);
  }

  .guide-img {
      width: 180px;
  }

  .grey-img-2 {
      width: 205px;
  }

  .create-risk-profile-right-inner{
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: var(--space-5);
  }
  .create-risk-profile-right-inner h5{
      margin-bottom: 1rem;
      text-align: center;
  }
  .create-risk-profile-right-inner p{
      display: none;
  }
  .create-risk-profile-right-inner .video-btn{
      width: 100%;
      display: flex;
      justify-content: center;
      margin-top: 1rem;
  }

  .holding_buttons button {
      padding: var(--space-component-xs);
      font-size: var(--text-body-sm);
  }
  .stocks_number button {
      padding: var(--space-5) var(--space-component-md);
      height: 70px;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
  }

  .all-about-section {
      background: var(--Pink-light, #FFEBFC);
      padding: var(--space-component-xs) var(--space-6) var(--space-10);
      position: relative;
  }

  .news-letter-subscribe h2 {
      font-size: var(--text-title);
      font-weight: 600;
  }

  .investment-overview{
      padding: var(--space-5) var(--space-5);
  }

  .portfolio-progress-bar {
      height: 24px;
      border-radius: 12px;
  }

  .equity-segment {
      border-radius: 12px 0 0 12px;
  }

  .mf-segment {
      border-radius: 0 12px 12px 0;
  }

  .portfolio-progress-labels {
      font-size: var(--text-caption);
      margin-top: var(--space-component-xs);
  }
  .investment-overview-card {
      margin-bottom: var(--space-component-md);
  }
  .diversification-box h4 {
      margin-bottom: var(--space-component-sm);
  }

  .equity-box{
      margin-bottom: var(--space-5);
  }

  .diversification-overview-card .eq_op{
      border-bottom-right-radius: 0;
      border-bottom-left-radius: 0;
  }

  .diversification-overview-card .mf_op{
      border-top-right-radius: 0;
      border-top-left-radius: 0;
      margin-top: 0;
  }
  .risk_box_diverse_inner {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: unset;
      width: 100%;
      gap: 8px;
      position: relative;
      z-index: 100;
  }
  .investment-overview-info-tab {
      padding: var(--space-6) var(--space-5) 0;
  }

  .performance_graph{
    padding: 0 var(--space-5) var(--space-6);
  }
  .diversification .section-title, .risk-container-review .section-title, .allocation-container .section-title, .custom-metrics .section-title, .stocks-container .section-title, .performance_graph .section-title, .allocations-mf .section-title, .funds-container .section-title {
      
      font-size: var(--text-title);
      font-weight: 600;
      line-height: 28px;
      margin-bottom: var(--space-component-md);
  }

  .assets-container .card {
      width: 300px;
      margin-top: 2rem;
  }
  .canvas-box {
      width: 100%;
      height: 180px;
  }

  .show-index {
      gap: 0px;
      margin: var(--space-component-md) 0 var(--space-component-xs);
      justify-content: space-between;
  }
  .show-index p {
      margin-bottom: 0;
      font-size: var(--text-caption);
  }
  .current-portfolio-line, .portfolio-index-line {
      width: 16px;
      height: 16px;
  }
  .current-portfolio-line::after,
  .portfolio-index-line::after {
      width: 16px;
      height: 3px;
  }

  .allocation-container, .diversification, .risk-container-review, .allocation-container, .custom-metrics, .stocks-container, .assets-container, .allocations-mf, .funds-container {
      padding: var(--space-6) var(--space-5);
  }

  .diversification, .risk-container-review ,  .allocation-container{
    margin-top: 0;
  }

  .risk-container-review .order-vol-value{
      order: 1;
  }
  .risk-container-review .order-chart{
      order: 2;
      padding: var(--space-5);
  }

  .diversification-ChartEq-legends p {
      font-size: var(--text-body-sm);
  }

  .ordering-box{
      display: flex;
      flex-direction: column-reverse;
      gap: 28px;
  }

  .allocation-container .section-title {
      margin: 0 0 var(--space-component-md);
  }
  .nav-tabs{
      margin: 0 0 var(--space-component-md);
  }
  .toggle-section-tab {
      border-radius: 10px;
  }
  .toggle-section-tab h5 {
      padding: var(--space-component-md) var(--space-component-md) var(--space-component-md) var(--space-component-md);
      border-radius: 0px;
      font-size: var(--text-caption);
  }

  .toggle-section-tab h5:first-child{
      border-top-left-radius: 8px ;
      border-bottom-left-radius: 8px ;
  }

  .toggle-section-tab h5:last-child{
      border-top-right-radius: 8px ;
      border-bottom-right-radius: 8px ;
  }
  .toggle-section .card {
      margin-bottom: var(--space-component-sm);
  }

  .bar-card-box{
      display: flex;
      gap: 16px;
  }
  .high-low-bar {
      background: linear-gradient(135deg, #8AB7AC, #F8DF79, #FFBDA2, #E56E6E);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
      border-radius: 5px;
      height: 100%;
      padding: var(--space-component-md) var(--space-3);
      margin-bottom: var(--space-6);
      width: 0px;
  }

  .high-low-bar span {
      
      font-size: var(--text-body-lg);
      font-weight: 600;
      line-height: 22px;
      letter-spacing: 0em;
      text-align: left;
      color: white;
      transform: rotate(90deg);
  }
  .news-letter-subscribe {
      padding: var(--space-5) var(--space-5);
      position: relative;
  }

  .suggested-portfolio {
      background: var(--navy_blue);
      padding: var(--space-5) var(--space-5) var(--space-6);
  }

  .allocation-container .nav-tabs {
      border-top: 0;
      margin-bottom: var(--space-6);
      margin-left: 0;
      width: fit-content;
      background: var(--Grey-700);
      border-radius: 8px;
  }

  .upload-transaction-Modal{
    z-index: 1080;
  }

  .upload-transaction-Modal .modal-dialog{
    height: 100%;
  }

  .upload-transaction-Modal .modal-content{
    height: 100%;
    position: relative;
  }

  .review-Txn-Button{
    display: none;
  }

  .modal.show .review-Txn-Button{
    display: inline-block;
  }
  .upload-transaction-input {
    flex-direction: column;
}

.upload-transaction-input div{
  width: 100%;
}

  .submit-upload-buttons {
    padding: var(--space-component-md);
    flex-direction: column;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
}
  .submit-upload-buttons button {
    width: 100%;
}

.holding-box{
  position: relative;
  padding: 0;
  border: 1px solid #dedede;
  border-radius: 16px;
  margin-bottom: var(--space-component-md);
}

.drop-down-box{
  position: absolute;
  right: 20px;
  top: 14px;
}

.purchase-list-box{
  display: flex;
}

  .purchase-list-box p{
    margin-bottom:0;
    
  }

.holding-unit , .holding-nav , .holding-market-value{
  display:flex;
  flex-direction:column;
  width: 34%;
  padding: var(--space-component-md) var(--space-component-sm);
  gap: 8px;
}

.holding-unit, .holding-nav{
  border-right:1px solid var(--Grey-100);
}

  .sip-name{
    background: var(--Grey-200);
    padding: var(--space-component-md);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
  }

  .holding-unit p:last-child ,
  .holding-nav p:last-child ,
   .holding-market-value p:last-child{
  font-weight:600;
}

.buy-badge{
  color: var(--text-link-teal, #25594D);
  border: 1px solid #96DDCC;
  background-color: #E5FFFB;
  font-size: var(--text-caption);
  padding: var(--space-component-xs) var(--space-component-md);
  border-radius: 24px;
}

.sip-name{
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.sip-name h3{
  font-size: var(--text-body-sm);
  font-weight: 600;
  width: 120px;
}

.show_txn_mobile{
  height: calc(100% - 200px);
}

.fltr_sec_inner p{
  margin-bottom: 0;
  font-size: var(--text-caption);
  
}

.apply-filters-button button{
  width: 100%;
  height: 44px;
}

.apply-filters-button{
  display: flex;
  flex-direction: column;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0;
  gap: 14px;
  position: absolute;
}

.overlay-background {
  background: #6a6a6a;
  position:relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.overlay-background::after{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #474747e8;
}
.fltr_sec {
  z-index: 1080;
  position: fixed;
  bottom: 0;
  background-color: white;
  width: 100%;
  padding: var(--space-5);
  height: 370px;
  border-top-right-radius: 32px;
  border-top-left-radius: 32px;
}
.fltr_sec_inner{
  height: 100%;
  position: relative;
}

.mob_filter{
  position: sticky;
  top: 65px;
  background: white;
  z-index: 100;
}

.vol-card .card-border-2 {
  left: -3px;
  z-index: -3;
}
.vol-card .card-border-3 {
  left: -6px;
  z-index: -4;
}
.vol-card .card-border-4 {
  left: -9px;
  z-index: -5;
}

.default-card .card-border-3 {
  left: -3px;
  z-index: -4;
}
.default-card .card-border-4 {
  left: -6px;
  z-index: -5;
}
.beta-card .card-border-4 {
  left: -3px;
  z-index: -5;
}
.chart-legends {
  gap: 20px;
  margin-bottom: var(--space-5);
}

.suggested-portfolio .card-header .badge {
  
  border: 1px solid var(--teal_dark);
  border-radius: 40px;
  font-size: var(--text-caption);
  font-weight: 600;
  line-height: 16.39px;
  background-color: var(--Grey-shade) !important;
  padding: var(--space-component-xs) var(--space-3);
  color: var(--text-link-teal, #25594D) !important;
  flex: 1;
  text-transform: uppercase;
}
.recommended-blog {
  padding: var(--space-10) var(--space-5) var(--space-6) var(--space-10);
  background: #FFEBFC;
}
.recommended-blog-heading h5 {
  font-size: var(--text-title);
  font-weight: 600;
  margin-bottom: var(--space-5);
}

.ai-Risk-Modeling {
  padding: var(--space-10) var(--space-6);
}
.other-blog-section .col-md-3 .carousel-control-prev {
  left: 0;
  opacity: 1;
  max-height: 100%;
  bottom: 0px !important;
  width: 130%;
}
.other-blog-section .col-md-3 .carousel-control-next {
  left: auto;
  opacity: 1;
  max-height: 100%;
  bottom: 0px !important;
  width: 35%;
}
.other-blog-section .col-md-3 h2 {
  font-size: var(--text-title);
  font-weight: 600;
}

.import-holding-div .create-risk-profile-left p {
  width: auto;
}
.button_div_fetch {
  flex-direction: column;
  gap: 16px;
}

.diversification .chart-legends {
  margin-top: 0;
  border: 1px solid var(--Grey-300);
  border-radius: 16px;
  padding: var(--space-component-sm);
}

.allocationTreemap-legends {
  margin-top: var(--space-layout-sm);
}
.allocationTreemap-legends p {
  gap: 4px;
  font-size: var(--text-caption);
}

.gauge-Chart-div-box {
  border: 1px solid var(--Grey-300);
  padding: var(--space-5) var(--space-component-sm);
  border-radius: 16px;
}

.assets-Allocation-div {
  height: 150px  !important;
}

.border-box-div{
  border: 0;
  padding: 0;
}
.dataTables_wrapper .dataTables_info,
 .dataTables_wrapper .dataTables_paginate {
  text-align: left;
    
}

.dataTables_wrapper .dataTables_info{
  margin-left:var(--space-component-md);
  font-size: var(--text-caption);
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  font-size: var(--text-caption);
  padding: 0.5em 0.8em;
}

.invest-now-mobile{
  font-size: var(--text-body-sm)  !important;
  width: 100% !important;
}

.toggle_button{
  position: absolute;
  width: 38px;
  z-index: 10;
  top: 4px;
  right: 16px;
}

.toggle_button .btn-grey-wright {
  border-radius: 8px !important;
  font-size: var(--text-caption);
  gap: 4px;
  height: 33px;
  padding: var(--space-3) 0;
  background: #ffffff00;

}

.toggle_button .btn.focus, .btn:focus {
    outline: 0;
    box-shadow: unset;
}

.toggle_button .btn-grey-wright svg{
  width:16px;
}
.toggle_button .dropdown-menu .dropdown-item {
  font-size: var(--text-caption);
}

.all-about-text h2 {
  font-size: var(--text-title);
  font-weight: 400;
}

}

.uploadHelp {
  overflow-x: auto;
  background-color: #EEE;
  margin: var(--space-5) 0;
  padding: var(--space-component-sm);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
.fileUploadTable {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: var(--space-5);
}
.fileUploadTableCell {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.fileUploadTableHeader {
  font-weight: 600;
  padding: var(--space-component-sm);
  background: #EEE;
}
.fileUploadTableData {
  font-weight: 500;
  padding: var(--space-component-xs);
}

.tickerContainer {
  width: 100%;
  height: 300px;
  overflow: auto;
  margin: 0;
  text-align: left;
  background-color: white;
  position: absolute;
  top: 100px;
  z-index: 1;
  box-shadow: 0px 4px 4px 0px #00000040;
}
.tickerItem {
  display: flex;
  flex-direction: column;
  margin-top: 0;
  padding-left: .8rem;
  padding-top: var(--space-component-sm);
  padding-bottom: var(--space-component-sm);
  cursor: pointer;
}
.tickerItem:last-of-type {
  border-bottom-style: none;
}
.tickerItem:hover {
  background-color: whitesmoke;
}
.tickerName {
  font-weight: 200;
  font-size: 1rem;
  color: #444;
}
.tickerSymbol {
  font-weight: 400;
  font-size: 0.8rem;
  color: #666;
}
.tickerType {
  font-size: 0.8rem;
  font-weight: 200;
  color: #555;
}

.external-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  background: #2D1B69;
  color: #FFFFFF;
  padding: var(--space-3);
  border-radius: 6px;
  font-size: var(--text-caption);
  
  font-weight: 500;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 6px 16px rgba(45, 27, 105, 0.3);
  min-width: 160px;
  max-width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.external-tooltip table {
  border-collapse: collapse;
  width: 100%;
  margin: 0;
}

.external-tooltip td {
  padding: var(--space-component-xs) 0;
  text-align: left;
  border: none;
  line-height: 1.0;
}

.external-tooltip tr:first-child td {
  font-weight: 700;
  color: #FFFFFF;
  font-size: var(--text-body-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: var(--space-component-xs);
  margin-bottom: var(--space-component-xs);
}

.external-tooltip tr:not(:first-child) td {
  color: #E8E8E8;
  font-size: var(--text-caption);
  font-weight: 400;
}

/* moved from template content for head placement */
    .btn-container {
        display: flex;
        gap: 15px;
    }

    /* Fixed height for import cards to make them same size */
    .import_holdings .card {
        height: 300px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    @media (max-width:552px) {
        .btn-container {
            display: flex;
            flex-direction: column;
        }
    }

    /* Auto Redirect Modal Styles */
    .auto-redirect-modal {
        display: none;
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        animation: fadeIn 0.3s ease-in-out;
    }

    .auto-redirect-modal-content {
        position: relative;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        margin: 15% auto;
        padding: 30px 25px;
        border: none;
        border-radius: 16px;
        width: 90%;
        max-width: 380px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        animation: slideUp 0.4s ease-out;
        text-align: center;
    }

    .auto-redirect-modal-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 15px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: pulse 2s infinite;
    }

    .auto-redirect-modal-icon svg {
        width: 32px;
        height: 32px;
        stroke: white;
        stroke-width: 2;
    }

    .auto-redirect-modal h3 {
        font-size: var(--text-title);
        font-weight: 700;
        color: #2d3748;
        margin-bottom: 12px;
    }

    .auto-redirect-modal p {
        font-size: var(--text-body-sm);
        color: #4a5568;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .auto-redirect-progress {
        width: 100%;
        height: 6px;
        background-color: #e2e8f0;
        border-radius: 10px;
        overflow: hidden;
        margin-bottom: 20px;
    }

    .auto-redirect-progress-bar {
        height: 100%;
        background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
        border-radius: 10px;
        animation: progressBar 3s linear forwards;
        width: 0%;
    }

    .auto-redirect-timer {
        font-size: var(--text-title-sm);
        font-weight: 600;
        color: #667eea;
        margin-bottom: 20px;
    }

    .auto-redirect-actions {
        display: flex;
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .auto-redirect-btn {
        padding: 12px 30px;
        border-radius: 10px;
        font-size: var(--text-body);
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
        outline: none;
    }

    .auto-redirect-btn-primary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }

    .auto-redirect-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    @keyframes slideUp {
        from {
            transform: translateY(50px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    @keyframes pulse {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
    }

    @keyframes progressBar {
        from {
            width: 0%;
        }
        to {
            width: 100%;
        }
    }

    @media (max-width: 768px) {
        .auto-redirect-modal-content {
            margin: 25% auto;
            padding: 25px 20px;
            max-width: 340px;
        }

        .auto-redirect-modal-icon {
            width: 55px;
            height: 55px;
            margin: 0 auto 12px;
        }

        .auto-redirect-modal-icon svg {
            width: 28px;
            height: 28px;
        }

        .auto-redirect-modal h3 {
            font-size: var(--text-title-sm);
            margin-bottom: 10px;
        }

        .auto-redirect-modal p {
            font-size: var(--text-body-sm);
            margin-bottom: 16px;
        }

        .auto-redirect-progress {
            height: 5px;
            margin-bottom: 16px;
        }

        .auto-redirect-timer {
            font-size: var(--text-body-lg);
            margin-bottom: 16px;
        }

        .auto-redirect-btn {
            width: 100%;
            font-size: var(--text-body-sm);
            padding: 11px 24px;
        }
    }

    @media (max-width: 480px) {
        .auto-redirect-modal-content {
            margin: 30% auto;
            padding: 22px 18px;
            max-width: 320px;
            border-radius: 14px;
        }

        .auto-redirect-modal-icon {
            width: 50px;
            height: 50px;
            margin: 0 auto 10px;
        }

        .auto-redirect-modal-icon svg {
            width: 26px;
            height: 26px;
        }

        .auto-redirect-modal h3 {
            font-size: var(--text-title-sm);
            margin-bottom: 8px;
        }

        .auto-redirect-modal p {
            font-size: var(--text-caption);
            margin-bottom: 14px;
        }

        .auto-redirect-progress {
            height: 4px;
            margin-bottom: 14px;
        }

        .auto-redirect-timer {
            font-size: var(--text-body);
            margin-bottom: 14px;
        }

        .auto-redirect-btn {
            padding: 10px 20px;
            font-size: var(--text-body-sm);
        }
    }

    @media (max-width: 360px) {
        .auto-redirect-modal-content {
            margin: 35% auto;
            padding: 20px 16px;
            max-width: 300px;
        }

        .auto-redirect-modal h3 {
            font-size: var(--text-body-lg);
        }

        .auto-redirect-modal p {
            font-size: var(--text-caption);
        }

        .auto-redirect-timer {
            font-size: var(--text-body-sm);
        }
    }
