/* global css */
:root {
  --primary-dark: #090040;
  --primary-purple: #471396;
  --accent-purple: #b13bff;
  --accent-yellow: #ffcc00;
  --light-yellow: #fff287;
  --text-light: #ffffff;
  --text-gray: #cccccc;
  --bg-gradient: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-purple) 100%
  );
}

html {
  scroll-behavior: smooth;
}

body::-webkit-scrollbar {
  display: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;

  /* Gradasi + gambar background */
  background:
    linear-gradient(to top, rgba(5, 5, 10, 0.9), rgba(0, 0, 0, 0.6)),
    url('../../assets/bearnadggggg.jpg') no-repeat left bottom fixed;

  background-size: cover;
  background-color: var(--primary-dark); /* fallback jika gambar gagal load */

  color: var(--text-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}



.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.hidden {
  display: none !important;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.logo img {
  height: 52px;
  width: 52px;
  object-fit: contain;
}

.logo-text {
  font-family: 'Archivo Black', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: #ffea3b;
  margin-top: 10px;
}



/* Tooltip styles */
.tooltip {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-purple);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1000;
}

.tooltip.show {
  opacity: 1;
}

#page-content {
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
  min-height: 400px; /* supaya tidak lompat saat kosong */
}

#page-content.fade-out {
  opacity: 0;
}

/* header.html */


.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  /* background-color: rgba(9, 0, 64, 0.8); */
}

.app-header h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(
    to right,
    var(--accent-yellow),
    var(--light-yellow)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
}

.main-nav {
  position: absolute;
  left:49.5%;
  transform: translateX(-50%);
  
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  color: var(--text-gray);
  text-decoration: none;
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.main-nav a.active {
  color: var(--accent-yellow);
  border-bottom: 2px solid var(--accent-yellow);
  padding-bottom: 0.5rem;
}

.wallet-connect {
  position: relative;
  z-index: 100; /* Tambahkan ini untuk menaikkan prioritas parent-nya */
  display: flex;
  align-items: center;
  gap: 6px;
  
}

.wallet-select-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--primary-dark);
  color: #ffffff;
  width: 360px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  z-index: 10000;
  font-family: "Roboto", sans-serif;
  border: 2px solid var(--accent-purple);
}

.wallet-select-header {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
}

.wallet-section-title {
  font-size: 13px;
  color: #aaa;
  font-weight: 500;
  text-transform: uppercase;
  margin: 20px 0 8px;
}

.wallet-options {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.wallet-options li {
  background: #2b2b40;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.wallet-options li:hover {
  background: #3d3d5c;
}

.wallet-options img {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
}

/* Hidden class to toggle modal visibility */
.hidden {
  display: none !important;
}

/* Optional scrollbar style */
.wallet-select-modal::-webkit-scrollbar {
  width: 6px;
}
.wallet-select-modal::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}


/* Ikon tetap bulat & di luar tombol */
.wallet-icon-wrapper {
  width: 40px;
  height: 40px;
  background: #1d1c2b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}


.wallet-icon-wrapper .material-icons {
  font-size: 22px;
  color: var(--text-light);
}

/* Tombol hanya melingkupi teks + panah */
.connect-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 0 0px; /* lebih kecil kiri karena ada icon bulat */
  height: 40px;
  background: var(--primary-purple);
  border-radius: 19px;
  border: none;
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  cursor: pointer;
}

.wallet-address-short {
  color: var(--text-light);
  font-size: 1rem;
  white-space: nowrap;
}

.connect-btn .material-symbols-outlined {
  font-size: 20px;
  color: var(--text-gray);
}

.wallet-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 280px;
  background: var(--primary-dark);
  border: 1px solid var(--accent-purple);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 999; /* Pastikan ini lebih tinggi dari .pool-card atau elemen lain */
}

.connected-wallet-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 4px;
}

.wallet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.wallet-address-full {
  font-size: 0.85rem;
  font-family: monospace;
  color: var(--text-light);
  max-width: 200px;
  overflow-wrap: break-word;
}

.copy-address {
  background: none;
  border: none;
  color: var(--text-gray);
  cursor: pointer;
  transition: color 0.3s;
}

.copy-address:hover {
  color: var(--accent-yellow);
}

.wallet-divider {
  height: 1px;
  background: var(--accent-purple);
  margin: 1rem 0;
}

.wallet-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wallet-action {
  background: none;
  border: none;
  color: var(--text-light);
  text-align: left;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: background 0.3s;
}

.wallet-action:hover {
  background: rgba(177, 59, 255, 0.2);
}

.wallet-action i {
  width: 20px;
  text-align: center;
}

.wallet-action.disconnect {
  color: #ff6b6b;
}

.wallet-action.disconnect:hover {
  background: rgba(255, 107, 107, 0.1);
}

.hidden {
  display: none !important;
}

/* .dex-topbar-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-right: 1.5rem;
}

.token-price {
  display: flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 1.2rem;
  font-weight: 600;
  font-family: "Orbitron", sans-serif;
  color: var(--text-light);
}

.token-price img {
  width: 35px;
  height: 35px;
  margin-right: 6px;
  border-radius: 50%;
} */

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px; /* jarak antara selected-network dan wallet-connect */
}


.selected-network {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 0 0px; /* lebih kecil kiri karena ada icon bulat */
  height: 40px;
  background: var(--primary-purple);
  border-radius: 19px;
  border: none;
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  cursor: pointer;
  
}

.network-logo-wrapper {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.network-logo-wrapper img,
.selected-network img {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  object-fit: cover;
}

.selected-network .network-name {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
  font-family: Orbitron;
}

.selected-network .material-symbols-outlined {
  font-size: 20px;
  color: var(--text-gray);
}

/* MODAL STYLES */
.network-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.226);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.network-modal.hidden {
  display: none;
}

.network-modal-content {
  background: var(--primary-dark);
  border-radius: 1rem;
  width: 330px;
  padding: 1rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.096);
}

.network-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--text-light);
}


.network-option-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.network-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text-light);
  transition: background 0.2s;
  background: var(--primary-purple);
}

.network-option img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.network-option:hover {
  background: var(--light-yellow);
  color:var(--primary-dark);
}

.close-network-btn {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.2rem;
  cursor: pointer;
}


/* header wallet sidebar */

/* Wallet connect di sidebar */
#sidebar-wallet-container .wallet-connect {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--primary-dark);
  border: 1px solid var(--accent-yellow);
  padding: 1rem;
  margin-top: 2rem;
  border-radius: 0.75rem;
}

#sidebar-wallet-container .connect-btn {
  background: var(--accent-yellow);
  color: var(--primary-dark);
  border: none;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  
}

#sidebar-wallet-container .connect-btn:hover {
  background: var(--light-yellow);
}

/* ✅ Mode mobile */

/* Overlay belakang saat sidebar terbuka */
.sidebar:not(.hidden)::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(3px);
  background-color: rgba(13, 9, 44, 0.87);
  z-index: -1;
}

/* Hover link sidebar */
.sidebar-nav a:hover {
  color: var(--accent-yellow);
  transform: translateX(4px);
  transition: all 0.2s ease-in-out;
}

/* Hover tombol close sidebar */
.close-btn:hover {
  color: var(--accent-yellow);
  transform: scale(1.1);
  transition: all 0.2s ease-in-out;
}

/* Tombol hamburger */
#menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  #menu-toggle {
    display: block;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    background: transparent;
    border: none;
    font-size: 3rem;
    color: white;
    cursor: pointer;
  }

  .sidebar-header h2 {
    font-family: "Orbitron", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--accent-yellow), var(--light-yellow));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--primary-dark);
    padding: 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }

  .sidebar:not(.hidden) {
    transform: translateX(0);
  }

  .sidebar.hidden {
    transform: translateX(-100%);
  }

  .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
  }

  .close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
  }

  .sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .sidebar-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
  }

  nav:not(.sidebar-nav) {
    display: none;
  }
  .selected-network {
    display: flex;
    align-items: center;
    gap: 1px;
    padding: 0.4rem 2rem;
    margin-right: 20px;
    border-radius: 8px;
    background: transparent;
    color: var(--text-light);
    
  }
  .logo-text {
  font-family: 'Archivo Black', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: #ffea3b;
  margin-top: 5px;
}
}


/* Header khusus mobile */
@media (max-width: 768px) {
  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    padding-right: 3rem; /* ruang untuk ☰ */
    background-color: #111;
    color: white;
    position: relative;
    z-index: 1002;
  }

  .logo {
    font-size: 1rem;
  }

  .wallet {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
  }

  #menu-toggle {
    position: absolute;
    top: 1.1rem;
    right: 1rem;
  }
}


/* remove lp */
.remove-liquidity-detail-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(
    9,
    0,
    64,
    0.8
  ); /* menggunakan var(--primary-dark) dengan opacity */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;

  padding: 0.5rem;
}

.remove-liquidity-detail-box {
  background: var(--primary-dark);
  border: 1px solid var(--accent-purple);
  border-radius: 16px;
  width: 500px;
  max-width: 90%;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(179, 59, 255, 0.2);
  color: var(--text-light);

  /* Tambahkan ini 👇 */
  max-height: 90vh;               /* batasi tinggi agar tidak melebihi layar */
  overflow-y: auto;               /* scroll kalau isi terlalu tinggi */
  margin-top: auto;
  margin-bottom: auto;            /* ini akan membuat posisi vertikal tetap di tengah */
}

.remove-liquidity-detail-box::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.unwrap-notification {
  padding: 10px;
  margin: 10px 0;
  background: rgba(249, 200, 14, 0.2);
  border-radius: 8px;
  text-align: center;
}

.loader {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #f9c80e;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  margin: 10px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-header h3 {
  color: var(--accent-yellow);
  margin: 0;
}

.close-modal {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 24px;
  cursor: pointer;
}

.amount-selector p {
  margin-bottom: 8px;
  color: var(--text-light);
}

.percentage-buttons {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.percent-btn {
  flex: 1;
  padding: 8px;
  background: var(--primary-purple);
  color: var(--text-light);
  border: 1px solid var(--accent-purple);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.percent-btn:hover {
  background: var(--accent-purple);
  transform: translateY(-2px);
}

.amount-section {
  margin: 16px 0;
}

.amount-section p {
  color: var(--text-light);
  margin-bottom: 8px;
}

.percentage-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.percent-btn {
  padding: 8px;
  background: var(--primary-purple);
  color: var(--text-light);
  border: 1px solid var(--accent-purple);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.percent-btn:hover {
  background: var(--accent-purple);
}

.percent-btn.active {
  background: var(--accent-yellow);
  color: var(--primary-dark);
  font-weight: bold;
}

.balance-input-container {
  position: relative;
  padding-top: 30px; /* memberi ruang untuk tooltip di atas */
}

.slider-tooltip {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  background-color: var(--primary-purple);
  color: var(--text-light);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
}

.balance-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: var(--accent-purple); /* default fallback */
  outline: none;
  transition: background 0.3s ease;
}


.balance-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: var(--accent-yellow);
  border-radius: 50%;
  cursor: pointer;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  color: var(--text-gray);
  font-size: 12px;
}

.receive-section p {
  color: var(--text-light);
  margin-bottom: 8px;
  font-weight: 500;
}

.token-logo {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: middle;
  border-radius: 50%;
}


.receive-tokens {
  margin: 12px 0;
  border: 1px solid var(--accent-purple);
  border-radius: 8px;
  padding: 12px;
  background: rgba(71, 19, 150, 0.3); /* primary-purple dengan opacity */
}

.receive-token {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0;
  color: var(--text-light);
}

/* Gabungkan logo dan symbol */
#receive-token-a-wrapper,
#receive-token-b-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo + symbol di sisi kiri */
#receive-token-a-wrapper > .token-logo,
#receive-token-b-wrapper > .token-logo {
  margin-right: 6px;
}

#receive-token-a,
#receive-token-b {
  display: inline-block;
  white-space: nowrap;
  font-weight: 500;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px; /* biar tidak nubruk amount */
}

/* Token amount tetap rata kanan */
#receive-amount-a,
#receive-amount-b {
  text-align: right;
  font-weight: 600;
  font-size: 14px;
  margin-left: auto;
  min-width: 80px;
}


/* --- Konsistensi font dan ukuran untuk harga --- */



.price-section {
  margin: 16px 0;
  padding: 12px;
  background: rgba(71, 19, 150, 0.3);
  border: 1px solid var(--accent-purple);
  border-radius: 8px;
  font-size: 14px; /* Samakan dengan receive section */
}

.price-title,
.price-section p {
  color: var(--accent-yellow);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

/* Logo + label token di kiri, harga di kanan */
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 6px 0;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
}

/* ID price-value-a dan b agar rapi */
#price-value-a,
#price-value-b {
  text-align: right;
  min-width: 100px;
  font-weight: 600;
  font-size: 14px;
  margin-left: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Label token seperti MON/USDT */
#price-label-a,
#price-label-b {
  display: inline-block;
  white-space: nowrap;
  font-weight: 500;
  margin-left: 4px;
}


.slippage-section {
  margin: 16px 0;
  font-size: 14px; /* konsisten dengan section lainnya */
  color: var(--text-light);
}

.slippage-section p {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 8px 0;
}

/* Container input + % label */
.slippage-input {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

/* Input styling */
.slippage-input input {
  width: 60px;
  padding: 8px;
  background: var(--primary-purple);
  border: 1px solid var(--accent-purple);
  border-radius: 8px;
  margin-right: 8px;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  text-align: right;
}

/* % label */
.slippage-input span {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
}

.lp-pair-name {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lp-token-logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}


.lp-label {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 4px;
  
}

.lp-balance-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  margin-top: 4px;
  display: inline-block;
}


.pool-section {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-light);
}

.pool-section p {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 8px 0;
}

.pool-details {
  margin-top: 8px;
  padding: 12px;
  background: rgba(71, 19, 150, 0.3);
  border: 1px solid var(--accent-purple);
  border-radius: 8px;
  font-size: 14px;
}

.pool-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4px 0;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
}

/* Tombol konfirmasi remove liquidity */
.confirm-remove-btn {
  width: 100%;
  padding: 12px;
  background: var(--accent-yellow);
  color: var(--primary-dark);
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  margin-top: 16px;
  transition: all 0.2s;
}

.confirm-remove-btn:hover {
  background: var(--light-yellow);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .remove-liquidity-detail-box {
    width: 100%;
    max-width: 100%;
    max-height:80% ;
    border-radius: 10px;
  }
}

/* -----------------------------------------------------------------------------------------  */
/* ---------------------------------swap.css----------------------------------------------  */
/* -----------------------------------------------------------------------------------------  */

.swap-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  padding: 2rem;
   overflow: auto; /* atau scroll, jika perlu */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
}



.swap-card {
  background: rgba(9, 0, 64, 0.315);
  border: 1px solid var(--accent-purple);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 10px 30px rgba(71, 19, 150, 0.3);
  backdrop-filter: blur(10px);
}

.swap-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.swap-header h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  color: var(--accent-yellow);
}

.settings-btn {
  background: none;
  border: none;
  color: var(--text-gray);
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.settings-btn:hover {
  transform: rotate(90deg);
  color: var(--light-yellow);
}

.token-input {
  background: rgba(71, 19, 150, 0.151);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--accent-purple);
}

.token-select {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.token-select-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(177, 59, 255, 0.13);
  border: 1px solid var(--accent-purple);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  color: var(--text-light);
  font-family: "Orbitron", sans-serif;
  cursor: pointer;
  transition: all 0.3s;
}

.token-select-btn:hover {
  background: rgba(177, 59, 255, 0.4);
}

.token-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 50%;
}

.token-symbol {
  font-weight: 500;
}

.dropdown-arrow {
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

.token-amount {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  width: 60%;
  text-align: right;
  font-family: "Roboto", sans-serif;
}

.token-amount:focus {
  outline: none;
}

.token-balance {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.max-btn {
  background: rgba(255, 204, 0, 0.1);
  border: 1px solid var(--accent-yellow);
  color: var(--accent-yellow);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s;
}

.max-btn:hover {
  background: rgba(255, 204, 0, 0.3);
}

.swap-arrow {
  display: flex;
  justify-content: center;
  margin: -0.5rem 0;
  position: relative;
  z-index: 1;
}

.swap-direction-btn {
  background: var(--primary-purple);
  border: 3px solid var(--primary-dark);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
}

.swap-direction-btn:hover {
  background: var(--accent-purple);
  transform: rotate(180deg);
}

.swap-details {
  background: rgba(9, 0, 64, 0.5);
  border-radius: 12px;
  padding: 1rem;
  margin: 1.5rem 0;
  border: 1px solid var(--accent-purple);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin: 4px 0;
}

.detail-row:last-child {
  margin-bottom: 0;
}

.detail-label {
  color: var(--text-gray);
  font-weight: 500;
}

.detail-value {
  color: var(--text-gray);
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  text-align: right;
  font-size: 14px;
}


.swap-route {
  margin-bottom: 1.5rem;
}

.swap-route h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--accent-yellow);
}

.no-route {
  color: var(--text-light);
  font-size: 0.9rem;
  text-align: center;
  padding: 0.5rem;
}

.swap-btn {
  width: 100%;
  background: var(--accent-yellow);
  color: var(--primary-dark);
  border: none;
  padding: 1rem;
  border-radius: 12px;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.swap-btn:hover {
  background: var(--light-yellow);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

.swap-btn:disabled {
  background: #666;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Token Selector Modal Styles */
.swap-token-selector-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.swap-token-selector-modal .modal-content {
  background: var(--primary-dark);
  border: 1px solid var(--accent-purple);
  border-radius: 10px;
  width: 90%;
  max-width: 420px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(71, 19, 150, 0.5);
}

.swap-token-selector-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--accent-purple);
}

.swap-token-selector-modal .modal-header h3 {
  font-family: "Orbitron", sans-serif;
  color: var(--accent-yellow);
}

.swap-token-selector-modal .close-modal {
  background: none;
  border: none;
  color: var(--text-gray);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s;
}

.swap-token-selector-modal .close-modal:hover {
  color: var(--accent-yellow);
}

.swap-token-selector-modal .search-tokens {
  padding: 1rem 1.5rem;
}

.swap-token-selector-modal .search-tokens input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--accent-purple);
  background: rgba(71, 19, 150, 0.3);
  color: var(--text-light);
  font-family: "Roboto", sans-serif;
}

.swap-token-selector-modal .search-tokens input:focus {
  outline: none;
  border-color: var(--accent-yellow);
}

.swap-token-selector-modal .token-tabs {
  display: flex;
  padding: 0 1.5rem;
  border-bottom: 1px solid var(--accent-purple);
}

.swap-token-selector-modal .tab-btn {
  padding: 0.8rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-gray);
  font-family: "Orbitron", sans-serif;
  cursor: pointer;
  position: relative;
}

.swap-token-selector-modal .tab-btn.active {
  color: var(--accent-yellow);
}

.swap-token-selector-modal .tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-yellow);
}

.swap-token-selector-modal .token-list {
  max-height: 50vh;
  overflow-y: auto;
  padding: 0.5rem 0;
}

.token-list.hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.swap-token-selector-modal .token-item {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: background 0.3s;
  gap: 1rem;
}

.swap-token-selector-modal .token-item:hover {
  background: rgba(177, 59, 255, 0.1);
}

.token-selector-modal .token-icon-sm {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.swap-token-selector-modal .token-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.swap-token-selector-modal .token-symbol {
  font-weight: 500;
  color: var(--text-light);
}

.swap-token-selector-modal .token-name {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.swap-token-selector-modal .token-balance {
  font-family: sans-serif;
}

.swap-token-selector-modal .no-tokens {
  padding: 2rem;
  text-align: center;
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Settings Modal Styles */
.settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.settings-modal .modal-content {
  background: var(--primary-dark);
  border: 1px solid var(--accent-purple);
  border-radius: 20px;
  width: 90%;
  max-width: 420px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(71, 19, 150, 0.5);
}

.settings-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.settings-modal .modal-header h3 {
  font-family: "Orbitron", sans-serif;
  color: var(--accent-yellow);
}

.settings-modal .settings-option {
  margin-bottom: 1.5rem;
}

.settings-modal .settings-option h4 {
  font-family: "Orbitron", sans-serif;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.settings-modal .slippage-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.settings-modal .slippage-option {
  background: rgba(71, 19, 150, 0.3);
  border: 1px solid var(--accent-purple);
  color: var(--text-light);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.settings-modal .slippage-option.active {
  background: var(--accent-purple);
  color: var(--text-light);
  border-color: var(--accent-yellow);
}

.settings-modal .slippage-option:hover {
  background: rgba(177, 59, 255, 0.4);
}

.settings-modal .custom-slippage {
  display: flex;
  align-items: center;
  background: rgba(71, 19, 150, 0.3);
  border: 1px solid var(--accent-purple);
  border-radius: 8px;
  padding: 0 0.5rem;
  flex-grow: 1;
}

.settings-modal .custom-slippage input {
  background: transparent;
  border: none;
  color: var(--text-light);
  padding: 0.5rem;
  width: 100%;
  font-family: "Roboto", sans-serif;
}

.settings-modal .custom-slippage input:focus {
  outline: none;
}

.settings-modal .custom-slippage span {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.settings-modal .deadline-option {
  display: flex;
  align-items: center;
  background: rgba(71, 19, 150, 0.3);
  border: 1px solid var(--accent-purple);
  border-radius: 8px;
  padding: 0 0.5rem;
  width: 120px;
}

.settings-modal .deadline-option input {
  background: transparent;
  border: none;
  color: var(--text-light);
  padding: 0.5rem;
  width: 60px;
  font-family: "Roboto", sans-serif;
}

.settings-modal .deadline-option input:focus {
  outline: none;
}

.settings-modal .deadline-option span {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.settings-modal .save-settings {
  width: 100%;
  background: var(--accent-yellow);
  color: var(--primary-dark);
  border: none;
  padding: 0.8rem;
  border-radius: 12px;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.settings-modal .save-settings:hover {
  background: var(--light-yellow);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

/*  mobile swap.css style */
@media (max-width: 768px) {
  .app-header {
    display: flex;
    justify-content: space-between; /* kiri-kanan */
    align-items: center; /* vertikal tengah */
    padding: 0.5rem 1rem;
  }

  .app-header h1 {
    margin: 0;
    font-size: 2.1rem;
  }
  

  .main-nav {
    display: none; /* sembunyikan nav link versi desktop */
  }

}


@media (max-width: 768px) {
  .swap-container {
    padding: 1rem; /* ✅ tetap seperti yang kamu suka */
  }

  .swap-card {
    max-width: 100%;
    padding: 1.5rem;
    border-radius: 10px;
  }

  .token-amount {
    font-size: 1.7rem;
    width: 100%;
  }
}



/* -----------------------------------------------------------------------------------------  */
/* ---------------------------------pool.css----------------------------------------------  */
/* -----------------------------------------------------------------------------------------  */

/* Main Content Styles */
.pool-container {
  display: flex;
  justify-content: center;
  padding: 2rem;
  flex-grow: 1;
}

.pool-card {
  background: rgba(9, 3, 43, 0.445);
  border: 1px solid var(--accent-purple);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 800px;
  box-shadow: 0 10px 30px rgba(26, 2, 59, 0);
  backdrop-filter: blur(10px);
  height: 695.5px;
}

.pool-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.pool-header h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  color: var(--accent-yellow);
}

.add-liquidity-btn {
  background: var(--accent-yellow);
  color: var(--primary-dark);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.add-liquidity-btn:hover {
  background: var(--light-yellow);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Tabs */
.pool-tabs {
  display: flex;
  border-bottom: 1px solid var(--accent-purple);
  margin-bottom: 1.5rem;
}

.pool-tab {
  background: none;
  border: none;
  color: var(--text-gray);
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  position: relative;
}

.pool-tab.active {
  color: var(--accent-yellow);
}

.pool-tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-yellow);
}

/* No Liquidity State */
.no-liquidity {
  text-align: center;
  padding: 3rem 0;
}

.pool-tab:first-child {
  padding-left: 0;
}


.no-liquidity-img {
  width: 150px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  /* filter: brightness(0) saturate(100%) invert(77%) sepia(22%) saturate(1232%) hue-rotate(358deg) brightness(105%) contrast(101%); */
}

.no-liquidity h3 {
  font-family: "Orbitron", sans-serif;
  color: var(--accent-yellow);
  margin-bottom: 0.5rem;
}

.no-liquidity p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

/* All Pools Section */
.all-pools {
  display: none;
}

.pools-filter {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.pools-search {
  background: rgba(71, 19, 150, 0.3);
  border: 1px solid var(--accent-purple);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--text-light);
  flex-grow: 1;
  min-width: 200px;
  font-family: "Roboto", sans-serif;
}

.pools-search::placeholder {
  color: var(--text-gray);
}

.pools-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pools-sort span {
  color: var(--text-gray);
}

.sort-select {
  background: rgba(71, 19, 150, 0.3);
  border: 1px solid var(--accent-purple);
  border-radius: 8px;
  padding: 0.5rem;
  color: var(--text-light);
  font-family: "Roboto", sans-serif;
}

/* Pool Items */
.pools-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pool-item {
  background: rgba(19, 7, 53, 0.89);
  border: 1px solid var(--accent-purple);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

.pool-item:hover {
  background: rgba(71, 19, 150, 0.4);
  transform: translateY(-2px);
}

.pool-tokens {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.token-pair .token-icon:first-child {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  background: var(--primary-dark);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-purple);
}

.token-pair .token-icon:last-child {
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--primary-dark);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-purple);
}

.pair-name {
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
}

.pool-stats {
  display: flex;
  gap: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-label {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.stat-value {
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.add-liquidity-modal {
  background: rgba(9, 3, 43, 0.877);
  border: 1px solid var(--accent-purple);
  border-radius: 20px;
  width: 100%;
  max-width: 450px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.37);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  font-family: "Orbitron", sans-serif;
  color: var(--accent-yellow);
}

.close-modal {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 0.5rem;
}

/* Token Input in Modal */
.token-input {
  background: rgba(71, 19, 150, 0.3);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--accent-purple);
}

.token-selector {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.token-select-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(58, 8, 122, 0.726);
  border: 1px solid var(--accent-purple);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  color: var(--text-light);
  font-family: "Orbitron", sans-serif;
  cursor: pointer;
}

.token-icon {
  font-size: 1.2rem;
}

.token-symbol {
  font-weight: 500;
  text-transform: uppercase;
}

.dropdown-arrow {
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

.token-amount {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  width: 60%;
  text-align: right;
  font-family: "Roboto", sans-serif;
}

.token-amount:focus {
  outline: none;
}

.token-balance {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.max-btn {
  background: rgba(255, 204, 0, 0.1);
  border: 1px solid var(--accent-yellow);
  color: var(--accent-yellow);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.plus-icon {
  text-align: center;
  font-size: 1.5rem;
  color: var(--accent-yellow);
  margin: 1rem 0;
}

/* Price Info */
.price-info {
  background: rgba(71, 19, 150, 0.3);
  border-radius: 12px;
  padding: 1rem;
  margin: 1.5rem 0;
  border: 1px solid var(--accent-purple);
}

.price-ratio,
.share-of-pool {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.supply-btn {
  width: 100%;
  background: var(--accent-yellow);
  color: var(--primary-dark);
  border: none;
  padding: 1rem;
  border-radius: 12px;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.supply-btn:hover {
  background: var(--light-yellow);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .app-header {
    display: flex;
    justify-content: space-between; /* kiri-kanan */
    align-items: center; /* vertikal tengah */
    padding: 1rem 1rem;
  }


  .main-nav ul {
    gap: 1rem;
  }

  .pool-stats {
    display: none;
  }

  .pool-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .add-liquidity-btn {
    width: 100%;
    margin-top: 1rem;
  }

  .pools-filter {
    flex-direction: column;
  }

  .pools-search {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .pool-card {
    padding: 1.5rem;
  }

  .pool-tab {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
}

/* ------------------------------- */

/* Modal Overlay */
#token-select-modal.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Modal Content */
.token-selector-modal {
  background: var(--primary-dark);
  border: 1px solid var(--accent-purple);
  border-radius: 20px;
  width: 90%;
  max-width: 420px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(71, 19, 150, 0.5);
  display: flex;
  flex-direction: column;
}

/* Header */
.token-selector-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--accent-purple);
}

.token-selector-modal .modal-header h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.2rem;
  color: var(--accent-yellow);
}

.token-selector-modal .close-token-modal {
  background: none;
  border: none;
  color: var(--text-gray);
  font-size: 1.5rem;
  cursor: pointer;
}
.token-selector-modal .close-token-modal:hover {
  color: var(--accent-yellow);
}

/* Search */
.search-tokens {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--accent-purple);
}
.token-search {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--accent-purple);
  background: rgba(71, 19, 150, 0.3);
  color: var(--text-light);
  font-family: "Roboto", sans-serif;
}
.token-search::placeholder {
  color: var(--text-gray);
}

/* Tabs */
.token-tabs {
  display: flex;
  border-bottom: 1px solid var(--accent-purple);
}
.tab-btn {
  padding: 0.8rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-gray);
  font-family: "Orbitron", sans-serif;
  cursor: pointer;
  position: relative;
}
.tab-btn.active {
  color: var(--accent-yellow);
}
.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-yellow);
}

/* Token List */
.token-list {
  overflow-y: auto;
  max-height: 420px; /* cukup pilih max-height */
  padding: 8px;
}

.token-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: background 0.3s;
}
.token-item:hover {
  background: rgba(177, 59, 255, 0.1);
}
.token-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
}
.token-icon-sm {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.token-info {
  display: flex;
  flex-direction: column;
}
.token-symbol {
  color: var(--text-light);
  font-weight: 400;
}
.token-name {
  color: var(--text-gray);
  font-size: 0.8rem;
}
.token-balance {
  font-family: sans-serif;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ============= */
.liquidity-item {
  background: #12003a;
  border: 1px solid #6f00ff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  color: #ffffff;
  font-family: "Orbitron", sans-serif;
}

.position-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.position-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.token-pair {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
}

.token-pair img {
  border-radius: 50%;
  width: 20px;
  height: 20px;
  background: #fff;
}

.remove-liquidity-btn {
  background-color: transparent;
  color: #ff4e9b;
  border: 1px solid #ff4e9b;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.9rem;
}

.remove-liquidity-btn:hover {
  background-color: #ff4e9b;
  color: #000;
}

.position-info p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.pool-share,
.liquidity-amount {
  font-weight: bold;
  color: #00ffcc;
}

@media (max-width: 600px) {
  .position-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .remove-liquidity-btn {
    align-self: flex-end;
  }
}

.hidden {
  display: none;
}

.slippage-preview {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-top: 8px;
  color: var(--text-light);
}

.first-provider-box {
  background: #1d1d1d;
  border: 1px solid #ffc107;
  color: #fff3cd;
  padding: 12px 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  font-size: 14px;
}
.hidden {
  display: none;
}

.confirm-supply-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.confirm-supply-box {
  background: var(--primary-dark);
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 24px 28px;
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  font-family: "Inter", sans-serif;
  border: 1px solid var(--accent-purple);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--accent-yellow);
}

.close-confirm-modal {
  background: none;
  border: none;
  color: var(--light-yellow);
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close-confirm-modal:hover {
  color: var(--text-light);
}

.modal-body p {
  margin: 8px 0;
  font-size: 14px;
  color: var(--text-light);
}

.modal-body strong {
  color: var(--light-yellow);
}

.confirm-input-preview {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid var(--accent-purple);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0);
}

.confirm-input-preview p {
  margin: 6px 0;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  color: var(--text-light);
}

.rate-preview {
  color: var(--text-light);
  font-weight: 500;
}

.confirm-supply-btn {
  margin-top: 20px;
  width: 100%;
  padding: 12px 16px;
  background: var(--accent-yellow);
  border: none;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0s ease;
}

.confirm-supply-btn:hover {
  background: var(--light-yellow);
  color: var(--primary-dark);
}

.confirm-input-preview {
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid var(--accent-purple);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.token-preview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 6px 0;
}

.token-preview-row .token-symbol {
  color: var(--text-light);
  font-weight: 500;
  font-size: 15px;
}

.token-preview-row .token-amount {
  color: var(--text-light);
  font-weight: 500;
  font-size: 15px;
}

.liquidity-scroll-wrapper {
  max-height: 490px; /* Atur tinggi maksimal */
  overflow-y: auto;
  padding-right: 6px; /* agar scroll tidak nabrak konten */
}

.liquidity-scroll-wrapper {
  max-height: 490px;
  overflow-y: auto;
}

.liquidity-scroll-wrapper.hidden-scroll {
  overflow-y: hidden;
}

/* Scrollbar styling (opsional) */
.liquidity-scroll-wrapper::-webkit-scrollbar {
  width: 6px;
}
.liquidity-scroll-wrapper::-webkit-scrollbar-thumb {
  background-color: var(--accent-yellow);
  border-radius: 4px;
}
.liquidity-scroll-wrapper::-webkit-scrollbar-track {
  background-color: transparent;
}

.lp-pair-name img {
  display: inline-block;
  margin-right: 4px;
  vertical-align: middle;
  border-radius: 50%;
}

.lp-card {
  background: rgba(17, 3, 49, 0.856);
  border: 1px solid var(--accent-purple);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  color: var(--text-light);
  font-family: "Orbitron", sans-serif;
  box-shadow: 0 0 8px rgba(22, 1, 36, 0.2);
  transition: all 0.3s ease;
}

.lp-header {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: bold;
  color: var(--accent-yellow);
  margin-bottom: 6px;
}

.lp-body {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 8px;
  font-weight: bold;
}

.lp-label {
  font-size: 14px;
  color: var(--light-yellow);
  font-style: "Orbitron", sans-serif;
}

.lp-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lp-reward {
  color: var(--accent-yellow);
  font-size: 14px;
  font-weight: bold;
}

.remove-btn {
  background-color: var(--accent-yellow);
  color: var(--primary-dark);
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
}

.remove-btn:hover {
  background-color: var(--light-yellow);
  color: var(--primary-dark);
}

.token-list li {
  opacity: 0;
  transform: translateY(5px);
  animation: fadeIn 0.2s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.liquidity-loading {
  display: none;
  text-align: center;
  margin-top: 30px;
  font-size: 18px;
  color: var(--text-light);
  font-weight: 500;
  position: relative;
  animation: fadeIn 0.5s ease-in-out;
}

.liquidity-loading::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 3px solid var(--accent-purple);
  border-top-color: var(--accent-yellow);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fee-receiver {
  font-size: 0.95rem;
  color: #999;
  margin-bottom: 0.5rem;
}

.hidden {
  display: none;
}

.fee-percentage {
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--accent-yellow);
  padding: 12px 12px;
  border-radius: 8px;
  display: inline-block;
  transition: all 0.3s ease;
}
/* Responsive untuk Mobile pool.css style*/

@media (max-width: 768px) {
  .pool-container {
    padding: 1rem;
    flex-direction: column;
  }

  .pool-card {
    padding: 1.5rem;
    height: auto;
    max-width: 100%;
    box-shadow: none;
    border-radius: 16px;
  }

  .pool-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .pool-header h2 {
    font-size: 1.2rem;
  }

  @media (max-width: 768px) {
  .pool-tabs {
    flex-wrap: wrap;
    justify-content: flex-start; /* <- ubah dari center */
    padding-left: 0; /* opsional: agar nempel ke kiri container */
  }

  .pool-tab {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }

  .pool-tab:first-child {
    padding-left: 0; /* supaya lebih nempel ke kiri */
  }
}


  .pools-list {
    gap: 0.8rem;
  }

  .pool-item {
    padding: 1.2rem;
    gap: 1rem;
  }

  .pool-tokens {
    flex-direction: row;
    gap: 0.6rem;
  }

  .pair-name {
    font-size: 1rem;
  }

  .stat-label, .stat-value {
    font-size: 0.85rem;
  }

  .pools-filter {
    flex-direction: column;
    gap: 0.8rem;
  }

  .pools-search, .sort-select {
    width: 100%;
  }

  .add-liquidity-btn {
    padding: 0.8rem;
    font-size: 0.95rem;
  }

  .liquidity-item {
    padding: 14px;
    font-size: 0.9rem;
  }

  .lp-card {
    padding: 14px;
    font-size: 0.95rem;
  }

  .lp-header {
    font-size: 1rem;
    flex-direction: column;
    gap: 6px;
  }

  .lp-body {
    flex-direction: column;
    gap: 4px;
    font-size: 0.9rem;
  }

  .lp-footer {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }

  .remove-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .swap-card,
  .pool-card {
    max-width: 100%;
    padding: 1rem;
    border-radius: 10px;
  }
}

@media (max-width: 768px) {
  .pool-container {
    width: 100%;
    max-width: 480px; /* atau 100% jika ingin penuh */
    padding: 1rem;
    margin: 0 auto;
    border-radius: 20px;
  }
}



/* -----------------------------------------------------------------------------------------  */
/* ---------------------------------rewards.css----------------------------------------------  */
/* -----------------------------------------------------------------------------------------  */
body,
html {
  overflow: auto;
}

.rewards-container {
  display: flex;
  justify-content: center;
  padding: 2rem;
  min-height: calc(100vh - 120px);
  background: var(--bg-gradient);
  opacity: 0.3;
  filter: blur(1px);
  pointer-events: none; /* Prevent interaction */
}

.rewards-card {
  background: rgba(9, 0, 64, 0.7);
  border: 1px solid var(--accent-purple);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 800px;
  box-shadow: 0 10px 30px rgba(71, 19, 150, 0.3);
  backdrop-filter: blur(10px);
}

/* Header Section */
.rewards-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.rewards-header h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.8rem;
  color: var(--accent-yellow);
  margin: 0;
}

.rewards-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.total-rewards {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.total-rewards span:first-child {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.total-rewards .amount {
  font-family: "Orbitron", sans-serif;
  font-size: 1.4rem;
  color: var(--accent-yellow);
}

/* Buttons */
.reward-claim-all-btn {
  background: rgba(177, 59, 255, 0.2);
  color: var(--text-light);
  border: 1px solid var(--accent-purple);
  border-radius: 8px;
  padding: 0.8rem 1.5rem;
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  cursor: not-allowed;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.reward-claim-all-btn:not(:disabled) {
  background: var(--accent-purple);
  cursor: pointer;
  opacity: 1;
}

.reward-claim-all-btn:not(:disabled):hover {
  background: var(--light-yellow);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Tabs */
.rewards-tabs {
  display: flex;
  border-bottom: 1px solid var(--accent-purple);
  margin-bottom: 1.5rem;
}

.rewards-tab {
  background: none;
  border: none;
  color: var(--text-gray);
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  position: relative;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.rewards-tab.active {
  color: var(--accent-yellow);
}

.rewards-tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-yellow);
}

/* Reward Items */
.rewards-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reward-item {
  background: rgba(71, 19, 150, 0.2);
  border: 1px solid var(--accent-purple);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.reward-item:hover {
  background: rgba(71, 19, 150, 0.4);
  transform: translateY(-2px);
}

/* Pair Info */
.pair-info {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.reward-token-pair {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.reward-token-pair .reward-token-icon {
  position: absolute;
  background: var(--primary-dark);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-purple);
  font-size: 1.2rem;
}

.reward-token-pair .reward-token-icon:first-child {
  left: 0;
  top: 0;
  z-index: 2;
}

.reward-token-pair .reward-token-icon:last-child {
  right: 0;
  bottom: 0;
  z-index: 1;
}

.pair-details h3 {
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
}

.pair-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.pair-type,
.emission {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.pair-type span:first-child,
.emission span:first-child {
  font-weight: 500;
}

/* Reward Details */
.reward-details {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.reward-amount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.reward-amount span:first-child {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.reward-amount .amount {
  font-family: "Orbitron", sans-serif;
  font-size: 1.2rem;
  color: var(--accent-yellow);
}

.reward-claim-btn {
  background: rgba(177, 59, 255, 0.2);
  color: var(--text-light);
  border: 1px solid var(--accent-purple);
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  cursor: not-allowed;
  opacity: 0.7;
  width: 100px;
  transition: all 0.3s ease;
}

.reward-claim-btn:not(:disabled) {
  background: var(--accent-purple);
  cursor: pointer;
  opacity: 1;
}

.reward-claim-btn:not(:disabled):hover {
  background: var(--light-yellow);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .rewards-container {
    padding: 1rem;
  }

  .rewards-card {
    padding: 1.5rem;
  }

  .reward-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .reward-details {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .rewards-info {
    width: 100%;
    justify-content: space-between;
  }

  .rewards-tab {
    padding: 0.6rem 1rem;
  }
}

@media (max-width: 480px) {
  .pair-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .reward-token-pair {
    margin-bottom: 0.5rem;
  }

  .reward-claim-btn {
    width: 100%;
  }
}

/* SOON */

.coming-soon-overlay {
  position: fixed;
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 25%;
  background-color: rgba(9, 0, 64, 0.85); /* semi transparan dark */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  pointer-events: none;
}

.coming-soon-text {
  font-size: 4.5rem;
  font-weight: 900;
  font-family: "Orbitron", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: transparent;
  background: linear-gradient(
    90deg,
    var(--accent-purple),
    #ffffff22,
    var(--accent-purple)
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  animation: shimmerText 2.5s linear infinite, flicker 2s infinite ease-in-out,
    pulseBorder 3s infinite ease-in-out;
  border: 2px solid var(--accent-purple);
  padding: 1.5rem 3rem;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 30px rgba(182, 116, 255, 0.25);
}

@keyframes pulseBorder {
  0% {
    box-shadow: 0 0 20px var(--accent-purple);
    border-color: var(--accent-purple);
  }
  50% {
    box-shadow: 0 0 30px var(--accent-purple);
    border-color: var(--accent-purple);
  }
  100% {
    box-shadow: 0 0 20px var(--accent-purple);
    border-color: var(--accent-purple);
  }
}

@keyframes shimmerText {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.2s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ------------------ */
.slippage-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 1rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem; /* naikkan sedikit */
  font-size: 0.9rem;
  color: var(--text-light);
}

.slippage-preview div {
  display: flex;
  gap: 0.25rem;
}

.min-received,
.slippage-value {
  font-weight: bold;
  color: var(--text-light);
}


/* --------------------------test confirmSwapModal */

/* Modal Container */
.swap-confirm-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.swap-confirm-hidden {
  display: none !important;
}

.swap-confirm-modal-content {
  background: var(--primary-dark);
  color: var(--text-light);
  border: 2px solid var(--accent-purple);
  border-radius: 12px;
  padding: 2rem;
  width: 320px;
  max-width: 90%;
  box-shadow: 0 0 20px rgba(177, 59, 255, 0.5);
  text-align: center;
}

#confirmModalTitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-yellow);
}

.swap-confirm-status-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--accent-yellow);
}

.swap-confirm-message {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: var(--text-gray);
}

#viewOnExplorer {
  display: block;
  margin-bottom: 1rem;
  color: var(--light-yellow);
  text-decoration: underline;
  font-weight: 500;
}

#addTokenBtn,
.swap-confirm-close-btn {
  background: var(--accent-yellow);
  color: var(--primary-dark);
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  margin: 0.3rem auto;
  cursor: pointer;
  transition: background 0.3s ease;
}

#addTokenBtn:hover,
.swap-confirm-close-btn:hover {
  background: var(--light-yellow);
  color: var(--primary-dark);
}

/* Optional: Animated loading spinner */
.swap-confirm-status-icon.loading::after {
  content: "";
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  margin-left: 0.5rem;
  border: 3px solid var(--accent-yellow);
  border-radius: 50%;
  border-top: 3px solid transparent;
  animation: spin 1s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .coming-soon-text {
    font-size: 2rem;
    padding: 1rem 1rem;
    text-align: center;
  }

  .coming-soon-overlay {
    top: 40%;
    height: auto;
  }
}

/* icons font */

.fee-percentage {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  color: var(--accent-yellow);
}

.fee-icon {
  font-size: 18px !important;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.detail-icon.material-symbols-outlined {
  font-size: 14px;
}

.hamburger .material-symbols-outlined {
  font-size: 38px;
  color: var(--text-light); /* Atau warna lain sesuai tema kamu */
  cursor: pointer;
}

.token-symbol-copy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

/* swap.js openTokenSelector() icon  */

.token-symbol-copy {
  display: flex;
  align-items: center;
  gap: 10px;
}

.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--accent-yellow);
  padding: 0;
  display: flex;
  align-items: center;
}

.copy-btn:hover {
  color: var(--accent-purple);
}

.copy-btn.material-symbols-outlined {
  font-size: 13px;
  line-height: 1;
  transform: translateY(1px); /* jika perlu selaraskan vertikal */
}

.token-symbol-copy {
  display: flex;
  align-items: center;
  gap: 6px;
}

.copy-btn.material-symbols-outlined,
.explorer-link.material-symbols-outlined {
  font-size: 14px;
  color: var(--accent-yellow);
  text-decoration: none;
  line-height: 1;
}

.copy-btn:hover,
.explorer-link:hover {
  color: var(--accent-purple);
}

.token-balance-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 13px;
  line-height: 1.2;
}

.token-price {
  font-size: 12px;
  color: var(--text-gray);
}

/* ---------------------NFT----------------------- */
/* ---------------------NFT----------------------- */


/* === MAIN CONTAINER === */
.mint-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding: 40px;
  width: 100%;
  max-width: 1100px;
  margin: auto;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(177, 59, 255, 0.15);
}

/* === LEFT IMAGE AREA === */
.mint-left img {
  border-radius: 12px;
  object-fit: cover;
}

.main-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(177, 59, 255, 0.25);
}

.thumbs {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.thumbs img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.2s;
}

.thumbs img.active,
.thumbs img:hover {
  opacity: 1;
  box-shadow: 0 0 10px var(--accent-purple);
}

/* === RIGHT MINT PANEL === */
.mint-panel {
      background: rgba(255, 255, 255, 0.05);
      border-radius: 16px;
      padding: 24px;
      box-shadow: 0 0 20px rgba(177, 59, 255, 0.1);
      display: flex;
      flex-direction: column;
      justify-content: center;
      height: fit-content;
    }
 .mint-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
    }

.mint-header h1 {
      margin: 0;
      font-size: 22px;
      color: var(--text-light);
    }

    .chain-tag {
      display: inline-block;
      background: linear-gradient(90deg, var(--accent-yellow), var(--accent-purple));
      color: #090040;
      font-weight: 700;
      font-size: 13px;
      padding: 4px 8px;
      border-radius: 8px;
    }

.mint-price {
  font-size: 15px;
  margin: 12px 0;
}

.price-value {
  
  font-weight: bold;
  color: var(--accent-yellow);
}

.mint-progress {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-gray);
}

.bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-top: 6px;
  overflow: hidden;
}

#progressBar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-yellow), var(--accent-purple));
  transition: width 0.3s ease;
}

/* === MINT CONTROLS === */
.mint-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.qty-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-light);
  font-size: 20px;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.qty-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.mint-btn {
  margin-top: 20px;
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  background: linear-gradient(90deg, var(--accent-yellow), var(--accent-purple));
  border: none;
  border-radius: 10px;
  cursor: pointer;
  color: #090040;
  transition: 0.2s;
}

.mint-btn:hover {
  transform: scale(1.02);
}

.hint {
  text-align: center;
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 12px;
}

/* === OVERVIEW === */
.overview {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  border-radius: 10px;
  color: var(--text-gray);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .mint-container {
    grid-template-columns: 1fr;
    max-width: 90%;
    padding: 20px;
  }

  .mint-panel {
    margin-top: 30px;
  }

  .thumbs {
    justify-content: center;
  }
}




