body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  color: #333;
}

/* Shared header styling */
header {
  background: linear-gradient(90deg, #2E7D32, #66BB6A);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

header h2 {
  margin: 0;
  font-weight: 600;
}

.header-actions {
  display: flex;
  gap: 12px;
}

.settings-btn, .logout-btn {
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 15px;
  cursor: pointer;
  color: white;
  font-weight: 500;
  transition: background 0.2s ease;
}

.settings-btn:hover, .logout-btn:hover {
  background: rgba(255,255,255,0.3);
}

/* Login Page */
.login-page {
  background: url("assets/tennis-bg.jpg") no-repeat center center fixed;
  background-size: cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-container {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.25);
  width: 360px;
  text-align: center;
}

.login-container h1 {
  color: #2E7D32;
  margin-bottom: 10px;
  font-size: 28px;
}

.tagline {
  font-style: italic;
  color: #777;
  margin-bottom: 25px;
}

.login-container input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
}

.login-container button {
  width: 100%;
  padding: 12px;
  background: #43A047;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  color: white;
  font-weight: 600;
}

.login-container button:hover {
  background: #388E3C;
}

.links {
  margin-top: 15px;
}
.links a {
  color: #2E7D32;
  text-decoration: none;
  font-weight: 500;
}
.links a:hover {
  text-decoration: underline;
}

/* Generic Page Styling */
.page {
  display: none;
  padding: 20px;
}

.page.active {
  display: block;
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #2E7D32;
  display: flex;
  justify-content: space-around;
  padding: 12px;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
}

.bottom-nav button {
  color: white;
  background: transparent;
  border: none;
  font-size: 16px;
  cursor: pointer;
  font-weight: 500;
}

.bottom-nav button:hover {
  text-decoration: underline;
}
