/* ===== BUTTONS ===== */
.btn {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.18s;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary {
  background: var(--accent); color: #0d0f14;
  padding: 10px 20px; font-size: 0.9rem;
}
.btn-primary:hover { background: #f0d060; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(232,200,74,0.3); }
.btn-secondary {
  background: var(--surface2); color: var(--text);
  padding: 10px 18px; font-size: 0.85rem;
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--border); }
.btn-danger {
  background: rgba(248,113,113,0.12); color: var(--red);
  border: 1px solid rgba(248,113,113,0.25);
  padding: 8px 14px; font-size: 0.8rem;
}
.btn-danger:hover { background: rgba(248,113,113,0.2); }
.btn-sm { padding: 7px 14px; font-size: 0.8rem; }
.btn-icon { background: transparent; color: var(--muted); padding: 6px; border-radius: 6px; font-size: 1rem; }
.btn-icon:hover { color: var(--text); background: var(--surface2); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }

/* ===== INPUTS ===== */
.input-field {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  border-radius: 10px;
  padding: 11px 16px;
  flex: 1;
  transition: border-color 0.2s;
  outline: none;
  min-width: 0;
}
.input-field:focus { border-color: var(--accent); }
.input-field::placeholder { color: var(--muted); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.2s;
  padding: 16px;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: slideUp 0.25s ease;
}
.modal h3 { font-family: 'Unbounded', sans-serif; font-weight: 700; margin-bottom: 12px; }
.modal .modal-body {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; }

/* ===== TOAST ===== */
#toast-container {
  position: fixed;
  bottom: calc(20px + var(--safe-bottom));
  right: 16px; left: 16px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  align-items: center;
}
.toast {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 0.85rem;
  animation: toastIn 0.3s ease;
  max-width: 360px;
  width: fit-content;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  pointer-events: auto;
}
.toast.success { border-color: rgba(74,222,128,0.3); color: var(--green); }
.toast.warning { border-color: rgba(245,158,11,0.3); color: var(--barrel); }
.toast.error   { border-color: rgba(248,113,113,0.3); color: var(--red); }
