.ul-border {
  margin-bottom: 0.75rem;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  font-size: 1.125rem;
  font-weight: 700;
  color: black;
  background-color: unset !important;
  border-bottom: 3px solid #3900fa !important;
  border-radius: unset !important;
}
.nav-link {
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  color: #9a9a9a;
}
.zrh {
  padding: 0.1875rem 0.5rem;
  border-radius: 2.875rem;
  background: var(--Neutral-Neutral-50, #f3f3f3);
}
.irt {
  color: #a6a6a6;
  font-size: 0.75rem;
  font-weight: 600;
}
.xrp {
  color: var(--Neutral-Neutral-300, #b3b3b3);
  font-size: 0.6875rem;
  font-weight: 500;
  margin-right: 0.1rem;
}
.br-pn {
  border-radius: 0.5rem !important;
}
.gap_c {
  gap: 1.94rem !important;
  justify-content: start !important;
}
.gap_c1 {
  gap: 6.3rem !important;
  justify-content: start !important;
}
.dt {
  color: #9a9a9a !important;
  font-size: 0.75rem;
  font-weight: 400 !important;
}

.table .toggle-btn {
  cursor: pointer;
  color: blue;
  font-size: 18px;
  margin-right: 5px;
}

.table .details-content {
  display: none;
  font-size: 14px;
  color: #333;
  background-color: #f9f9f9;
  padding: 5px;
  border-top: 1px solid #ddd;
}

.bage_stat.pending {
  padding: 5px 10px;
  border-radius: 4px;
}

.fs-7 {
  font-size: 0.75rem !important;
}
.fs-8 {
  font-size: 0.87rem !important;
}
.w-max {
  width: max-content;
}
.trading-container {
  width: 80rem;
}
.flash-svg {
  width: 3.5rem;
  margin-right: -1rem;
}
.trading-header {
  display: flex;
  justify-content: space-between;
  background-color: #f8f9fa;
  padding-right: 4.5rem;
  padding-left: 4.5rem;
  padding-top: 0.88rem;
  padding-bottom: 0.88rem;
  border-bottom: 1px solid #eee;
  border-radius: 0.625rem;
  border: 1px solid #eaeaea;
  background: #f7f7f7;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
}
.mr-2r {
  margin-right: 2rem;
}
.mr-4r {
  margin-right: 4rem;
}
.header-cell {
  font-size: 0.75rem !important;
  font-weight: 300 !important;
}

.trading-row-wrapper {
  border-radius: 0.9375rem;
  border: 1px solid #eaeaea;
  background: #fff;
  margin: 0.25rem 0;
  background: white;
}

.trading-row-wrapper2 {
  border-radius: 0.9375rem;
  border: 1px solid #eaeaea;
  background: #fff;
  margin: 0.25rem 0;
  background: white;
}
.trading-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  padding: 12px;
  gap: 8px;
  align-items: center;
}

.detail-row {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-out;
  /* background-color: #f8f9fa;
  border-top: 1px solid #eee; */
}
.detail-row2 {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-out;
  /* background-color: #f8f9fa;
  border-top: 1px solid #eee; */
}
.detail-row.visible {
  height: auto;
  padding-right: 1rem;
  padding-left: 1rem;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
  width: 37rem;
  border-radius: 0.625rem;
  background: var(--Neutral-Neutral-50, #f3f3f3);
  margin-top: 0.56rem;
  margin-right: 3.5rem;
  margin-bottom: 1.19rem;
}
.detail-row2.visible {
  height: auto;
  padding-right: 1rem;
  padding-left: 1rem;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
  width: 14rem;
  border-radius: 0.625rem;
  background: var(--Neutral-Neutral-50, #f3f3f3);
  margin-top: 0.56rem;
  margin-right: 3.5rem;
  margin-bottom: 1.19rem;
}

.detail-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.detail-item {
  text-align: start;
  flex: 1;
}

.detail-label {
  font-size: 0.625rem;
  font-weight: 300;
  color: var(--Neutral-Neutral-400, #9a9a9a);
}

.detail-value {
  font-size: 0.75rem;
  font-weight: 700;
}

.position-close {
  color: #000;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5625rem;
  border-radius: 0.625rem;
  border: 1px solid #eaeaea !important;
  background: #fff;
}

.position-close:hover {
  background-color: #e9ecef;
}
.col-dc{
  color: #dc3545 !important;

}
.profit-negative {
  color: #dc3545;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
}
.lq {
  font-size: 0.625rem;
  font-weight: 700;
  width: max-content;
  color: #df900a;
}
.position-lq{
  border-radius: 0.5rem;
border: 1px solid var(--Error-600, #DC2626);
background: var(--Error-50, #FEF2F2);
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
padding: 0.375rem 0.5625rem;
color: var(--Error-600, #DC2626);
font-size: 0.75rem;
font-weight: 500;

}
.ms-44{
  margin-right: 4rem;
}
.profit-positive {
  color: #198754;
  font-size: 0.75rem;
  font-weight: 500;
}
.col-40ff {
  color: #0040ff;
}
.collapse-trigger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.collapse-trigger svg {
  transition: transform 0.3s;
  rotate: 90deg;
}

.collapse-trigger2.active svg {
  transform: rotate(-90deg);
}
.collapse-trigger2 svg {
  transition: transform 0.3s;
  rotate: 90deg;
}

.collapse-trigger.active svg {
  transform: rotate(-90deg);
}
.collapse-trigger2 {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.cell {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
}
/* موبایل */
.collapse-trigger1 {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.collapse-trigger1 svg {
  transition: transform 0.3s;
  rotate: 360deg;
}

.collapse-trigger1.active svg {
  transform: rotate(180deg);
}
.trading-row-wrapper1 {
  border-radius: 0.8125rem;
  background: var(--Neutral-Neutral-50, #f3f3f3);
  width: -webkit-fill-available;
  padding: 0.81rem;
}
.detail-row1 {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-out;
  /* background-color: #f8f9fa;
  border-top: 1px solid #eee; */
}

.detail-row1.visible {
  height: auto;
}
.ref {
  font-size: 0.8125rem;
  font-weight: 900;
}
.sod {
  font-size: 0.75rem;
  font-weight: 300;
}
.gap-81 {
  gap: 0.81rem;
}
.col-re {
  color: var(--Error-600, #dc2626);
  font-size: 0.75rem;
  font-weight: 700;
  width: max-content;
}
.ti {
  font-size: 0.8125rem;
  font-weight: 300;
}
.da-t {
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
  width: max-content;
}
.mb-81 {
  margin-bottom: 0.81rem;
}
.dt-r {
  padding: 1rem;
  border-radius: 0.625rem;
  background: #fff;
}
.g-27 {
  gap: 2rem;
}
.vl {
  color: var(--Neutral-Neutral-400, #9a9a9a);
  font-size: 0.625rem;
  font-weight: 300;
}
.vll {
  font-size: 0.75rem;
  font-weight: 700;
}
.close-m {
  width: -webkit-fill-available;
  color: #000;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.625rem;
  border: 1px solid #eaeaea;
  background: #fff;
  padding: 0.56rem;
  display: flex;
  justify-content: center;
}
.detail-row2.visible {
  height: auto;
  padding-right: 1rem;
  padding-left: 1rem;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
  width: 16rem;
  border-radius: 0.625rem;
  background: var(--Neutral-Neutral-50, #f3f3f3);
  margin-top: 0.56rem;
  margin-right: 3.5rem;
  margin-bottom: 1.19rem;
}
@media (min-width: 400px) {
  .gg {
    gap: 6rem !important;
  }
}

@media (max-width: 1112px) {
  .ul-border {
    width: 53rem;
  }
}

@media (max-width: 991px) {
  h1 {
    font-size: 2rem;
  }
}
