:root {
  --bg-main: #0d1117;
  --bg-primary: #0d1117;
  --bg-sidebar: #111827;
  --bg-card: #1c2333;
  --accent: #00bcd4;
  --text: #f1f1f1;
  --muted: #9ca3af;
  --border: #2a2f3a;
  --green: #22c55e;
  --red: #ef4444;
  --radius: 8px;
  --transition: all 0.3s ease;
  --font-main: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 0;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--bg-main);
  color: var(--text);
}


/* ALERTS */

/* ALERT POP UPS */


.success-alert {
  background-color: #4CAF50;
  color: white;
}

.alert-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0000009b;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
}

.alert-content {
  width: 350px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.alert-icon {
  margin-bottom: 15px;
}

.alert-icon i {
  font-size: 50px;

}

.alert-message h3 {
  margin: 0 0 10px 0;
  font-size: 1.5rem;
}

.alert-message p {
  margin: 0;
  font-size: 1rem;
}

.alert-button {
  margin-top: 20px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: white;
  color: #4CAF50;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.alert-button:hover {
  opacity: 0.9;
}


.error-alert {
  background-color: #F44336;
  color: white;
}

.error-alert .alert-button {
  color: #F44336;
}



.confirm-modal {
  background-color: white;
  color: #333;
}

.confirm-modal .alert-icon svg {
  stroke: #4CAF50;
}

.pinpassword-input {
  width: 100%;
  padding: 10px;
  margin-top: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.confirm-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 10px;
}

.pincancel-button {
  background-color: #f1f1f1;
  color: #333;
  flex: 1;
}

.pinconfirm-button {
  background-color: #4CAF50;
  color: white;
  flex: 1;
}


/* PASSWOR MODAL */


/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s ease;
}


/* Password Modal */
.password-modal {
  background: #f0f0f0;
  border-radius: 16px;
  width: 90%;
  max-width: 450px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  display: block;
}



.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #C9302C;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary6);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: #404040;
  color: #f0f0f0;
  transform: rotate(90deg);
}

.modal-header {
  background: #2A4D7A;
  padding: 25px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #E0E0E0;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #f0f0f0;
}

.modal-subtitle {
  color: #f0f0f0;
  font-size: 0.95rem;
}

.modal-content {
  padding: 25px;
}

.pin-form-group {
  margin-bottom: 20px;
}

.pin-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #121212;
}

.password-input-group {
  position: relative;
}

.password-input {
  width: 100%;
  padding: 15px 50px 15px 20px;
  border: 2px solid #404040;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;

}

.password-input:focus {
  outline: none;
  border-color: #0088cc;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.2);
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--text-light);
  background: none;
  border: none;
  font-size: 1rem;
}

.password-toggle:hover {
  color: var(--primary-blue);
}

.form-text {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #121212;
}

.modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.confirm-button {
  flex: 1;
  padding: 15px;
  background: #3A6BB0;
  color: #f0f0f0;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.confirm-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.4);
}

.confirm-button:disabled {
  background: var(--text-light);
  border: #333 1px solid;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.cancel-button {
  flex: 1;
  padding: 15px;
  background: var(--red-dark);
  color: var(--text-light);
  border: 2px solid var(--white);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cancel-button:hover {
  background: var(--light-blue);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.error-messagepassword {
  color: var(--error-red);
  font-size: 0.9rem;
  margin-top: 10px;
  font-weight: 600;
  display: none;
}

/* Responsive Design */
@media (max-width: 576px) {
  .password-modal {
    width: 95%;
  }

  .modal-header {
    padding: 20px;
  }

  .modal-content {
    padding: 20px;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-title {
    font-size: 1.3rem;
  }
}






/* Futuristic Navigation Styles */
.futuristic-header {
  background: linear-gradient(135deg, var(--bg-sidebar) 0%, rgba(17, 24, 39, 0.95) 100%);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;

}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  z-index: 1001;
  border-bottom: 1px solid white;
  padding: 5px 10px;
  border-radius: 20px;
}

.logo img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 3px;
}

.logo span {
  color: var(--accent);
  font-size: 1.5rem;
  filter: drop-shadow(0 0 10px var(--accent));
  transition: var(--transition);
}

.logo:hover i {
  transform: rotate(180deg);
  filter: drop-shadow(0 0 15px var(--accent));
}

/* Navigation Wrapper */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  justify-content: space-between;

}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::before {
  width: 80%;
}

.nav-link:hover {
  color: var(--accent);
  background: rgba(0, 188, 212, 0.1);
}

.nav-link i {
  opacity: 0.7;
  transition: var(--transition);
  font-size: 0.9rem;
  width: 16px;
  text-align: center;
}

.nav-link:hover i {
  opacity: 1;
  filter: drop-shadow(0 0 8px var(--accent));
}

/* Dropdown Styles */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--text);
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
  font-size: 1rem;
}

.dropdown-toggle:hover {
  color: var(--accent);
  background: rgba(0, 188, 212, 0.1);
}

.dropdown-toggle i:first-child {
  opacity: 0.7;
  transition: var(--transition);
  font-size: 0.9rem;
  width: 16px;
  text-align: center;
}

.dropdown-toggle:hover i:first-child {
  opacity: 1;
  filter: drop-shadow(0 0 8px var(--accent));
}

.dropdown-arrow {
  transition: var(--transition);
  font-size: 0.7rem;
  margin-left: 4px;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  z-index: 1002;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.75rem 1rem;
  color: var(--text);
  text-decoration: none;
  border-radius: 6px;
  transition: var(--transition);
  font-weight: 500;
}

.dropdown-item:hover {
  background: rgba(0, 188, 212, 0.1);
  color: var(--accent);
  transform: translateX(5px);
}

.dropdown-item i {
  opacity: 0.7;
  transition: var(--transition);
  font-size: 0.8rem;
  width: 16px;
  text-align: center;
}

.dropdown-item:hover i {
  opacity: 1;
  filter: drop-shadow(0 0 8px var(--accent));
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-signin,
.btn-signup {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-family: var(--font-main);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-signin {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-signin:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
}

.btn-signup {
  background: linear-gradient(135deg, var(--accent), #0097a7);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.btn-signup:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 188, 212, 0.5);
}

.btn-signup::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition);
}

.btn-signup:hover::before {
  left: 100%;
}

.btn-signin i,
.btn-signup i {
  opacity: 0.8;
  transition: var(--transition);
  font-size: 0.9rem;
}

.btn-signin:hover i,
.btn-signup:hover i {
  opacity: 1;
  filter: drop-shadow(0 0 8px currentColor);
}

/* Mobile Toggle Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 4px;
  z-index: 1001;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Responsive */
@media (max-width: 980px) {
  .header-container {
    padding: 0 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-wrapper {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-sidebar);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem 0;
    transform: translateX(-100%);
    transition: var(--transition);
    border-top: 1px solid var(--border);
    overflow-y: auto;
    display: none;
  }

  .nav-wrapper.active {
    transform: translateX(0);
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-link,
  .dropdown-toggle {
    width: 100%;
    justify-content: flex-start;
    padding: 1rem 1.5rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    width: 100%;
    display: none;
    padding: 0;
  }

  .nav-dropdown:hover .dropdown-menu {
    display: block;
  }

  .dropdown-item {
    padding: 1rem 3rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }

  .dropdown-item:hover {
    transform: none;
    background: rgba(0, 188, 212, 0.1);
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    margin-top: 2rem;
    padding: 0 1.5rem;
  }

  .btn-signin,
  .btn-signup {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Ensure dropdowns are hidden by default on mobile */
  .dropdown-menu {
    display: none !important;
  }

  /* Show dropdown when active */
  .dropdown-menu[style*="display: block"] {
    display: block !important;
  }
}

/* Tablet adjustments */
@media (max-width: 1200px) and (min-width: 969px) {
  .main-nav {
    gap: 1rem;
  }

  .nav-wrapper {
    gap: 1.5rem;
  }

  .nav-link,
  .dropdown-toggle {
    padding: 0.75rem 0.8rem;
    font-size: 0.9rem;
  }

  .btn-signin,
  .btn-signup {
    padding: 0.75rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .logo span {
    font-size: 1.25rem;
  }

  .header-container {
    height: 60px;
  }

  .nav-wrapper {
    top: 60px;
    height: calc(100vh - 60px);
  }

  .logo i {
    font-size: 1.5rem;
  }
}

/* Large desktop screens */
@media (min-width: 1401px) {
  .header-container {
    max-width: 1600px;
  }
}



.container {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background: var(--bg-sidebar);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-right: 1px solid var(--border);
}

.market-tabs {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
}

.market-tabs button {
  flex: 1;
  border: none;
  background: none;
  color: var(--muted);
  font-weight: 600;
  padding: 10px 0;
  cursor: pointer;
  transition: var(--transition);
}

.market-tabs button.active {
  background: var(--accent);
  color: #fff;
}

.pairs-list {
  flex: 1;
  overflow-y: auto;
}

.pairs-list button {
  width: 100%;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 15px;
  color: var(--text);
  margin-bottom: 8px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pairs-list button span {
  color: var(--accent);
  font-weight: 600;
}

.pairs-list button.active,
.pairs-list button:hover {
  background: var(--accent);
  color: #fff;
}

.pairs-list button.active>span,
.pairs-list button:hover>span {
  color: #fff;
}

/* Main */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  padding: 15px 25px;
  border-bottom: 1px solid var(--border);
}

.timeframes {
  display: flex;
  justify-content: center;
  gap: 10px;
  background: var(--bg-sidebar);
  padding: 10px;
}

.timeframes button {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 600;
  padding: 8px 15px;
  cursor: pointer;
  transition: var(--transition);
}

.timeframes button.active,
.timeframes button:hover {
  background: var(--accent);
  color: #fff;
}

.chart-container {
  background: var(--bg-card);
  padding: 10px;
  border-bottom: 1px solid var(--border);
  position: relative;


}

.chart-container span {
  background: url(../pics/logo.png);
  height: 50px;
  width: 50px;
  position: absolute;
  left: 10px;
  bottom: 46px;
  border-radius: 50%;
  background-size: cover;

}





#chartLoading {
  color: var(--muted);
  text-align: center;
  padding: 10px 0;
}

#tradingview-widget {
  width: 100%;
  height: 400px;
}

/* Trade Controls */
.trade-controls {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  background: var(--bg-sidebar);
  padding: 20px;
  gap: 15px;
  border-top: 1px solid var(--border);
}

.trade-buttons {
  display: flex;
  gap: 15px;
  width: 100%;
  justify-content: center;
}

.trade-buttons button {
  flex: 1;
  padding: 12px 0;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
}

.buy {
  background: var(--green);
}

.sell {
  background: var(--red);
}

.trade-buttons button:hover {
  opacity: 0.9;
}

.trade-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trade-options label {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: 14px;
}

.trade-options input,
.trade-options select {
  margin-top: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 10px;
  color: var(--text);
  width: 140px;
}

.trade-options input:focus,
.trade-options select:focus {
  border-color: var(--accent);
  outline: none;
}

/* ===== Proper Trade Table Styling ===== */
.trades-section {
  background: var(--bg-card);
  padding: 25px;
  border-top: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}

.trades-section #openTradesTable a {
  display: none;
}

.trades-section a {
  color: #fff;
  font-weight: 600;
}

.trade-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.trade-tabs button {
  padding: 8px 15px;
  border: none;
  border-radius: var(--radius);
  background: var(--bg-sidebar);
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.trade-tabs button.active {
  background: var(--accent);
  color: #fff;
}

.trades-section table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  font-size: 14px;
  color: var(--text);
}

.trades-section table thead {
  background: rgba(255, 255, 255, 0.05);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.trades-section table th {
  padding: 10px;
  color: var(--muted);
  text-align: center;
  font-weight: 600;
}

.trades-section table tbody tr {
  background: var(--bg-sidebar);
  transition: var(--transition);
  border-radius: var(--radius);
}

.trades-section table tbody tr:hover {
  background: rgba(255, 255, 255, 0.07);
}

.trades-section table td {
  padding: 12px 10px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trades-section table tbody tr td:first-child {
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
}

.trades-section table tbody tr td:last-child {
  border-top-right-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

/* Profit/Loss colors */
.pl {
  font-weight: 700;
}

.pl.positive {
  color: var(--green);
}

.pl.negative {
  color: var(--red);
}

/* Status cell */
.status {
  font-weight: 600;
  color: var(--muted);
}

/* ===== Loader Overlay ===== */
#loaderOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 17, 23, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  border: 4px solid #333;
  border-top: 4px solid var(--accent);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== Row Fade Out Animation ===== */
@keyframes fadeOutRow {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-10px);
    height: 0;
  }
}

.fade-out {
  animation: fadeOutRow 0.5s ease forwards;
}

/* Responsive */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: column;
    overflow-x: auto;
    height: fit-content;
    padding: 10px;
  }

  .pairs-list {
    display: flex;
    flex-wrap: nowrap;
  }

  .pairs-list button {
    flex: 0 0 auto;
    margin-right: 8px;
    width: 120px;
  }

  #tradingview-widget {
    height: 400px;
  }

  .trade-buttons {
    flex-direction: column;
  }

  .trade-options {
    flex-direction: column;
    width: 100%;
  }

  .trade-options input,
  .trade-options select {
    width: 100%;
  }
}



/* MARKETS PAGE */
/* QuantumTrade Forex Styles - Unique Class Names */
.qt-forex-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  min-height: calc(100vh - 70px);
}

.qt-forex-header {
  text-align: center;
  margin-bottom: 3rem;
}

.qt-forex-header h1 {
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.qt-forex-header h1 i {
  color: var(--accent);
  filter: drop-shadow(0 0 10px var(--accent));
}

.qt-forex-header p {
  color: var(--muted);
  font-size: 1.1rem;
}

/* Forex Stats */
.qt-forex-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.qt-forex-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.qt-forex-stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 188, 212, 0.2);
}

.qt-forex-stat-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent), #0097a7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qt-forex-stat-icon i {
  color: white;
  font-size: 1.2rem;
}

.qt-forex-stat-info {
  display: flex;
  flex-direction: column;
}

.qt-forex-stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}

.qt-forex-stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Forex Tabs */
.qt-forex-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: var(--bg-card);
  padding: 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.qt-forex-tab {
  padding: 0.75rem 1.5rem;
  border: none;
  background: transparent;
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  flex: 1;
}

.qt-forex-tab.qt-forex-tab-active {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

.qt-forex-tab:hover:not(.qt-forex-tab-active) {
  background: rgba(255, 255, 255, 0.05);
}

/* Forex Table */
.qt-forex-table-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(10px);
  margin-bottom: 2rem;
}

.qt-forex-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 188, 212, 0.05);
}

.qt-forex-table-header h2 {
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.qt-forex-table-header h2 i {
  color: var(--accent);
}

.qt-forex-last-updated {
  color: var(--muted);
  font-size: 0.9rem;
}

#qtForexUpdateTime {
  color: var(--accent);
  font-weight: 600;
}

.qt-forex-table-wrapper {
  overflow-x: auto;
}

.qt-forex-table {
  width: 100%;
  border-collapse: collapse;
}

.qt-forex-table th {
  background: rgba(17, 24, 39, 0.8);
  color: var(--text);
  font-weight: 600;
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.qt-forex-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: var(--transition);
}

.qt-forex-table tbody tr {
  transition: var(--transition);
}

.qt-forex-table tbody tr:hover {
  background: rgba(0, 188, 212, 0.05);
}

.qt-forex-table tbody tr:last-child td {
  border-bottom: none;
}

/* Pair Cell */
.qt-forex-pair-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.qt-forex-pair-flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: white;
}

/* Price and Change Styles */
.qt-forex-price-cell {
  font-weight: 600;
  font-family: 'Courier New', monospace;
}

.qt-forex-change-positive {
  color: var(--green);
  font-weight: 600;
}

.qt-forex-change-negative {
  color: var(--red);
  font-weight: 600;
}

.qt-forex-change-neutral {
  color: var(--muted);
  font-weight: 600;
}

.qt-forex-high-low-cell {
  font-family: 'Courier New', monospace;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Action Buttons */
.qt-forex-view-chart-btn {
  background: linear-gradient(135deg, var(--accent), #0097a7);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.qt-forex-view-chart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
}

.qt-forex-view-chart-btn i {
  font-size: 0.7rem;
}

/* Forex Info */
.qt-forex-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.qt-forex-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.qt-forex-info-card h3 {
  color: var(--text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
}

.qt-forex-info-card h3 i {
  color: var(--accent);
}

.qt-forex-sessions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.qt-forex-session {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.qt-forex-session-name {
  font-weight: 600;
  min-width: 80px;
}

.qt-forex-session-time {
  color: var(--muted);
  font-size: 0.9rem;
}

.qt-forex-session-status {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.qt-forex-status-open {
  background: rgba(34, 197, 94, 0.2);
  color: var(--green);
}

.qt-forex-status-closed {
  background: rgba(239, 68, 68, 0.2);
  color: var(--red);
}

.qt-forex-market-overview {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.qt-forex-market-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.qt-forex-market-item:last-child {
  border-bottom: none;
}

.qt-forex-market-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.qt-forex-market-value {
  font-weight: 600;
  color: var(--text);
}

/* Responsive Design */
@media (max-width: 968px) {
  .qt-forex-container {
    padding: 1rem;
  }

  .qt-forex-header h1 {
    font-size: 2rem;
  }

  .qt-forex-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .qt-forex-table-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .qt-forex-table th,
  .qt-forex-table td {
    padding: 0.75rem 1rem;
  }

  .qt-forex-tabs {
    flex-wrap: wrap;
  }

  .qt-forex-tab {
    flex: 1 0 calc(50% - 0.5rem);
  }
}

@media (max-width: 768px) {
  .qt-forex-table {
    font-size: 0.9rem;
  }

  .qt-forex-table th:nth-child(4),
  .qt-forex-table td:nth-child(4),
  .qt-forex-table th:nth-child(5),
  .qt-forex-table td:nth-child(5) {
    display: none;
  }

  .qt-forex-stats {
    grid-template-columns: 1fr;
  }

  .qt-forex-info {
    grid-template-columns: 1fr;
  }
}

/* Price Animation */
@keyframes qt-forex-price-update {
  0% {
    background-color: transparent;
  }

  50% {
    background-color: rgba(34, 197, 94, 0.2);
  }

  100% {
    background-color: transparent;
  }
}

.qt-forex-price-update {
  animation: qt-forex-price-update 1s ease-in-out;
}





/* CRYPTO PAGE */
/* QuantumTrade Crypto Styles - Unique Class Names */
.qt-crypto-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  min-height: calc(100vh - 70px);
}

.qt-crypto-header {
  text-align: center;
  margin-bottom: 3rem;
}

.qt-crypto-header h1 {
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.qt-crypto-header h1 i {
  color: #f7931a;
  filter: drop-shadow(0 0 10px #f7931a);
}

.qt-crypto-header p {
  color: var(--muted);
  font-size: 1.1rem;
}

/* Crypto Stats */
.qt-crypto-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.qt-crypto-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.qt-crypto-stat-card:hover {
  transform: translateY(-5px);
  border-color: #f7931a;
  box-shadow: 0 10px 30px rgba(247, 147, 26, 0.2);
}

.qt-crypto-stat-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f7931a, #ffb347);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qt-crypto-stat-icon i {
  color: white;
  font-size: 1.2rem;
}

.qt-crypto-stat-info {
  display: flex;
  flex-direction: column;
}

.qt-crypto-stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}

.qt-crypto-stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Crypto Controls */
.qt-crypto-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.qt-crypto-search {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.qt-crypto-search i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.qt-crypto-search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9rem;
}

.qt-crypto-search input:focus {
  outline: none;
  border-color: var(--accent);
}

.qt-crypto-filters select {
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9rem;
  min-width: 150px;
}

/* Crypto Table */
.qt-crypto-table-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(10px);
  margin-bottom: 2rem;
}

.qt-crypto-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(247, 147, 26, 0.05);
}

.qt-crypto-table-header h2 {
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.qt-crypto-table-header h2 i {
  color: #f7931a;
}

.qt-crypto-last-updated {
  color: var(--muted);
  font-size: 0.9rem;
}

#qtCryptoUpdateTime {
  color: #f7931a;
  font-weight: 600;
}

.qt-crypto-table-wrapper {
  overflow-x: auto;
}

.qt-crypto-table {
  width: 100%;
  border-collapse: collapse;
}

.qt-crypto-table th {
  background: rgba(17, 24, 39, 0.8);
  color: var(--text);
  font-weight: 600;
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.qt-crypto-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: var(--transition);
}

.qt-crypto-table tbody tr {
  transition: var(--transition);
}

.qt-crypto-table tbody tr:hover {
  background: rgba(247, 147, 26, 0.05);
}

.qt-crypto-table tbody tr:last-child td {
  border-bottom: none;
}

/* Crypto Cell */
.qt-crypto-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qt-crypto-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.qt-crypto-icon-btc {
  background: #f7931a;
  color: white;
}

.qt-crypto-icon-eth {
  background: #627eea;
  color: white;
}

.qt-crypto-icon-bnb {
  background: #f3ba2f;
  color: white;
}

.qt-crypto-icon-sol {
  background: #00ffbd;
  color: black;
}

.qt-crypto-icon-xrp {
  background: #23292f;
  color: white;
}

.qt-crypto-icon-ada {
  background: #0033ad;
  color: white;
}

.qt-crypto-icon-avax {
  background: #e84142;
  color: white;
}

.qt-crypto-icon-dot {
  background: #e6007a;
  color: white;
}

.qt-crypto-icon-doge {
  background: #c2a633;
  color: white;
}

.qt-crypto-icon-matic {
  background: #8247e5;
  color: white;
}

.qt-crypto-icon-ltc {
  background: #bfbbbb;
  color: white;
}

.qt-crypto-icon-link {
  background: #2a5ada;
  color: white;
}

.qt-crypto-icon-atom {
  background: #2e3148;
  color: white;
}

.qt-crypto-icon-xlm {
  background: #14b6e7;
  color: white;
}

.qt-crypto-icon-bch {
  background: #8dc351;
  color: white;
}

.qt-crypto-icon-algo {
  background: #000000;
  color: white;
}

.qt-crypto-icon-xmr {
  background: #ff6600;
  color: white;
}

.qt-crypto-icon-etc {
  background: #339900;
  color: white;
}

.qt-crypto-icon-fil {
  background: #0090ff;
  color: white;
}

.qt-crypto-icon-eos {
  background: #000000;
  color: white;
}

.qt-crypto-icon-default {
  background: var(--accent);
  color: white;
}

.qt-crypto-info {
  display: flex;
  flex-direction: column;
}

.qt-crypto-symbol {
  font-weight: 600;
  font-size: 0.95rem;
}

.qt-crypto-name {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Price and Change Styles */
.qt-crypto-price-cell {
  font-weight: 600;
  font-family: 'Courier New', monospace;
}

.qt-crypto-change-positive {
  color: var(--green);
  font-weight: 600;
}

.qt-crypto-change-negative {
  color: var(--red);
  font-weight: 600;
}

.qt-crypto-volume-cell,
.qt-crypto-market-cap-cell {
  font-family: 'Courier New', monospace;
  font-weight: 600;
}

/* Action Buttons */
.qt-crypto-view-chart-btn {
  background: linear-gradient(135deg, #f7931a, #ffb347);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.qt-crypto-view-chart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(247, 147, 26, 0.4);
}

.qt-crypto-view-chart-btn i {
  font-size: 0.7rem;
}

/* Crypto Info */
.qt-crypto-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.qt-crypto-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.qt-crypto-info-card h3 {
  color: var(--text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
}

.qt-crypto-info-card h3 i {
  color: #f7931a;
}

.qt-crypto-gainers {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.qt-crypto-gainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.qt-crypto-gainer-symbol {
  font-weight: 600;
}

.qt-crypto-gainer-change {
  font-weight: 600;
  color: var(--green);
}

.qt-crypto-sentiment {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.qt-crypto-sentiment-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.qt-crypto-sentiment-item:last-child {
  border-bottom: none;
}

.qt-crypto-sentiment-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.qt-crypto-sentiment-value {
  font-weight: 600;
}

.qt-crypto-greed {
  color: var(--green);
}

.qt-crypto-fear {
  color: var(--red);
}

.qt-crypto-tips {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.qt-crypto-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.qt-crypto-tip i {
  color: #f7931a;
  margin-top: 0.1rem;
}

.qt-crypto-tip span {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 968px) {
  .qt-crypto-container {
    padding: 1rem;
  }

  .qt-crypto-header h1 {
    font-size: 2rem;
  }

  .qt-crypto-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .qt-crypto-table-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .qt-crypto-table th,
  .qt-crypto-table td {
    padding: 0.75rem 1rem;
  }

  .qt-crypto-controls {
    flex-direction: column;
  }

  .qt-crypto-search {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  .qt-crypto-table {
    font-size: 0.9rem;
  }

  .qt-crypto-table th:nth-child(4),
  .qt-crypto-table td:nth-child(4),
  .qt-crypto-table th:nth-child(5),
  .qt-crypto-table td:nth-child(5) {
    display: none;
  }

  .qt-crypto-stats {
    grid-template-columns: 1fr;
  }

  .qt-crypto-info {
    grid-template-columns: 1fr;
  }
}

/* Price Animation */
@keyframes qt-crypto-price-update {
  0% {
    background-color: transparent;
  }

  50% {
    background-color: rgba(34, 197, 94, 0.2);
  }

  100% {
    background-color: transparent;
  }
}

.qt-crypto-price-update {
  animation: qt-crypto-price-update 1s ease-in-out;
}







/* QuantumTrade Chart Styles - Unique Class Names */
.qtc-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
}

.qtc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 20px;
}

.qtc-back-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  text-decoration: none;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  background: var(--bg-card);
  font-weight: 600;
}

.qtc-back-btn:hover {
  background: rgba(0, 188, 212, 0.1);
  border-color: var(--accent);
  transform: translateX(-5px);
}

.qtc-pair-info {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.qtc-pair-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text);
}

.qtc-pair-price {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  margin-bottom: 5px;
}

.qtc-pair-change {
  font-size: 1rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
}

.qtc-change-up {
  background: rgba(34, 197, 94, 0.2);
  color: var(--green);
}

.qtc-change-down {
  background: rgba(239, 68, 68, 0.2);
  color: var(--red);
}

.qtc-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.qtc-timeframe-controls {
  display: flex;
  gap: 5px;
  background: var(--bg-card);
  padding: 5px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.qtc-timeframe-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
  font-weight: 600;
}

.qtc-timeframe-btn.qtc-active {
  background: var(--accent);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 188, 212, 0.3);
}

.qtc-timeframe-btn:hover:not(.qtc-active) {
  background: rgba(255, 255, 255, 0.05);
}

.qtc-chart-tools {
  display: flex;
  gap: 8px;
}

.qtc-tool-btn {
  padding: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.qtc-tool-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.qtc-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 25px;
  margin-bottom: 25px;
}

.qtc-main-chart {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.qtc-chart-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

#qtcChart {
  width: 100%;
  height: 600px;
  position: relative;
}

.qtc-loader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(13, 17, 23, 0.9);
  backdrop-filter: blur(10px);
  z-index: 10;
  color: var(--muted);
}

.qtc-loader-ring {
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-left-color: var(--accent);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  animation: qtc-spin 1s linear infinite;
  margin-bottom: 15px;
}

@keyframes qtc-spin {
  100% {
    transform: rotate(360deg);
  }
}

.qtc-chart-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.85rem;
}

.qtc-time-display {
  font-family: 'Courier New', monospace;
  color: var(--muted);
}

.qtc-crosshair-info {
  font-family: 'Courier New', monospace;
  color: var(--muted);
}

.qtc-technical-indicators {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.qtc-technical-indicators h3 {
  margin-bottom: 15px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.qtc-indicators-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.qtc-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.qtc-indicator:last-child {
  border-bottom: none;
}

.qtc-indicator-label {
  color: var(--muted);
  font-size: 0.85rem;
}

.qtc-indicator-value {
  font-weight: 600;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.qtc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.qtc-market-stats,
.qtc-trading-hours,
.qtc-related-pairs,
.qtc-news-feed {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.qtc-market-stats h3,
.qtc-trading-hours h3,
.qtc-related-pairs h3,
.qtc-news-feed h3 {
  margin-bottom: 15px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.qtc-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.qtc-stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  transition: var(--transition);
}

.qtc-stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.qtc-stat-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.qtc-stat-info {
  display: flex;
  flex-direction: column;
}

.qtc-stat-value {
  font-weight: 700;
  font-size: 1.1rem;
  font-family: 'Courier New', monospace;
}

.qtc-stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
}

.qtc-session-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-weight: 600;
}

.qtc-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.qtc-status-open {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.qtc-status-closed {
  background: var(--red);
}

.qtc-session-times {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.qtc-pairs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qtc-related-pair {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text);
}

.qtc-related-pair:hover {
  background: rgba(0, 188, 212, 0.1);
  transform: translateX(5px);
}

.qtc-related-pair-name {
  font-weight: 600;
}

.qtc-related-pair-change {
  font-size: 0.85rem;
  font-weight: 600;
}

.qtc-news-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qtc-news-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.qtc-news-item:last-child {
  border-bottom: none;
}

.qtc-news-time {
  font-size: 0.75rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: 4px;
}

.qtc-news-text {
  font-size: 0.85rem;
  flex: 1;
  margin-left: 10px;
}

.qtc-price-history {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.qtc-price-history h3 {
  margin-bottom: 15px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.qtc-history-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.qtc-history-period {
  text-align: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  transition: var(--transition);
}

.qtc-history-period:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.qtc-period-label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.qtc-period-change {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .qtc-content {
    grid-template-columns: 1fr;
  }

  .qtc-history-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile and Tablet screens - FORCE 500px height */
@media (max-width: 1024px) {
  .qtc-container {
    padding: 15px;
  }

  .qtc-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .qtc-controls {
    width: 100%;
    justify-content: center;
  }

  .qtc-timeframe-controls {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* FORCE chart height to 500px on tablets and smaller */
  #qtcChart {
    height: 500px !important;
    min-height: 500px !important;
    max-height: 500px !important;
  }

  .qtc-chart-wrapper {
    height: auto !important;
  }

  .qtc-indicators-grid {
    grid-template-columns: 1fr;
  }

  .qtc-stats-grid {
    grid-template-columns: 1fr;
  }

  .qtc-history-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  /* Ensure 500px height on mobile */
  #qtcChart {
    height: 500px !important;
    min-height: 500px !important;
    max-height: 500px !important;
  }
}

@media (max-width: 480px) {

  /* Maintain 500px height on very small screens */
  #qtcChart {
    height: 500px !important;
    min-height: 500px !important;
    max-height: 500px !important;
  }

  .qtc-timeframe-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .qtc-pair-name {
    font-size: 1.2rem;
  }

  .qtc-pair-price {
    font-size: 1.5rem;
  }

  .qtc-technical-indicators,
  .qtc-market-stats,
  .qtc-trading-hours,
  .qtc-related-pairs,
  .qtc-news-feed {
    padding: 15px;
  }
}







/* QuantumTrade Chart Styles - Unique Class Names */
/* QuantumTrade Dashboard Styles */
.qtd-body {
  margin: 0;
  padding: 0;
  background: var(--bg-primary);
  color: var(--text);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.qtd-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
}

.qtd-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qtd-menu-toggle {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.qtd-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.qtd-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.qtd-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qtd-header-btn {
  background: none;
  border: none;
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  position: relative;
  font-size: 20px;
}

.qtd-header-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.qtd-notification-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--red);
  border-radius: 50%;
  padding: 3px;
  font-size: 10px;
}

.qtd-user-dropdown {
  position: relative;
}

.qtd-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 1001;
}

.qtd-dropdown-menu.show {
  display: block;
}

.qtd-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--text);
  text-decoration: none;
  border-radius: 6px;
  transition: var(--transition);
}

.qtd-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.qtd-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0;
}

.qtd-logout {
  color: var(--text);
  width: 100%;
  border: none;
  background: var(--red);
}

/* Sidebar */
.qtd-sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  width: 280px;
  height: calc(100vh - 120px);
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 999;
  overflow-y: auto;
}

.qtd-sidebar.show {
  transform: translateX(0);
}

.qtd-sidebar-nav {
  padding: 1.5rem 0;
}

.qtd-nav-section {
  margin-bottom: 2rem;
}

.qtd-nav-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.qtd-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.qtd-nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.qtd-nav-link.qtd-nav-active {
  background: rgba(0, 188, 212, 0.1);
  color: var(--accent);
  border-right: 3px solid var(--accent);
}

.qtd-nav-link i {
  width: 20px;
  text-align: center;
}

.qtd-nav-badge {
  margin-left: auto;
  background: var(--accent);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Main Content */
.qtd-main {
  margin-top: 60px;
  margin-bottom: 70px;
  padding: 1.5rem;
  flex: 1;
  transition: margin-left 0.3s ease;
}

.qtd-main.sidebar-open {
  margin-left: 280px;
}

/* Welcome Section */
.qtd-welcome-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.qtd-welcome-text h1 {
  margin: 0;
  font-size: 1.8rem;
  color: var(--text);
}

.qtd-welcome-text p {
  margin: 0.5rem 0 0 0;
  color: var(--muted);
}

.qtd-date-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  background: var(--bg-card);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Stats Grid */
.qtd-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.qtd-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  position: relative;
}

.qtd-stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 188, 212, 0.2);
}

.qtd-stat-main {
  display: flex;
  flex-direction: column;
}

.qtd-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  font-family: 'Courier New', monospace;
  margin-bottom: 0.25rem;
}

.qtd-stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.qtd-stat-trend {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  position: absolute;
  right: 5px;
  bottom: 25%;
}

.qtd-trend-up {
  background: rgba(34, 197, 94, 0.2);
  color: var(--green);
}

.qtd-trend-down {
  background: rgba(239, 68, 68, 0.2);
  color: var(--red);
}

.qtd-trend-neutral {
  background: rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

/* Content Grid */
.qtd-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Cards */
.qtd-chart-card,
.qtd-referral-card,
.qtd-transaction-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.qtd-chart-card span{
  position: absolute;
  background: #00000000;
  height: 100px;
  width: 100px;
  left: 0;
  bottom: 0;
}

.qtd-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.qtd-card-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.qtd-view-all {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Pie Chart */
.qtd-pie-chart {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.qtd-pie-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qtd-pie-chart-wrapper {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: relative;
  background: conic-gradient(var(--accent) 0% 40%,
      var(--green) 40% 85%,
      var(--red) 85% 100%);
}

.qtd-pie-slice {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 50% 100%);
}

.qtd-pie-center {
  position: absolute;
  width: 60%;
  height: 60%;
  background: var(--bg-card);
  border-radius: 50%;
  top: 20%;
  left: 20%;
  z-index: 2;
}

/* Pie Chart Legend */
.qtd-pie-legend {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.qtd-pie-legend-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  transition: var(--transition);
}

.qtd-pie-legend-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
}

.qtd-pie-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
}

.qtd-deposit-color {
  background: var(--accent);
}

.qtd-profit-color {
  background: var(--green);
}

.qtd-loss-color {
  background: var(--red);
}

.qtd-pie-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.qtd-pie-label {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.qtd-pie-value {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.qtd-pie-percent {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

/* Referral Section */
.qtd-referral-content {
  padding: 1.5rem;
}

.qtd-referral-text {
  text-align: center;
  margin-bottom: 1.5rem;
}

.qtd-referral-text p {
  margin: 0;
  color: var(--muted);
}

.qtd-referral-link label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
}

.qtd-link-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.qtd-link-text {
  flex: 1;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
  word-break: break-all;
}

.qtd-copy-btn {
  padding: 0.5rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.qtd-copy-btn:hover {
  background: #0097a7;
  transform: translateY(-1px);
}

.qtd-copy-btn.copied {
  background: var(--green);
}

.qtd-copy-feedback {
  font-size: 0.8rem;
  color: var(--green);
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.qtd-copy-feedback.show {
  opacity: 1;
}

.qtd-referral-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.qtd-ref-stat {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
}

.qtd-ref-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.qtd-ref-label {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Transaction History */
.qtd-transaction-list {
  padding: 0 1.5rem 1.5rem;
}

.qtd-transaction-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.qtd-transaction-item:last-child {
  border-bottom: none;
}

.qtd-transaction-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qtd-transaction-profit .qtd-transaction-icon {
  background: rgba(34, 197, 94, 0.2);
  color: var(--green);
}

.qtd-transaction-loss .qtd-transaction-icon {
  background: rgba(239, 68, 68, 0.2);
  color: var(--red);
}

.qtd-transaction-deposit .qtd-transaction-icon {
  background: rgba(0, 188, 212, 0.2);
  color: var(--accent);
}

.qtd-transaction-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.qtd-transaction-type {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.qtd-transaction-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.qtd-transaction-time {
  font-size: 0.75rem;
  color: var(--muted);
}

.qtd-transaction-amount {
  font-weight: 700;
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
}

.qtd-amount-profit {
  color: var(--green);
}

.qtd-amount-loss {
  color: var(--red);
}

.qtd-amount-deposit {
  color: var(--accent);
}

/* Bottom Navigation */
.qtd-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  padding: 0.5rem;
  z-index: 1000;
}

.qtd-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--radius);
  transition: var(--transition);
  flex: 1;
  max-width: 80px;
}

.qtd-bottom-nav-item:hover,
.qtd-bottom-nav-item.qtd-nav-active {
  color: var(--accent);
  background: rgba(0, 188, 212, 0.1);
}

.qtd-bottom-nav-item i {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.qtd-bottom-nav-item span {
  font-size: 0.7rem;
  font-weight: 600;
}

/* Overlay */
.qtd-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  display: none;
}

.qtd-overlay.show {
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .qtd-content-grid {
    grid-template-columns: 1fr;
  }

  .qtd-sidebar {
    transform: translateX(-100%);
  }

  .qtd-sidebar.show {
    transform: translateX(0);
  }

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

/* Desktop - Sidebar always visible */
@media (min-width: 1025px) {
  .qtd-sidebar {
    transform: translateX(0);
  }

  .qtd-main {
    margin-left: 280px;
  }

  .qtd-menu-toggle {
    display: none;
  }

  .qtd-overlay {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .qtd-main {
    padding: 1rem;
  }

  .qtd-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .qtd-welcome-section {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .qtd-header {
    padding: 1rem;
  }

  .qtd-user-name {
    display: none;
  }

  .qtd-pie-chart {
    flex-direction: column;
    gap: 1.5rem;
  }

  .qtd-pie-chart-wrapper {
    width: 150px;
    height: 150px;
  }

  .qtd-referral-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .qtd-stats-grid {
    grid-template-columns: 1fr;
  }

  .qtd-bottom-nav-item span {
    font-size: 0.65rem;
  }

  .qtd-card-header {
    padding: 1rem;
  }

  .qtd-pie-chart,
  .qtd-referral-content,
  .qtd-transaction-list {
    padding: 1rem;
  }

  .qtd-transaction-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
  }

  .qtd-transaction-amount {
    align-self: flex-end;
    margin-top: -2.5rem;
  }

  .qtd-link-container {
    flex-direction: column;
    align-items: stretch;
  }

  .qtd-copy-btn {
    align-self: flex-end;
    margin-top: 0.5rem;
  }
}

/* Animation for loader */
@keyframes qtd-spin {
  100% {
    transform: rotate(360deg);
  }
}







/* QuantumTrade Deposit Styles */
.qtd-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.qtd-page-title h1 {
  margin: 0;
  font-size: 1.8rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qtd-page-title h1 i {
  color: var(--accent);
}

.qtd-page-title p {
  margin: 0.5rem 0 0 0;
  color: var(--muted);
}

.qtd-balance-display {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  text-align: center;
}

.qtd-balance-label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.qtd-balance-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  font-family: 'Courier New', monospace;
}

/* Deposit Methods */
.qtd-deposit-methods {
  margin-bottom: 2rem;
}

.qtd-method-section {
  margin-bottom: 2.5rem;
}

.qtd-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}

.qtd-section-header i {
  font-size: 1.5rem;
  color: var(--accent);
}

.qtd-section-header h2 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--text);
}

.qtd-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.qtd-method-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
  position: relative;
}

.qtd-method-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 188, 212, 0.2);
}

.qtd-method-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--accent), #0097a7);
  color: white;
  flex-shrink: 0;
}

.qtd-crypto-icon {
  background: linear-gradient(135deg, var(--purple), #8b5cf6);
}

.qtd-method-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.qtd-method-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.qtd-method-desc {
  font-size: 0.85rem;
  color: var(--muted);
}

.qtd-method-arrow {
  color: var(--muted);
  font-size: 1rem;
  transition: var(--transition);
}

.qtd-method-card:hover .qtd-method-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* Specific Crypto Icons */
.qtd-method-card:nth-child(1) .qtd-method-icon {
  /* Bitcoin */
  background: linear-gradient(135deg, #f7931a, #ff9900);
}

.qtd-method-card:nth-child(2) .qtd-method-icon {
  /* Ethereum */
  background: linear-gradient(135deg, #627eea, #8296f4);
}

.qtd-method-card:nth-child(3) .qtd-method-icon {
  /* Tron */
  background: linear-gradient(135deg, #ff060a, #ff4145);
}

.qtd-method-card:nth-child(4) .qtd-method-icon,
/* USDT ERC20 */
.qtd-method-card:nth-child(5) .qtd-method-icon {
  /* USDT TRC20 */
  background: linear-gradient(135deg, #26a17b, #2ccb9a);
}

.qtd-method-card:nth-child(6) .qtd-method-icon {
  /* Solana */
  background: linear-gradient(135deg, #00ffbd, #14f195);
  color: #000;
}

.qtd-method-card:nth-child(7) .qtd-method-icon {
  /* Litecoin */
  background: linear-gradient(135deg, #bfbbbb, #d9d9d9);
  color: #345d9d;
}

.qtd-method-card:nth-child(8) .qtd-method-icon,
/* USDC ERC20 */
.qtd-method-card:nth-child(9) .qtd-method-icon {
  /* USDC BEP20 */
  background: linear-gradient(135deg, #2775ca, #3d8ae5);
}

/* Deposit Info */
.qtd-deposit-info {
  margin-bottom: 2rem;
}

.qtd-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.qtd-info-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 188, 212, 0.05);
}

.qtd-info-header i {
  font-size: 1.5rem;
  color: var(--accent);
}

.qtd-info-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text);
}

.qtd-info-content {
  padding: 1.5rem;
}

.qtd-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.qtd-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.qtd-info-item:first-child {
  padding-top: 0;
}

.qtd-info-item i {
  font-size: 1.2rem;
  color: var(--accent);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.qtd-info-item strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.qtd-info-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .qtd-method-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .qtd-page-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .qtd-balance-display {
    align-self: stretch;
    text-align: left;
  }

  .qtd-method-grid {
    grid-template-columns: 1fr;
  }

  .qtd-method-card {
    padding: 1.25rem;
  }

  .qtd-method-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .qtd-page-title h1 {
    font-size: 1.5rem;
  }

  .qtd-section-header h2 {
    font-size: 1.2rem;
  }

  .qtd-method-card {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .qtd-method-info {
    align-items: center;
  }

  .qtd-info-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .qtd-info-item i {
    margin-top: 0;
  }
}

/* Animation for method cards */
@keyframes qtd-method-appear {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.qtd-method-card {
  animation: qtd-method-appear 0.5s ease-out;
}

.qtd-method-card:nth-child(1) {
  animation-delay: 0.1s;
}

.qtd-method-card:nth-child(2) {
  animation-delay: 0.2s;
}

.qtd-method-card:nth-child(3) {
  animation-delay: 0.3s;
}

.qtd-method-card:nth-child(4) {
  animation-delay: 0.4s;
}

.qtd-method-card:nth-child(5) {
  animation-delay: 0.5s;
}

.qtd-method-card:nth-child(6) {
  animation-delay: 0.6s;
}

.qtd-method-card:nth-child(7) {
  animation-delay: 0.7s;
}

.qtd-method-card:nth-child(8) {
  animation-delay: 0.8s;
}

.qtd-method-card:nth-child(9) {
  animation-delay: 0.9s;
}








/* Deposit Process Styles */
.qtd-deposit-process {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Selected Method */
.qtd-selected-method {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  grid-column: 1 / -1;
}

.qtd-method-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qtd-method-badge .qtd-method-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #f7931a, #ff9900);
  color: white;
}

.qtd-method-details {
  display: flex;
  flex-direction: column;
}

.qtd-method-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
}

.qtd-method-network {
  font-size: 0.9rem;
  color: var(--muted);
}

.qtd-change-method {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.qtd-change-method:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
}

/* Deposit Form */
.qtd-deposit-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.qtd-form-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 188, 212, 0.05);
}

.qtd-form-header h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  color: var(--text);
}

.qtd-form-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.qtd-deposit-form {
  padding: 1.5rem;
}

.qtd-form-group {
  margin-bottom: 2rem;
}

.qtd-form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}

.qtd-amount-input-container {
  position: relative;
  margin-bottom: 1rem;
}

.qtd-currency-symbol {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  z-index: 2;
}

.qtd-amount-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  font-size: 1.5rem;
  font-weight: 600;
  background: var(--bg-primary);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'Courier New', monospace;
  transition: var(--transition);
}

.qtd-amount-input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.qtd-amount-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.qtd-amount-btn {
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.qtd-amount-btn:hover {
  background: rgba(0, 188, 212, 0.1);
  border-color: var(--accent);
}

.qtd-amount-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* Conversion Info */
.qtd-conversion-info {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.qtd-conversion-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.qtd-conversion-item:last-child {
  border-bottom: none;
}

.qtd-total-amount {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green);
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 2px solid var(--border);
}

/* Wallet Section */
.qtd-wallet-section {
  margin-bottom: 2rem;
}

.qtd-wallet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.qtd-wallet-header h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qtd-copy-address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.qtd-copy-address:hover {
  background: #0097a7;
  transform: translateY(-1px);
}

.qtd-wallet-address-container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.qtd-wallet-address {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  word-break: break-all;
  color: var(--text);
}

.qtd-qr-code {
  display: flex;
  justify-content: center;
  align-items: center;
}

.qtd-qr-placeholder {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
}

.qtd-qr-placeholder i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.qtd-copy-feedback {
  font-size: 0.8rem;
  color: var(--green);
  text-align: center;
  margin-top: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.qtd-copy-feedback.show {
  opacity: 1;
}

/* Instructions */
.qtd-instructions {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.qtd-instructions h4 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qtd-instructions ul {
  margin: 0;
  padding-left: 1.5rem;
  color: var(--muted);
}

.qtd-instructions li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.qtd-instructions li:last-child {
  margin-bottom: 0;
}

.qtd-instructions strong {
  color: var(--text);
}

/* Form Actions */
.qtd-form-actions {
  display: flex;
  gap: 1rem;
}

.qtd-deposit-btn {
  flex: 1;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--green), #16a34a);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.qtd-deposit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
}

.qtd-cancel-btn {
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.qtd-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--red);
  color: var(--red);
}

/* Recent Deposits */
.qtd-recent-deposits {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.qtd-recent-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.qtd-recent-header h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qtd-recent-list {
  padding: 1rem;
}

.qtd-recent-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.qtd-recent-item:last-child {
  border-bottom: none;
}

.qtd-recent-amount {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  font-family: 'Courier New', monospace;
}

.qtd-recent-details {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.qtd-recent-btc {
  font-size: 0.9rem;
  color: var(--muted);
  font-family: 'Courier New', monospace;
}

.qtd-recent-time {
  font-size: 0.8rem;
  color: var(--muted);
}

.qtd-status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.qtd-status-badge.completed {
  background: rgba(34, 197, 94, 0.2);
  color: var(--green);
}

.qtd-status-badge.pending {
  background: rgba(245, 158, 11, 0.2);
  color: var(--yellow);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .qtd-deposit-process {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .qtd-selected-method {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .qtd-amount-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  .qtd-wallet-address-container {
    grid-template-columns: 1fr;
  }

  .qtd-form-actions {
    flex-direction: column;
  }

  .qtd-recent-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .qtd-recent-details {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .qtd-deposit-form {
    padding: 1rem;
  }

  .qtd-amount-input {
    font-size: 1.2rem;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
  }

  .qtd-currency-symbol {
    left: 0.75rem;
  }

  .qtd-conversion-info,
  .qtd-instructions {
    padding: 1rem;
  }
}








/* QuantumTrade Signals Styles */
.qtd-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.qtd-page-title h1 {
  margin: 0;
  font-size: 1.8rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qtd-page-title h1 i {
  color: var(--accent);
}

.qtd-page-title p {
  margin: 0.5rem 0 0 0;
  color: var(--muted);
}

.qtd-signals-stats {
  display: flex;
  gap: 2rem;
}

.qtd-stat-item {
  text-align: center;
}

.qtd-stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Courier New', monospace;
}

.qtd-stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* Signals Container */
.qtd-signals-container {
  margin-bottom: 2rem;
}

.qtd-signals-section {
  margin-bottom: 3rem;
}

.qtd-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}

.qtd-section-header i {
  font-size: 1.5rem;
  color: var(--accent);
}

.qtd-section-header h2 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--text);
  flex: 1;
}

.qtd-section-badge {
  background: var(--accent);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Signals Grid */
.qtd-signals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.qtd-signal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.qtd-signal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.qtd-signal-card.qtd-signal-buy {
  border-left: 4px solid var(--green);
}

.qtd-signal-card.qtd-signal-sell {
  border-left: 4px solid var(--red);
}

.qtd-signal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.qtd-pair-info {
  display: flex;
  flex-direction: column;
}

.qtd-pair-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.qtd-pair-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--muted);
  font-family: 'Courier New', monospace;
}

.qtd-signal-action {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qtd-action-buy {
  background: rgba(34, 197, 94, 0.2);
  color: var(--green);
}

.qtd-action-sell {
  background: rgba(239, 68, 68, 0.2);
  color: var(--red);
}

.qtd-signal-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.qtd-detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qtd-detail-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.qtd-detail-value {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Courier New', monospace;
}

.qtd-accuracy-high {
  color: var(--green);
}

.qtd-accuracy-medium {
  color: var(--yellow);
}

.qtd-accuracy-low {
  color: var(--red);
}

.qtd-signal-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Signals Info */
.qtd-signals-info {
  margin-bottom: 2rem;
}

.qtd-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.qtd-info-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 188, 212, 0.05);
}

.qtd-info-header i {
  font-size: 1.5rem;
  color: var(--accent);
}

.qtd-info-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text);
}

.qtd-performance-stats {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.qtd-performance-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  transition: var(--transition);
}

.qtd-performance-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.qtd-performance-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.qtd-performance-high {
  background: linear-gradient(135deg, var(--green), #16a34a);
  color: white;
}

.qtd-performance-medium {
  background: linear-gradient(135deg, var(--yellow), #d97706);
  color: white;
}

.qtd-performance-total {
  background: linear-gradient(135deg, var(--accent), #0097a7);
  color: white;
}

.qtd-performance-info {
  display: flex;
  flex-direction: column;
}

.qtd-performance-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  font-family: 'Courier New', monospace;
}

.qtd-performance-label {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .qtd-signals-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .qtd-page-header {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .qtd-signals-stats {
    width: 100%;
    justify-content: space-between;
  }

  .qtd-signals-grid {
    grid-template-columns: 1fr;
  }

  .qtd-performance-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .qtd-signal-details {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .qtd-detail-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .qtd-performance-item {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .qtd-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .qtd-section-badge {
    align-self: flex-start;
  }
}

/* Animation for signal cards */
@keyframes qtd-signal-appear {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.qtd-signal-card {
  animation: qtd-signal-appear 0.5s ease-out;
}

.qtd-signal-card:nth-child(1) {
  animation-delay: 0.1s;
}

.qtd-signal-card:nth-child(2) {
  animation-delay: 0.2s;
}

.qtd-signal-card:nth-child(3) {
  animation-delay: 0.3s;
}

.qtd-signal-card:nth-child(4) {
  animation-delay: 0.4s;
}

.qtd-signal-card:nth-child(5) {
  animation-delay: 0.5s;
}





/* TRADES HISTORY */

/* QuantumTrade History Styles */
.qtd-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.qtd-page-title h1 {
  margin: 0;
  font-size: 1.8rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qtd-page-title h1 i {
  color: var(--accent);
}

.qtd-page-title p {
  margin: 0.5rem 0 0 0;
  color: var(--muted);
}

.qtd-history-stats {
  display: flex;
  gap: 2rem;
}

.qtd-stat-item {
  text-align: center;
}

.qtd-stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Courier New', monospace;
}

.qtd-stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* Filters */
.qtd-history-filters {
  display: flex;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  flex-wrap: wrap;
}

.qtd-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-width: 150px;
}

.qtd-filter-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.qtd-filter-select {
  padding: 0.75rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9rem;
  transition: var(--transition);
}

.qtd-filter-select:focus {
  border-color: var(--accent);
  outline: none;
}

.qtd-export-btn {
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.qtd-export-btn:hover {
  background: #0097a7;
  transform: translateY(-1px);
}

/* History Table */
.qtd-history-table-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.qtd-table-responsive {
  overflow-x: auto;
}

.qtd-history-table {
  width: 100%;
  border-collapse: collapse;
}

.qtd-history-table th {
  background: rgba(0, 188, 212, 0.05);
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.qtd-history-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.qtd-history-table tbody tr:last-child td {
  border-bottom: none;
}

.qtd-history-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Trade Row Styles */
.qtd-trade-win {
  border-left: 3px solid var(--green);
}

.qtd-trade-loss {
  border-left: 3px solid var(--red);
}

.qtd-trade-open {
  border-left: 3px solid var(--yellow);
}

/* Date & Time */
.qtd-trade-date {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.qtd-trade-time {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Asset Info */
.qtd-asset-info {
  display: flex;
  flex-direction: column;
}

.qtd-asset-name {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.qtd-asset-type {
  font-size: 0.8rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  align-self: flex-start;
}

/* Trade Type */
.qtd-trade-type {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
  text-align: center;
  display: inline-block;
  min-width: 70px;
}

.qtd-type-buy {
  background: rgba(34, 197, 94, 0.2);
  color: var(--green);
}

.qtd-type-sell {
  background: rgba(239, 68, 68, 0.2);
  color: var(--red);
}

/* Amount & Price */
.qtd-trade-amount {
  font-weight: 600;
  color: var(--text);
  font-family: 'Courier New', monospace;
}

.qtd-price {
  font-family: 'Courier New', monospace;
  color: var(--text);
}

/* P&L */
.qtd-pnl {
  font-weight: 700;
  font-family: 'Courier New', monospace;
  font-size: 1rem;
}

.qtd-pnl-positive {
  color: var(--green);
}

.qtd-pnl-negative {
  color: var(--red);
}

.qtd-pnl-neutral {
  color: var(--muted);
}

/* Status */
.qtd-status {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  display: inline-block;
  min-width: 100px;
}

.qtd-status-completed {
  background: rgba(34, 197, 94, 0.2);
  color: var(--green);
}

.qtd-status-open {
  background: rgba(245, 158, 11, 0.2);
  color: var(--yellow);
}

.qtd-status-cancelled {
  background: rgba(239, 68, 68, 0.2);
  color: var(--red);
}

/* Duration */
.qtd-duration {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Pagination */
.qtd-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.qtd-pagination-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.qtd-pagination-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
}

.qtd-pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.qtd-pagination-pages {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.qtd-page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.qtd-page-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
}

.qtd-page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.qtd-page-dots {
  color: var(--muted);
  padding: 0 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .qtd-history-table {
    min-width: 1000px;
  }
}

@media (max-width: 768px) {
  .qtd-page-header {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .qtd-history-stats {
    width: 100%;
    justify-content: space-between;
  }

  .qtd-history-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .qtd-filter-group {
    min-width: auto;
  }

  .qtd-pagination {
    flex-direction: column;
    gap: 1rem;
  }

  .qtd-pagination-pages {
    order: -1;
  }
}

@media (max-width: 480px) {
  .qtd-history-stats {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .qtd-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    width: 100%;
  }

  .qtd-pagination-pages {
    flex-wrap: wrap;
    justify-content: center;
  }

  .qtd-history-table th,
  .qtd-history-table td {
    padding: 0.75rem 1rem;
  }
}

/* Animation for table rows */
@keyframes qtd-row-appear {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.qtd-history-table tbody tr {
  animation: qtd-row-appear 0.3s ease-out;
}

.qtd-history-table tbody tr:nth-child(1) {
  animation-delay: 0.1s;
}

.qtd-history-table tbody tr:nth-child(2) {
  animation-delay: 0.2s;
}

.qtd-history-table tbody tr:nth-child(3) {
  animation-delay: 0.3s;
}

.qtd-history-table tbody tr:nth-child(4) {
  animation-delay: 0.4s;
}

.qtd-history-table tbody tr:nth-child(5) {
  animation-delay: 0.5s;
}

.qtd-history-table tbody tr:nth-child(6) {
  animation-delay: 0.6s;
}

.qtd-history-table tbody tr:nth-child(7) {
  animation-delay: 0.7s;
}

.qtd-history-table tbody tr:nth-child(8) {
  animation-delay: 0.8s;
}





/* PROFILE */

/* QuantumTrade Profile Styles */
.qtd-profile-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}

/* Profile Card */
.qtd-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.qtd-profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  position: relative;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text);
  overflow: hidden;
}

.qtd-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qtd-avatar-edit {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  border: 2px solid var(--bg-card);
  transition: var(--transition);
}

.qtd-avatar-edit:hover {
  background: var(--accent-hover);
  transform: scale(1.1);
}

.qtd-profile-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.qtd-profile-role {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.qtd-profile-badge {
  display: inline-block;
  background: rgba(139, 92, 246, 0.2);
  color: var(--purple);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.qtd-profile-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.qtd-stat {
  text-align: center;
}

.qtd-stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Courier New', monospace;
}

.qtd-stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.qtd-profile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.qtd-profile-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.qtd-btn-primary {
  background: var(--accent);
  color: white;
  border: none;
}

.qtd-btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.qtd-btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.qtd-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Profile Content */
.qtd-profile-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.qtd-profile-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.qtd-section-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qtd-section-title {
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.qtd-section-title i {
  color: var(--accent);
}

.qtd-section-edit {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.qtd-section-edit:hover {
  color: var(--accent-hover);
}

.qtd-section-body {
  padding: 1.5rem;
}

/* Form Styles */
.qtd-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.qtd-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.qtd-form-group.full-width {
  grid-column: 1 / -1;
}

.qtd-form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.qtd-form-input {
  padding: 0.75rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9rem;
  transition: var(--transition);
}

.qtd-form-input:focus {
  border-color: var(--accent);
  outline: none;
}

.qtd-form-input:read-only {
  background: rgba(255, 255, 255, 0.05);
  cursor: not-allowed;
}

.qtd-form-input:read-only:focus {
  border-color: var(--border);
}

.qtd-form-select {
  padding: 0.75rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9rem;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

.qtd-form-select:disabled {
  background: rgba(255, 255, 255, 0.05);
  cursor: not-allowed;
  opacity: 0.7;
}

.qtd-form-textarea {
  padding: 0.75rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9rem;
  transition: var(--transition);
  resize: vertical;
  min-height: 100px;
}

.qtd-form-textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.qtd-form-textarea:read-only {
  background: rgba(255, 255, 255, 0.05);
  cursor: not-allowed;
}

.qtd-form-textarea:read-only:focus {
  border-color: var(--border);
}

.qtd-form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

/* Security Section */
.qtd-security-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.qtd-security-item:last-child {
  border-bottom: none;
}

.qtd-security-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.qtd-security-title {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qtd-security-desc {
  font-size: 0.85rem;
  color: var(--muted);
}

.qtd-security-status {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qtd-status-badge {
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.qtd-status-active {
  background: rgba(16, 185, 129, 0.2);
  color: var(--green);
}

.qtd-status-inactive {
  background: rgba(239, 68, 68, 0.2);
  color: var(--red);
}

.qtd-security-action {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.qtd-security-action:hover {
  background: rgba(255, 255, 255, 0.05);
}

.qtd-deactivate-btn {
  color: var(--red);
  border-color: var(--red);
}

.qtd-deactivate-btn:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* Verification Section */
.qtd-verification-progress {
  margin-bottom: 2rem;
}

.qtd-progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2rem;
}

.qtd-progress-steps::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
  z-index: 1;
}

.qtd-progress-bar {
  position: absolute;
  top: 15px;
  left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 2;
  transition: var(--transition);
  width: 75%;
}

.qtd-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
}

.qtd-step-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  transition: var(--transition);
}

.qtd-step-completed .qtd-step-icon {
  background: var(--green);
  color: white;
}

.qtd-step-active .qtd-step-icon {
  background: var(--accent);
  color: white;
}

.qtd-step-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.qtd-step-completed .qtd-step-label {
  color: var(--text);
}

.qtd-step-active .qtd-step-label {
  color: var(--accent);
  font-weight: 600;
}

.qtd-verification-docs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.qtd-doc-upload {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.qtd-doc-upload:hover {
  border-color: var(--accent);
  background: rgba(0, 188, 212, 0.05);
}

.qtd-doc-icon {
  font-size: 2rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.qtd-doc-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.qtd-doc-desc {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Preferences Section */
.qtd-preferences-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.qtd-preference-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.qtd-preference-title {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qtd-preference-title i {
  color: var(--accent);
}

.qtd-toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.qtd-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.qtd-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border);
  transition: var(--transition);
  border-radius: 34px;
}

.qtd-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition);
  border-radius: 50%;
}

input:checked+.qtd-toggle-slider {
  background-color: var(--accent);
}

input:checked+.qtd-toggle-slider:before {
  transform: translateX(24px);
}

.qtd-theme-selector {
  display: flex;
  gap: 1rem;
}

.qtd-theme-option {
  flex: 1;
  text-align: center;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.qtd-theme-option:hover {
  border-color: var(--accent);
}

.qtd-theme-option.active {
  border-color: var(--accent);
  background: rgba(0, 188, 212, 0.1);
}

.qtd-theme-preview {
  width: 60px;
  height: 40px;
  border-radius: 4px;
  margin: 0 auto 0.5rem;
  overflow: hidden;
  display: flex;
}

.qtd-theme-dark .qtd-theme-preview {
  background: linear-gradient(to right, #0f172a 50%, #1e293b 50%);
}

.qtd-theme-light .qtd-theme-preview {
  background: linear-gradient(to right, #f8fafc 50%, #e2e8f0 50%);
}

.qtd-theme-auto .qtd-theme-preview {
  background: linear-gradient(to right, #0f172a 33%, #f8fafc 33%, #f8fafc 66%, #1e293b 66%);
}

.qtd-theme-name {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .qtd-profile-container {
    grid-template-columns: 1fr;
  }

  .qtd-form-grid {
    grid-template-columns: 1fr;
  }

  .qtd-verification-docs {
    grid-template-columns: 1fr;
  }

  .qtd-preferences-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .qtd-profile-stats {
    justify-content: space-around;
  }

  .qtd-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .qtd-form-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .qtd-profile-card {
    padding: 1.5rem;
  }

  .qtd-security-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .qtd-security-status {
    width: 100%;
    justify-content: space-between;
  }

  .qtd-theme-selector {
    flex-direction: column;
  }
}





/* QuantumTrade Transaction History Styles */
.qtd-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.qtd-page-title h1 {
  margin: 0;
  font-size: 1.8rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qtd-page-title h1 i {
  color: var(--accent);
}

.qtd-page-title p {
  margin: 0.5rem 0 0 0;
  color: var(--muted);
}

.qtd-balance-display {
  text-align: right;
}

.qtd-balance-label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.qtd-balance-amount {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Courier New', monospace;
}

/* Transaction Stats */
.qtd-transaction-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.qtd-transaction-stat {
  text-align: center;
  flex: 1;
}

.qtd-transaction-stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Courier New', monospace;
}

.qtd-transaction-stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* Filters */
.qtd-transaction-filters {
  display: flex;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  flex-wrap: wrap;
}

.qtd-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-width: 150px;
}

.qtd-filter-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.qtd-filter-select {
  padding: 0.75rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9rem;
  transition: var(--transition);
}

.qtd-filter-select:focus {
  border-color: var(--accent);
  outline: none;
}

.qtd-export-btn {
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.qtd-export-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* Transaction Table */
.qtd-transaction-table-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.qtd-table-responsive {
  overflow-x: auto;
}

.qtd-transaction-table {
  width: 100%;
  border-collapse: collapse;
}

.qtd-transaction-table th {
  background: rgba(0, 188, 212, 0.05);
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.qtd-transaction-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.qtd-transaction-table tbody tr:last-child td {
  border-bottom: none;
}

.qtd-transaction-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Transaction Row Styles */
.qtd-transaction-deposit {
  border-left: 3px solid var(--green);
}

.qtd-transaction-withdrawal {
  border-left: 3px solid var(--red);
}

/* Date & Time */
.qtd-transaction-date {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.qtd-transaction-time {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Transaction Type */
.qtd-transaction-type {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
  text-align: center;
  display: inline-block;
  min-width: 100px;
}

.qtd-type-deposit {
  background: rgba(34, 197, 94, 0.2);
  color: var(--green);
}

.qtd-type-withdrawal {
  background: rgba(239, 68, 68, 0.2);
  color: var(--red);
}

/* Transaction Method */
.qtd-transaction-method {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qtd-transaction-method i {
  font-size: 1.1rem;
  color: var(--accent);
}

/* Amount */
.qtd-transaction-amount {
  font-weight: 700;
  font-family: 'Courier New', monospace;
  font-size: 1rem;
}

.qtd-transaction-deposit .qtd-transaction-amount {
  color: var(--green);
}

.qtd-transaction-withdrawal .qtd-transaction-amount {
  color: var(--red);
}

/* Status */
.qtd-transaction-status {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  display: inline-block;
  min-width: 100px;
}

.qtd-status-completed {
  background: rgba(34, 197, 94, 0.2);
  color: var(--green);
}

.qtd-status-pending {
  background: rgba(245, 158, 11, 0.2);
  color: var(--yellow);
}

.qtd-status-failed {
  background: rgba(239, 68, 68, 0.2);
  color: var(--red);
}

/* Transaction ID */
.qtd-transaction-id {
  font-family: 'Courier New', monospace;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Pagination */
.qtd-transaction-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.qtd-pagination-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.qtd-pagination-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
}

.qtd-pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.qtd-pagination-pages {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.qtd-page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.qtd-page-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
}

.qtd-page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.qtd-page-dots {
  color: var(--muted);
  padding: 0 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .qtd-transaction-table {
    min-width: 800px;
  }
}

@media (max-width: 768px) {
  .qtd-page-header {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .qtd-transaction-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .qtd-transaction-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .qtd-transaction-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .qtd-filter-group {
    min-width: auto;
  }

  .qtd-transaction-pagination {
    flex-direction: column;
    gap: 1rem;
  }

  .qtd-pagination-pages {
    order: -1;
  }
}

@media (max-width: 480px) {
  .qtd-transaction-stats {
    padding: 1rem;
  }

  .qtd-pagination-pages {
    flex-wrap: wrap;
    justify-content: center;
  }

  .qtd-transaction-table th,
  .qtd-transaction-table td {
    padding: 0.75rem 1rem;
  }
}

/* Animation for table rows */
@keyframes qtd-transaction-appear {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.qtd-transaction-table tbody tr {
  animation: qtd-transaction-appear 0.3s ease-out;
}

.qtd-transaction-table tbody tr:nth-child(1) {
  animation-delay: 0.1s;
}

.qtd-transaction-table tbody tr:nth-child(2) {
  animation-delay: 0.2s;
}

.qtd-transaction-table tbody tr:nth-child(3) {
  animation-delay: 0.3s;
}

.qtd-transaction-table tbody tr:nth-child(4) {
  animation-delay: 0.4s;
}

.qtd-transaction-table tbody tr:nth-child(5) {
  animation-delay: 0.5s;
}

.qtd-transaction-table tbody tr:nth-child(6) {
  animation-delay: 0.6s;
}

.qtd-transaction-table tbody tr:nth-child(7) {
  animation-delay: 0.7s;
}

.qtd-transaction-table tbody tr:nth-child(8) {
  animation-delay: 0.8s;
}