/* ====== RESET & BASICS ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* ====== NAVBAR ====== */
.navbar {
  background-color: #2c3e50;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  background: #fff;
  color: #1abc9c;
  border: 2px solid #1abc9c;
  border-radius: 25px;
  padding: 8px 22px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: none;
  display: inline-block;
}

.nav-links li a:hover,
.nav-links li a:focus {
  background: #1abc9c;
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,188,156,0.15);
  outline: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

/* Navbar Auth Buttons */
.auth-btn,
.login-btn,
.signup-btn {
  display: inline-block;
  padding: 8px 22px;
  margin: 0 5px;
  border-radius: 25px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.login-btn {
  background: #fff;
  color: #1abc9c;
  border: 2px solid #1abc9c;
  font-weight: 600;
  border-radius: 25px;
  padding: 8px 22px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: none;
}

.login-btn:hover,
.login-btn:focus {
  background: #1abc9c;
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,188,156,0.15);
  outline: none;
}

.signup-btn {
  background: #007bff;
  color: #fff;
  border: 2px solid #007bff;
}

.signup-btn:hover,
.signup-btn:focus {
  background: #0056b3;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,86,179,0.15);
  outline: none;
}

/* ====== SIGNUP/LOGIN FORM PAGE ====== */
.form-page {
  max-width: 400px;
  margin: 4rem auto;
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(44,62,80,0.08);
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.7s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: none;
  }
}

.form-page h2 {
  margin-bottom: 1.5rem;
  color: #007bff;
}

.form-page form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-page input {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-page button {
  padding: 0.8rem;
  background-color: #1abc9c;
  border: none;
  color: #fff;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.form-page button:hover {
  background-color: #16a085;
}

.form-page p {
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* ====== RESPONSIVE MENU ====== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #2c3e50;
    position: absolute;
    top: 70px;
    left: 0;
    padding: 1rem 2rem;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}