:root {
  --bg-color: #070b0a;
  --panel-bg: rgba(255, 255, 255, 0.03);
  --border-color: rgba(255, 255, 255, 0.1);
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #5ed29c;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --font-main: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Toasts */
.cobox-toast {
  position: fixed;
  top: 5.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(-14px);
  opacity: 0;
  min-width: min(420px, calc(100vw - 2rem));
  padding: 0.9rem 1.15rem;
  border-radius: 0;
  background: rgba(7, 11, 10, 0.94);
  border: 1px solid rgba(255,255,255,0.14);
  color: #f8fafc;
  box-shadow: 0 16px 42px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 99999;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: left;
  text-transform: uppercase;
  white-space: normal;
  pointer-events: none;
}
.cobox-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast-success { border-left: 2px solid #5ed29c; }
.toast-error   { border-left: 2px solid #e62e2d; }
.toast-info    { border-left: 2px solid rgba(255,255,255,0.5); }
.toast-warning { border-left: 2px solid #d9a441; color: #f8fafc; }

/* Spinner */
.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255,255,255,0.1);
  border-left-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Blur util for vault passwords */
.blur-sm { filter: blur(4px); transition: filter 0.2s; cursor: pointer; }
.blur-sm:hover { filter: none; }

/* Note Tag UI */
.tag-note {
  background: #000000;
  color: #fff;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.note-box {
  margin-top: 8px;
  padding: 10px 12px;
  background: #000000;
  border: 1px solid #444;
  border-radius: 0;
  position: relative;
  font-size: 12px;
  color: #e0e0e0;
}
.note-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  color: #aaa;
  font-size: 16px;
  cursor: pointer;
}
.note-close:hover {
  color: #fff;
}
.note-content {
  padding-right: 16px;
}
