/* ============================================
   looksreal.ai — auth.css
   Split from styles.css 2026-04-20 per css-restructure thread.
   ============================================ */
/* Deposit modal */
.deposit-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.deposit-modal { position: relative; background: var(--bg-card); width: 420px; max-width: 90vw; padding: 28px; border: 1px solid var(--border); border-radius: 4px; }
.deposit-modal h3 { margin: 0 0 4px; font-size: 1rem; font-weight: 600; color: var(--text-primary); }
.deposit-subtitle { margin: 0 0 16px; font-size: 0.8rem; color: var(--text-secondary); }
.deposit-close { position: absolute; top: 12px; right: 16px; background: none; border: none; color: var(--text-helper); font-size: 1.5rem; cursor: pointer; }
.deposit-amounts { display: flex; gap: 8px; margin-bottom: 12px; }
.deposit-amounts button { flex: 1; padding: 10px 0; border: 1px solid var(--border); background: transparent; color: var(--text-secondary); font-size: 0.85rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: all 0.15s; }
.deposit-amounts button:hover, .deposit-amounts button.selected { background: var(--ember); color: #fff; border-color: var(--ember); }
.deposit-custom { width: 100%; padding: 10px 12px; border: 1px solid var(--border); background: var(--bg-item); color: var(--text-primary); font-size: 0.85rem; font-family: inherit; margin-bottom: 16px; box-sizing: border-box; }
.deposit-custom:focus { outline: none; border-color: var(--ember); }
.deposit-actions { display: flex; gap: 10px; justify-content: flex-end; }
.deposit-actions button { padding: 10px 24px; font-size: 0.8rem; font-weight: 600; cursor: pointer; font-family: inherit; border: none; transition: all 0.15s; }
.deposit-confirm { background: var(--ember); color: #fff; }
.deposit-confirm:hover { opacity: 0.85; }
.deposit-confirm:disabled { opacity: 0.4; cursor: not-allowed; }
.deposit-cancel { background: transparent; color: var(--text-secondary); border: 1px solid var(--border) !important; }
.deposit-status { font-size: 0.75rem; margin-top: 12px; padding: 8px; text-align: center; }

/* Account modal tabs */
.account-tabs { display: flex; gap: 0; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.account-tab { flex: 1; padding: 10px 0; border: none; background: transparent; color: var(--text-helper); font-size: 0.8rem; font-weight: 600; font-family: inherit; cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.15s; }
.account-tab.active { color: var(--ember); border-bottom-color: var(--ember); }
.account-tab:hover { color: var(--text-primary); }
.account-panel.hidden { display: none; }

/* Transaction history */
.tx-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border-subtle); font-size: 0.8rem; }
.tx-row:last-child { border-bottom: none; }
.tx-left { color: var(--text-primary); font-weight: 500; }
.tx-right { text-align: right; }
.tx-amount { display: block; font-weight: 600; font-family: var(--font-mono); font-size: 0.8rem; }
.tx-date { display: block; color: var(--text-faint); font-size: 0.7rem; }

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 20px;
  width: 100%;
}
.mini-chart-bar {
  flex: 1 0 0;
  min-width: 2px;
  border-radius: 0.5px;
  background: var(--border);
}
.mini-chart-bar.active { background: var(--color-success); }

/* Alerts */
.sidebar-alerts { padding: 0 20px; margin-top: 20px; }

.alert-item { margin-bottom: 6px; padding: 3px 6px; margin-left: -6px; border-radius: 3px; transition: background 0.15s; }
/* Subtle clickable affordance — no underline, no accent color; only hover tint. */
.alert-item[data-clickable="true"] { cursor: pointer; }
.alert-item[data-clickable="true"]:hover { background: var(--bg-app); }
.alert-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
}
.alert-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  flex-shrink: 0;
}
.alert-dot-green { background: var(--color-success); }
.alert-dot-ember { background: var(--ember); }
.alert-dot-signal { background: var(--color-info); }
.alert-text { color: var(--text-helper); }
.alert-time {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--text-dim);
  margin-left: 10px;
}

/* ============================================
   LOGIN MODAL
   ============================================ */

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.login-box {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px;
  width: 360px;
  max-width: 90vw;
}

.login-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-helper);
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-close:hover { color: var(--text-primary); }

.login-title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.login-subtitle {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-helper);
  margin-bottom: 24px;
}

.login-btn {
  display: block;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 10px;
  background: var(--ember);
  color: var(--bg-card);
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.15s;
}
.login-btn:hover { background: var(--flame); }
.login-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ============================================
   CONNECT BUTTON (connected state)
   ============================================ */

.btn-connect.connected {
  border-color: var(--ember);
  color: var(--ember);
}
.btn-connect.connected:hover {
  background: rgba(255, 77, 0, 0.06);
}

