.btn {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 11px 18px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn-full { width: 100%; }
.btn-sm { min-height: 36px; padding: 8px 12px; font-size: 13px; }
.btn-rose {
  background: linear-gradient(135deg, var(--rose) 0%, var(--accent-dark) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.18);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-color: rgba(17, 24, 39, 0.12);
  backdrop-filter: blur(10px);
}
.btn-danger { background: var(--danger); color: #fff; }
.btn:hover {
  transform: translateY(-1px);
}
.btn-outline:hover {
  border-color: rgba(55, 65, 81, 0.28);
  box-shadow: var(--shadow-soft);
}

.card {
  background: var(--card);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  padding: 18px;
}

.field { margin-bottom: 12px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.84);
}

.field textarea { min-height: 100px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--rose);
  outline: none;
  box-shadow: 0 0 0 4px rgba(55, 65, 81, 0.1);
}

.field.error input,
.field.error select,
.field.error textarea {
  border-color: var(--danger);
}

.error-text {
  color: var(--danger);
  font-size: 12px;
  margin-top: 4px;
}

.check-item {
  display: flex;
  gap: 10px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  min-height: 44px;
  align-items: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.8);
}

.check-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--rose);
}

.badge-verified {
  background: var(--green);
  color: #fff;
  font-size: 11px;
  border-radius: 999px;
  padding: 5px 11px;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-tag,
.pill {
  background: rgba(71, 85, 105, 0.08);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(71, 85, 105, 0.1);
}

.safety-box {
  background: var(--rose-light);
  border: 1px solid var(--rose-mid);
  border-radius: var(--radius);
  padding: 14px;
  color: var(--accent-dark);
}

.toast-wrap {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  min-width: 220px;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.94);
  border-left: 4px solid var(--rose);
  box-shadow: var(--shadow);
  border-radius: 14px;
  padding: 10px 12px;
  animation: toast-in 0.25s ease;
}

.toast.success { border-left-color: var(--green); }
.toast.danger { border-left-color: var(--danger); }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.modal {
  width: min(100%, 440px);
  background: rgba(255, 255, 255, 0.97);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: rgba(248, 250, 252, 0.88);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
}

.topbar .bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Lora', serif;
  color: var(--rose);
  font-size: 24px;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.progress-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.progress-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(71, 85, 105, 0.18);
  transition: all 0.25s;
}

.progress-dots span.active {
  width: 24px;
  background: var(--rose);
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.14), rgba(203, 213, 225, 0.24));
  color: var(--rose);
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 1px solid rgba(71, 85, 105, 0.12);
}

.mobile-menu-btn {
  display: none;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}

.mobile-drawer.open { display: block; }

.mobile-drawer .drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.mobile-drawer .drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(84vw, 320px);
  background: rgba(248, 250, 252, 0.98);
  padding: 16px;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
}

.mobile-drawer.open .drawer-panel { transform: translateX(0); }

.mobile-drawer nav a,
.mobile-drawer nav button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 0;
  min-height: 44px;
  border: 0;
  background: transparent;
  text-decoration: none;
}

@media (max-width: 480px) {
  .toast-wrap {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .toast { max-width: 100%; }

  .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .topbar-links { display: none; }
}
