:root {
	--green: #2BBC89;
	--green-hover: #23a377;
	--gray-line: #e5e7eb;
	--text: #111827;
	--bg: #f9fafb;
}

html, body {
	height: 100%;
	margin: 0;
	padding: 0;
}


body {
	font-family: 'Nunito', system-ui, -apple-system, sans-serif;
	background: var(--bg);
	color: var(--text);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	padding-bottom: env(safe-area-inset-bottom, 0);
}

input,
button,
select,
textarea,
a {
  font-family: inherit;
}

header {
	display: flex;
	align-items: center;
	background: #fff;
	padding: 12px 24px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

header img {
	height: 42px;
}

footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 66px;
	line-height: 66px;
	padding: 0 24px;
	font-size: 14px;
	color: #6b7280;
	background: #fff;
	border-top: 1px solid #e5e7eb;
	box-sizing: border-box;
}

footer a {
	color: #6b7280;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}
/* ======= TOPBAR / NAVIGATION ======= */

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 8px 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 10;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-logo {
  height: 42px;
}

/* Navigation buttons */
.topbar-nav {
  display: flex;
  gap: 10px;
}

.nav-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  color: #374151;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background: rgba(43, 188, 137, 0.08);
  color: var(--green);
  border-color: rgba(43, 188, 137, 0.15);
}

.nav-btn-active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.topbar-right {
  position: relative;
}

.user-btn {
  border: none;
  background: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 9999px;
  transition: background 0.2s ease;
  display: inline-flex;
}

.user-btn:hover {
  background: rgba(43, 188, 137, 0.08);
}

.user-btn img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
