/********** Template CSS **********/
:root {
  --primary: #6cc832;
  --secondary: #191c24;
  --light: #6c7293;
  --dark: #000000;
}
.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

#spinner {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.btn {
  transition: 0.5s;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: inline-flex;
  align-items: center;

  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 250px;
  height: 100vh;
  overflow-y: auto;
  background-color: #1f1f1f;
  transition: 0.5s;
  z-index: 999;
}

.content {
  margin-left: 250px;
  min-height: 100vh;
  background: var(--dark);
  transition: 0.5s;
}

@media (min-width: 992px) {
  .sidebar {
    margin-left: 0;
  }

  .sidebar.open {
    margin-left: -250px;
  }

  .content {
    width: calc(100% - 250px);
  }

  .content.open {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 991.98px) {
  .sidebar {
    margin-left: -250px;
  }

  .sidebar.open {
    margin-left: 0;
  }

  .content {
    width: 100%;
    margin-left: 0;
  }
}

/*** Navbar ***/
.sidebar .navbar .navbar-nav .nav-link {
  padding: 7px 20px;

  color: #b5b5b5;
  font-weight: 500;
  border-left: 3px solid var(--secondary);
  border-radius: 0 30px 30px 0;
  font-family: Mulish, sans-serif;
  /* border-bottom: 1ps solid #424242; */
  outline: none;
}

.sidebar .navbar .navbar-nav .nav-link:hover,
.sidebar .navbar .navbar-nav .nav-link.active {
  color: var(--primary);
  background: var(--dark);
  border-color: var(--primary);
}

.sidebar .navbar .navbar-nav .nav-link i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  border-radius: 40px;
}

.sidebar .navbar .navbar-nav .nav-link:hover i,
.sidebar .navbar .navbar-nav .nav-link.active i {
  background: var(--secondary);
}

.sidebar .navbar .dropdown-toggle::after {
  position: absolute;
  top: 15px;
  right: 15px;
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  transition: 0.5s;
}

.sidebar .navbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}

.sidebar .navbar .dropdown-item {
  padding-left: 25px;
  border-radius: 0 30px 30px 0;
  color: white;
  font-family: Mulish, sans-serif;
}

.sidebar .navbar .dropdown-item:hover,
.sidebar .navbar .dropdown-item.active {
  background: var(--dark);
}

.content .navbar .navbar-nav .nav-link {
  margin-left: 25px;
  padding: 12px 0;
  color: white;
  font-family: Mulish, sans-serif;

  outline: none;
}

.content .navbar .navbar-nav .nav-link:hover,
.content .navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.content .navbar .sidebar-toggler,
.content .navbar .navbar-nav .nav-link i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  border-radius: 40px;
}

.content .navbar .dropdown-item {
  /* color: var(--light); */
  color: white;
  font-family: Mulish, sans-serif;
}

.content .navbar .dropdown-item:hover,
.content .navbar .dropdown-item.active {
  background: var(--dark);
}

.content .navbar .dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: middle;
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  transition: 0.5s;
}

.content .navbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}

@media (max-width: 575.98px) {
  .content .navbar .navbar-nav .nav-link {
    margin-left: 15px;
  }
}

/*** Date Picker ***/
.bootstrap-datetimepicker-widget.bottom {
  top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
  border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
  font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
  padding: 10px;
  border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
  background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
  border-bottom-color: var(--primary);
}

/*** Testimonial ***/
.progress .progress-bar {
  width: 0px;
  transition: 2s;
}

/*** Testimonial ***/
.testimonial-carousel .owl-dots {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  border: 5px solid var(--primary);
  border-radius: 15px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  background: var(--dark);
  border-color: var(--primary);
}
.accordion-button {
  background: #191c24 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: #191c24 !important;
  color: #6cc832 !important;
}

.accordion-button::after {
  filter: invert(1);
}

.accordion-body {
  background: #111319;
  color: #bdbdbd;
}
.bg-dark {
  background: #26282a !important;
}

.btn-outline-light,
.btn-outline-danger {
  border-radius: 30px;
}

.bg-secondary h5,
.bg-secondary h3 {
  color: #fff;
}

.text-muted {
  color: white;
  font-family: Mulish, sans-serif;
}

.form-check-input {
  width: 50px;
  height: 25px;
  cursor: pointer;
}
.security-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
/* DARK BACKGROUND */
body {
  background: #0f1014;
}

/* Modal overlay */
.modal {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(2px);
}

/* Modal box */
.profile-modal {
  background: linear-gradient(180deg, #1d1f25, #1a1b21);
  border-radius: 28px;
  border: none;
  padding: 12px;
  color: #fff;
}

/* Header */
.modal-header {
  padding: 18px 22px 5px;
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

/* Close button */
.close-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #d1d1d1;
  transition: 0.3s;
}

.close-btn:hover {
  background: #2a2d36;
}

/* Profile section */
.profile-section {
  text-align: center;
  /* margin-top: 10px; */
}

.profile-wrapper {
  position: relative;
  width: 88px;
  margin: auto;
}

.profile-img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
}

.camera-btn {
  position: absolute;
  bottom: -2px;
  right: -4px;
  width: 34px;
  height: 34px;
  background: #111;
  border-radius: 50%;
  border: 2px solid #1d1f25;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.camera-btn i {
  color: #fff;
  font-size: 14px;
}

/* info text */
.profile-info {
  margin-top: 22px;
  color: #8f9199;
  font-size: 15px;
  line-height: 1.5;
}

/* nickname */
.nickname-section {
  margin-top: 28px;
}

.nickname-section label {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
  display: block;
}

.input-box {
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #1f2128;
  padding: 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.input-box input {
  background: transparent;
  border: none;
  color: #fff;
  width: 100%;
  outline: none;
  font-size: 18px;
  font-weight: 600;
}

.input-right {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8b8d96;
}

.clear-btn {
  width: 20px;
  height: 20px;
  background: #373a42;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
}

.nickname-section small {
  color: #8b8d96;
  margin-top: 10px;
  display: block;
}

/* bottom text */
.bottom-text {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #72757f;
  font-size: 15px;
  line-height: 1.7;
}

.modal-footer {
  justify-content: flex-end;
  gap: 14px;
}

.cancel-btn {
  background: none;
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 17px;
}

.save-btn {
  border: none;
  background: #7d7d7d;
  color: #1e1e1e;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 40px;
}

@media (max-width: 576px) {
  .profile-modal {
    border-radius: 25px 25px 0 0;
    margin: 12px;
  }

  .modal-header h3 {
    font-size: 18px;
  }

  .profile-info {
    font-size: 13px;
  }

  .input-box input {
    font-size: 16px;
  }

  .bottom-text {
    font-size: 13px;
  }

  .save-btn {
    padding: 10px 25px;
  }
}

.sidebar::-webkit-scrollbar {
  width: 3px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 10px;
}
.para {
  color: #fff;
}

.stat-card {
  position: relative;
  overflow: hidden;
  background: #1f1f1f !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.stat-card > * {
  position: relative;
  z-index: 2;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;

  background: linear-gradient(
    135deg,
    transparent 65%,
    rgba(146, 148, 147, 0.4) 75%,
    rgb(222, 240, 226) 100%
  );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);

  -webkit-mask-composite: xor;
  mask-composite: exclude;

  animation: glowBorder 2.5s ease-in-out infinite;
}

@keyframes glowBorder {
  0% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.3;
  }
}

/* -------------------------------------------------------------------------------- */

.market-card {
  background: #191c24;
  border-radius: 5px;
  padding: 20px;
  border: 1px solid #2a2d35;
  /* height: 100%; */
}

.market-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.market-header h5 {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.market-info {
  text-align: right;
}

.market-price {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

.up {
  color: #00d084;
  margin: 0;
  font-size: 14px;
}

.down {
  color: #ff4d4f;
  margin: 0;
  font-size: 14px;
}

.market-card:hover {
  transform: translateY(-5px);
  border-color: #6cc832;
}

.market-price {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.up {
  color: #6cc832;
}

.down {
  color: #ff4d4d;
}

.trade-box {
  background: #191c24;
  border-radius: 5px;
  padding: 25px;
}

.btn-buy {
  background: #00c853;
  color: white;
  width: 100%;
  border: none;
  padding: 12px;
  border-radius: 10px;
}

.btn-sell {
  background: #ff1744;
  color: white;
  width: 100%;
  border: none;
  padding: 12px;
  border-radius: 10px;
}

.profit-box {
  background: #0d1117;
  border-radius: 12px;
  padding: 15px;
  margin-top: 15px;
}

.trend-box {
  padding: 12px;
  border-radius: 12px;
  background: #0d1117;
  text-align: center;
  margin-top: 15px;
}

.chart-container {
  background: #191c24;
  border-radius: 5px;
  padding: 20px;
}

@media (max-width: 768px) {
  .market-price {
    font-size: 22px;
  }
}
.nav-logo {
  text-align: center;
}

.nav-logo img {
  width: 200px;
  height: auto;
  object-fit: contain;
}

#tradingview_chart {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
}

@media (max-width: 768px) {
  #tradingview_chart {
    height: 300px;
  }
}

#tradingview_chart {
  width: 100%;
  height: 400px;
}
.stat-card {
  transition: 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
}

#netProfit {
  font-size: 32px;
  font-weight: 700;
}

#statsChart {
  max-height: 300px;
}
.table-responsive {
  overflow-x: auto;
}

.table {
  min-width: 1600px;
}

.table th,
.table td {
  white-space: nowrap;
  vertical-align: middle;
}

.history-box .table {
  margin-bottom: 0;
  color: #fff;
  border-color: #2f3541;
}

.history-box .table thead th {
  background: #1b1b1b;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  padding: 14px 12px;
  border: 1px solid black;
}

.history-box .table tbody td {
  background: #1f1f1f;
  color: #e4e6eb;
  padding: 14px 12px;
  vertical-align: middle;
  border: 1px solid black;
}

.history-box .table tbody tr:hover td {
  background: #20242f;
}

.history-box .badge {
  padding: 7px 12px;
  font-size: 12px;
  border-radius: 4px;
  font-weight: 600;
}

.history-box .badge.bg-warning {
  background: #f39c12 !important;
  color: #fff;
}

.history-box .badge.bg-success {
  background: #28a745 !important;
  color: #fff;
}

.history-box .badge.bg-danger {
  background: #dc3545 !important;
  color: #fff;
}

.history-box .table-responsive {
  border-radius: 8px;
  overflow: auto;
}
.table-responsive {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #6c757d #181818;
}

.table-responsive::-webkit-scrollbar {
  height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
  background: #1e1e1e;
  border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
  background: #777;
}
.user-placeholder{
    width: 40px;
    height: 55px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}