.dashboard-nav {
  z-index: 999;
  background-color: #fff;
  padding: 10px;
  border-radius: 12px;
  position: sticky;
  top: 64px;
}
.dashboard-credits {
  padding-bottom: 15px;
  margin-bottom: 3px;
  border-bottom: 1px solid rgba(4, 32, 69, 0.1);
}
.dashboard-credit {
  font-size: 15px;
  line-height: 18px;
  letter-spacing: -0.01em;
}
.dashboard-credit span {
  font-weight: 500;
}
.dashboard-credit-days {
  margin-left: 10px;
  color: #717D96;
}
.dashboard-wrapper-white {
  width: 790px;
  margin-top: 20px;
  padding: 20px;
  background-color: #fff;
  border-radius: 12px;
}
.dashboard-wrapper-white .form-select {
  border-color: #BDC4CE;
}
.dashboard-wrapper-white .form-select:active, .dashboard-wrapper-white .form-select:focus {
  border-color: #BDC4CE !important;
}
.dashboard-wrapper-white .input-group-flat {
  border-color: #BDC4CE;
}
.dashboard-wrapper-white .input-group-flat:focus-within {
  border-color: #BDC4CE !important;
}
.dashboard-wrapper-white .dashboard-filter {
  margin-top: 0;
  margin-bottom: 20px;
}
.dashboard-wrapper-white .card.card-empty {
  border: none;
  box-shadow: none;
}
.dashboard-toggle {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.dashboard-toggle .btn-check[type=radio] + .btn, .dashboard-toggle a {
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.01em;
  background-color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 19px;
  color: #282F36;
}
.dashboard-toggle .btn-check[type=radio] + .btn .badge, .dashboard-toggle a .badge {
  font-size: 12px;
  font-weight: 400;
  padding: 1px 3px;
  color: #fff;
  background-color: rgba(40, 47, 54, 0.5019607843);
}
.dashboard-toggle .btn-check[type=radio] + .btn:hover, .dashboard-toggle .btn-check[type=radio] + .btn:active, .dashboard-toggle .btn-check[type=radio] + .btn:focus, .dashboard-toggle a:hover, .dashboard-toggle a:active, .dashboard-toggle a:focus {
  border: none !important;
  background-color: #fff !important;
  color: #282F36 !important;
}
.dashboard-toggle .btn-check[type=radio] + .btn:hover .badge, .dashboard-toggle .btn-check[type=radio] + .btn:active .badge, .dashboard-toggle .btn-check[type=radio] + .btn:focus .badge, .dashboard-toggle a:hover .badge, .dashboard-toggle a:active .badge, .dashboard-toggle a:focus .badge {
  background-color: #0095F6;
}
.dashboard-toggle .btn-check[type=radio]:checked + .btn, .dashboard-toggle a.active {
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.5019607843);
  background-color: #fff;
  border: none;
  color: #282F36;
}
.dashboard-toggle .btn-check[type=radio]:checked + .btn .badge, .dashboard-toggle a.active .badge {
  background-color: #0095F6;
}
.dashboard-tabs-fixed {
  position: sticky;
  top: 54px;
  margin-bottom: 0;
  background-color: #F5F5F5;
  z-index: 999;
  padding-bottom: 0px;
}
.dashboard-direction {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  position: relative;
  gap: 5px;
  max-width: 100%;
  padding-right: 5px;
  -ms-overflow-style: none;
  scrollbar-width: none !important;
  scrollbar-color: transparent transparent;
  -webkit-overflow-scrolling: touch;
  z-index: 1;
  box-shadow: 0 -2px 0 #CBD2E0 inset;
}
.dashboard-direction::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}
.dashboard-direction .toggle {
  position: relative;
  z-index: 10;
  padding-right: 15px;
}
.dashboard-direction .btn-sec {
  position: relative;
  font-size: 14px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #717D96;
  gap: 0;
  padding: 7px 0 5px;
  border-radius: 0;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  z-index: 2;
  white-space: nowrap;
}
.dashboard-direction .btn-sec .badge {
  position: absolute;
  display: inline-flex;
  background-color: inherit;
  font-size: 11px;
  font-weight: 400;
  color: #717D96;
  top: 5px;
  right: -19px;
  width: 18px;
  justify-content: flex-start;
  padding: 0;
}
.dashboard-direction .btn-check:checked + .btn-sec {
  color: #282F36;
  z-index: 9;
  position: relative;
  border-color: #282F36;
}
.dashboard-filter {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin: 20px 0;
  gap: 10px;
}
.dashboard-filter-start {
  display: flex;
  align-items: start;
  gap: 20px;
  flex-wrap: nowrap;
}
.dashboard-filter-end {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.dashboard-filter .form-select {
  width: 220px;
  max-width: 220px;
  padding: 8px 32px 8px 16px;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  border-color: #A0ABC0 !important;
}
.dashboard-filter .form-select:active, .dashboard-filter .form-select:focus {
  border-color: #A0ABC0 !important;
}
.dashboard-filter .form-select.form-order {
  width: 160px;
  max-width: 160px;
}
.dashboard-filter .input-group-flat {
  border-color: #A0ABC0 !important;
}
.dashboard-filter .input-group-flat:focus-within {
  border-color: #A0ABC0 !important;
}
.dashboard-filter .input-group-flat .input-group-text {
  cursor: pointer;
  padding: 5px 13px;
  display: flex;
}
.dashboard-filter .input-group-flat .input-group-text a {
  max-height: 20px;
  display: flex;
}
.dashboard-filter .input-search {
  max-width: 265px;
  width: 100%;
}

.profile-nav {
  z-index: 999;
  position: sticky;
  top: 64px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.balance-loop {
  margin-top: 20px;
}
.balance-loop .card {
  width: 790px;
  border-radius: 20px;
}
.balance-top {
  display: flex;
  align-items: stretch;
  gap: 150px;
  padding-bottom: 20px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(4, 32, 69, 0.1);
}
.balance-title {
  font-size: 20px;
  margin-bottom: 5px;
}
.balance-value {
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
}
.balance-value small {
  font-weight: 400;
  font-size: 12px;
  color: #717D96;
}
.balance-bottom .balance-title {
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: -0.01em;
  text-decoration: underline;
  margin-bottom: 10px;
}
.balance-form {
  display: flex;
  gap: 10px;
}
.balance-fields {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}
.balance-fields .input-group-flat {
  max-width: 198px;
  background-color: #F5F5F5;
  border: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: -0.01em;
}
.balance-fields .input-group-flat:focus-within {
  border: none;
}
.balance-digits {
  display: flex;
  gap: 10px;
}
.balance-digits .balance-digit {
  font-size: 15px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -0.01em;
  padding: 5px 9px 3px 9px;
  border-radius: 12px;
}
.balance-digits .balance-digit:active, .balance-digits .balance-digit:focus {
  background-color: #fff;
  color: #282F36;
}
.balance-confirm {
  height: -moz-max-content;
  height: max-content;
  margin-left: -45px;
}
.balance-confirm .btn {
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  padding: 4px 9px;
}
.balance-helper p {
  font-size: 12px;
  line-height: 1.4;
  color: #717D96;
}
.balance-helper .balance-text-decorate {
  font-size: 12px;
  line-height: 1.4;
  color: #717D96;
  text-decoration: underline;
}

.avatar-and-info-avatar .crop-image-container .avatar-view .image-preview {
  width: 183px !important;
  height: 183px !important;
  border-radius: 50%;
}
.avatar-and-info-avatar .crop-image-container .avatar-view .action {
  display: flex;
  top: 12%;
  right: 5%;
  left: unset;
}
.avatar-and-info-avatar .crop-image-container .avatar-view .action a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #0095F6;
  color: #fff;
}
.avatar-and-info-avatar .crop-image-container .avatar-view .action a svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1399px) {
  .dashboard-wrapper-white {
    width: 100%;
    background-color: transparent;
    padding: 0;
    margin: 0;
  }
  .dashboard-filter {
    padding: 20px;
    margin: 0 !important;
  }
  .dashboard-filter-fixed {
    position: sticky;
    top: 82px;
    margin-bottom: 0;
    background-color: #F5F5F5;
    z-index: 999;
    padding-bottom: 0px;
  }
  .dashboard-tabs {
    position: sticky;
    top: 44px;
    padding-top: 0;
    margin-bottom: 0;
    background-color: #F5F5F5;
    z-index: 999;
    padding-bottom: 0px;
  }
  .dashboard-tabs-fixed {
    padding-top: 0px;
  }
  .dashboard-direction {
    margin: 0 20px;
    overflow-x: auto;
  }
  .dashboard-toggle {
    justify-content: center;
  }
  .main-dashboard-index .dashboard-credits {
    border: 1px solid rgba(4, 32, 69, 0.1);
    background-color: #fff;
    border-radius: 12px;
    padding: 7px 5px 7px 15px;
    margin-bottom: 0;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='9' height='18' viewBox='0 0 9 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1 1.5L8 9L1 16.5' stroke='%23A0ABC0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
  }
  .main-dashboard-index .dashboard-credits-title {
    padding-left: 15px;
    font-weight: 500;
    font-size: 13px;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #717D96;
  }
  .main-dashboard-index .dashboard-credit {
    font-size: 16px;
  }
  .main-dashboard-index .dashboard-credit-days {
    margin-left: 30px;
  }
  .balance-loop {
    margin-top: 20px;
    padding: 0 20px;
  }
  .balance-loop .card {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .dashboard-tabs {
    background-color: #EFEFEF;
  }
  .dashboard-direction {
    margin: 0 10px;
  }
  .dashboard-toggle .btn-check[type=radio] + .btn, .dashboard-toggle a {
    font-size: 14px;
    line-height: 1.4;
    padding: 9px 19px;
  }
  .dashboard-filter {
    padding: 15px 10px;
  }
  .dashboard-filter-fixed {
    top: 82px;
    background-color: #EFEFEF;
    padding-bottom: 0;
  }
  .dashboard-filter-start {
    gap: 10px;
  }
  .dashboard-filter-end {
    max-height: 32px;
    flex-grow: 1;
    width: 100%;
  }
  .dashboard-filter .form-select {
    width: 150px;
    max-width: 150px;
    padding: 3px 24px 3px 12px;
    font-size: 13px;
    line-height: 24px;
    background-position-x: calc(100% - 13px);
    background-position-y: calc(100% - 12px);
  }
  .dashboard-filter .form-select.form-order {
    width: 120px;
    max-width: 120px;
  }
  .dashboard-filter .input-group-flat .form-control {
    padding: 2px 10px;
  }
  .main-dashboard-index .dashboard-credits {
    border-radius: 0;
  }
  .main-dashboard-index .dashboard-credit-days {
    margin-left: 10px;
  }
  .main-dashboard-index .dashboard-menu {
    font-size: 15px;
    line-height: 18px;
  }
  .main-dashboard-index .dashboard-menu li {
    border-radius: 0;
  }
  .balance-loop {
    margin-top: 20px;
    padding: 0 10px;
  }
  .balance-loop .card {
    border-radius: 12px;
  }
  .balance-loop .card-body {
    padding: 10px;
  }
  .balance-top {
    flex-direction: column;
    gap: 10px;
    padding-bottom: 10px;
  }
  .balance-title {
    font-size: 18px;
  }
  .balance-value {
    font-size: 18px;
  }
  .balance-fields .input-group-flat {
    max-width: 196px;
  }
  .balance-fields .input-group-flat .form-control {
    padding: 7px 10px;
  }
  .balance-confirm {
    margin-left: -35px;
  }
  .balance-confirm .btn {
    padding: 6px 9px;
  }
  .balance-digits .balance-digit {
    font-size: 14px;
    padding: 4px 9px;
  }
  .avatar-and-info-avatar .crop-image-container .avatar-view .image-preview {
    width: 120px !important;
    height: 120px !important;
  }
  .avatar-and-info-avatar .crop-image-container .avatar-view .action {
    top: 12%;
    right: -5%;
  }
}
