@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Space Grotesk", "SF Pro Text", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  background: #f8f8f8;
  color: #111;
}

a {
  color: inherit;
  text-decoration: none;
}

.nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 20;
}

.nav a {
  text-decoration: none;
  display: block;
}

.nav button {
  all: unset;
  display: block;
  width: 100%;
}

.nav .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
}

.nav .item svg {
  width: 22px;
  height: 22px;
}

.toast {
  position: fixed;
  top: 16px;
  right: 16px;
  background: #0ea5e9;
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 30;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast .toast-undo {
  margin-left: 10px;
  padding: 4px 8px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
  z-index: 40;
}

.modal .card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  min-width: 260px;
  max-width: 90vw;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

.modal .card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.modal .card label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.modal .card input,
.modal .card textarea {
  width: 100%;
  border: 1px solid #d0d4dc;
  border-radius: 10px;
  padding: 10px;
  font-size: 14px;
  font-family: inherit;
}

.modal .card textarea {
  min-height: 120px;
  resize: vertical;
}

.profile-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.profile-actions button {
  border: none;
  background: #f29c3e;
  color: #fff;
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.profile-actions button:nth-child(2) {
  background: #e5e7eb;
  color: #1f2937;
}
