:root {
  --primary-color: #1f5f8a;
  /* Blue from Home */
  --accent-color: #2c3e50;
  --bg-color: #e8fff1;
  /* Light Mint from Home */
  --text-color: #111111;
  --btn-bg: #d9d9d9;
  --btn-border: #1f5f8a;
  --header-height: 70px;
  --input-bg: #e0e0e0;
  /* Grey for read-only/pills */
  --input-radius: 20px;
  /* Rounded corners like image 2 */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  min-height: 100vh;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-size: 18px;
}

/* Header */
.nav {
  height: var(--header-height);
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  flex-shrink: 0;
}

.nav-icon {
  color: #ffffff;
  font-size: 24px;
  text-decoration: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.nav-icon:active {
  background: rgba(255, 255, 255, 0.2);
}

/* Layout */
.wrap {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.menu {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Buttons */
.btn {
  display: block;
  width: 100%;
  background-color: var(--btn-bg);
  border: none;
  color: #000;
  text-decoration: none;
  padding: 20px;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  border-radius: 8px;
  /* Slightly less rounded than inputs for buttons */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.1s;
}

.btn:active {
  transform: translateY(2px);
  background-color: #ccc;
}

/* Inputs (Global) */
.input,
.select,
.pill {
  width: 100%;
  padding: 12px 20px;
  font-size: 18px;
  border: 1px solid transparent;
  /* Cleaner look */
  border-radius: var(--input-radius);
  margin-top: 5px;
  background: var(--input-bg);
  color: black;
  font-weight: 600;
}

.label {
  font-weight: 700;
  font-size: 18px;
  color: #000;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .wrap {
    padding: 15px;
  }

  .nav {
    padding: 0 15px;
  }

  .btn {
    padding: 15px;
    font-size: 18px;
  }

  .input,
  .select,
  .pill {
    padding: 10px 15px;
    font-size: 16px;
    height: 50px;
  }

  .label {
    font-size: 16px;
  }
}

/* PWA Status Badge */
#pwa-status {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  z-index: 1000;
  pointer-events: none;
  /* Don't interfere with clicks */
  white-space: nowrap;
}