body {
    background: #060a1d;
    color: #e6edf3;
    font-family: 'Inter', sans-serif;
}

.back-btn {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.wallet-card {
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  border-radius: 10px;
  padding: 24px 28px;
  color: #fff;
}

.wallet-info .balance {
  font-weight: 700;
  letter-spacing: 1px;
}

.wallet-actions {
  text-align: center;
}

.action-item {
  color: #fff;
  cursor: pointer;
  min-width: 70px;
}

.action-item i {
  font-size: 18px;
  display: block;
  margin-bottom: 6px;
}

.action-item span {
  font-size: 13px;
}

.connect-wallet {
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.connect-wallet i {
  font-size: 14px;
}

.fund-search {
    max-width: 100%;
}

.fund-input {
    padding-left: 38px;
    border-radius: 10px;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #aaa;
}

.fund-results {
    position: absolute;
    width: 100%;
    background: #121212;
    border-radius: 10px;
    margin-top: 6px;
    z-index: 1000;
    overflow: hidden;
}

.fund-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #fff;
    text-decoration: none;
}

.fund-item:hover {
    background: #1f1f1f;
}

.fund-empty {
    padding: 12px;
    color: #888;
    text-align: center;
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100vh;
  background: #020617;
  z-index: 2000;
  padding: 16px;
  transition: right 0.3s ease;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.mobile-nav-header i {
  font-size: 1.3rem;
  cursor: pointer;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  color: #9ca3af;
  text-decoration: none;
  margin-bottom: 6px;
}

.mobile-nav-links a:hover {
  background: #0f172a;
  color: #3b82f6;
}

/* Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  z-index: 1500;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Desktop */
@media (min-width: 768px) {
  .mobile-nav,
  .nav-overlay {
    display: none;
  }
}


.side-nav {
    background: #020617;
    border-right: 1px solid #1f2937;
    padding: 20px 16px;
    min-height: 100vh;
}

.side-logo img {
    width: 70px;
}

.side-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.side-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.side-menu a i {
    font-size: 1.1rem;
}

.side-menu a:hover,
.side-menu a.active {
    background: #0f172a;
    color: #3b82f6;
}

.side-user {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #1f2937;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.user-email {
    font-size: 0.75rem;
    color: #9ca3af;
}

.signout-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #ef4444;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.2s ease;
}

.signout-link:hover {
    background: rgba(239, 68, 68, 0.1);
}

.side-user {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #1f2937;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.user-email {
    font-size: 0.75rem;
    color: #9ca3af;
}

.signout-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #ef4444;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.2s ease;
}

.signout-link:hover {
    background: rgba(239, 68, 68, 0.1);
}

.navbar-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.nav-icon {
    font-size: 1.1rem;
    color: #e6edf3;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-icon:hover {
    color: #3b82f6;
}

.card-dark {
    background: #161b22;
    border-radius: 14px;
    border: none;
}

.stat-card {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    border-radius: 14px;
}


.receive-page {
    padding: 16px;
    max-width: 420px;
    margin: auto;
}

.warning-box {
    background: #3a2d10;
    color: #f0c36d;
    padding: 12px;
    border-radius: 10px;
    margin: 15px 0;
    font-size: 14px;
}

.coin-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
}

.coin-badge i {
    color: #f7931a;
    font-size: 22px;
}

.coin-badge small {
    background: #333;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 11px;
}

.qr-card {
    background: #fff;
    color: #000;
    border-radius: 16px;
    padding: 20px;
    width: 200px;
    text-align: center;
}

.qr-card img {
    width: 100%;
}

.wallet-address {
    font-size: 13px;
    word-break: break-all;
    margin-top: 10px;
}

.actions {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.action {
    text-align: center;
    cursor: pointer;
}

.action i {
    font-size: 20px;
    display: block;
    margin-bottom: 6px;
}

.exchange-box {
    background: #1c1c1c;
    padding: 14px;
    border-radius: 14px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.exchange-box small {
    color: #aaa;
}

.asset-row {
    background: #161b22;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
}

.asset-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.asset-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.asset-item:hover {
    background: rgba(255, 255, 255, 0.05);
}


.text-negative {
    color: #ef4444;
}

.text-positive {
    color: #22c55e;
}

/* Bottom nav (mobile only) */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #161b22;
    border-top: 1px solid #30363d;
    z-index: 1000;
}

.nav-item {
    color: #9ca3af;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
    color: #3b82f6;
    transform: translateY(-2px);
}

.activity-item {
    padding: 14px 16px;
    border-bottom: 1px solid #6b7280;
}

.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 14px;
}

.activity-icon.send {
    background-color: #171e26;
    color: #f59e0b;
}

.activity-icon.receive {
    background-color: #171e26;
    color: #f59e0b;
}

.activity-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.activity-date {
    color: #6b7280;
    font-size: 0.8rem;
}

.activity-amount {
    font-weight: 600;
    font-size: 0.95rem;
}

.activity-crypto {
    color: #6b7280;
    font-size: 0.8rem;
}

.portfolio-card {
    border-radius: 16px;
    padding: 20px;
    color: #e5e7eb;
    border: 1px solid #1f2937;
}

.portfolio-icon {
    width: 42px;
    height: 42px;
    background: #16a34a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.portfolio-title {
    font-weight: 600;
}

.portfolio-subtitle {
    color: #9ca3af;
}

.portfolio-value {
    font-weight: 700;
    margin-bottom: 6px;
}

.portfolio-profit {
    color: #22c55e;
    font-weight: 600;
    font-size: 0.9rem;
}

.asset-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #1f2937;
}

.asset-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.asset-right {
    text-align: right;
    font-weight: 600;
}

.coin-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.asset-item i {
    font-size: 1.6rem;
}

.btc {
    color: #f7931a;
}

.eth {
    color: #627eea;
}

.xrp {
    color: #25a768;
}

.ada {
    color: #3cc8c8;
}

.doge {
    color: #c2a633;
}

.coin-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.asset-item small {
    color: #9ca3af;
    font-size: 0.75rem;
}

.coin-select {
    position: relative;
    background: #020617;
    border-radius: 14px;
    padding: 12px;
    cursor: pointer;
}

.coin-selected {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.coin-dropdown {
    display: none;
    position: absolute;
    width: 100%;
    background: #020617;
    border-radius: 14px;
    margin-top: 10px;
    max-height: 260px;
    overflow-y: auto;
    z-index: 100;
}

.coin-option {
    display: flex;
    gap: 10px;
    padding: 12px;
    cursor: pointer;
}

.coin-option:hover {
    background: #060c27;
}

.coin-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.profile-toggle {
    width: 100%;
    background: #111827;
    color: #fff;
    border: none;
    padding: 14px 16px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.profile-toggle i:first-child {
    margin-right: 10px;
}

.profile-form {
    background: #0b1220;
    padding: 16px;
    border-radius: 12px;
    margin-top: 10px;
}

.profile-card {
    max-width: 360px;
    margin: auto;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7931a, #ffb347);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}

.profile-info .info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #f1f1f1;
}

.profile-info .info-item:last-child {
    border-bottom: none;
}

.profile-info i {
    color: #f7931a;
}

.portfolio-card{
    background:rgba(255,255,255,0.04);
    border-radius:18px;
    padding:24px;
    border:1px solid rgba(255,255,255,0.08);
}

/* Individual asset widget */
.asset-card{
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:16px;
    padding:18px;
    height:100%;
    transition:.25s ease;
}

.asset-card:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 30px rgba(0,0,0,0.25);
}

/* Header */
.asset-header{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:14px;
}

.asset-icon{
    width:42px;
    height:42px;
    border-radius:50%;
}

.asset-name{
    font-weight:600;
}

/* Body */
.asset-body{
    margin-bottom:14px;
}

.asset-value{
    font-size:20px;
    font-weight:700;
}

/* Footer */
.asset-footer .progress{
    height:6px;
    background:rgba(255,255,255,0.15);
    border-radius:10px;
    overflow:hidden;
    margin-bottom:6px;
}

.asset-footer .progress-bar{
    background:linear-gradient(135deg,#22c55e,#16a34a);
}

/* ===== Make table transparent ===== */
.admin-coin-table,
.admin-coin-table thead,
.admin-coin-table tbody,
.admin-coin-table tr,
.admin-coin-table th,
.admin-coin-table td {
    background: transparent !important;
}

/* Hover effect (soft glass feel) */
.admin-coin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04) !important;
}

/* Header text contrast */
.admin-coin-table thead th {
    color: #9ca3af; /* subtle gray */
}

/* Table text */
.admin-coin-table td {
    color: #e5e7eb;
}

.admin-coin-table thead th {
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: .03em;
}

.admin-coin-table tbody tr {
    border-radius: 12px;
    transition: background .2s ease;
}

.admin-coin-table tbody tr:hover {
    background: rgba(255,255,255,0.03);
}

.coin-icon-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.status-pill {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-pill.active {
    background: rgba(25,135,84,.15);
    color: #28c76f;
}

.status-pill.disabled {
    background: rgba(108,117,125,.2);
    color: #adb5bd;
}

.btn-soft {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    color: #fff;
}

.btn-soft:hover {
    background: rgba(255,255,255,.12);
}
