/* Use a clean, modern font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  background: #121212; /* Slightly lighter black for less eye strain */
  color: #eee;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

nav {
  background-color: #1c1c1c;
  padding: 15px 0;
  text-align: center;
  border-bottom: 2px solid #333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 30px;
}

nav a {
  color: #4da6ff; /* Softer blue */
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #fff;
}

nav a.active {
  color: #ff4d4d; /* Clear red for active page */
  text-shadow: 0 0 3px #ff4d4d;
}

main {
  max-width: 700px;
  margin: 40px auto;
  padding: 0 20px;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #ccc;
}

input, textarea {
    padding: 12px 15px;
    background: #222;
    color: #eee;
    border: 1.5px solid #444;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    outline-offset: 2px;
    margin-bottom: 20px;
}

input:focus, textarea:focus {
  border-color: #4da6ff;
  outline: none;
  box-shadow: 0 0 6px #4da6ffaa;
}

button {
    padding: 12px;
    background: #4da6ff;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
    min-width: 120px;
    margin-top: 20px;
}

button:hover {
  background: #357abd;
}

.warning {
  background: #660000cc;
  padding: 18px 20px;
  margin-top: 25px;
  border-radius: 6px;
  color: #ffb3b3;
  font-weight: 600;
  box-shadow: 0 0 10px #660000aa;
}

/* Responsive tweak */
@media (max-width: 480px) {
  nav ul {
    flex-direction: column;
    gap: 15px;
  }
  main {
    padding: 0 15px;
  }
  button {
    width: 100%;
    min-width: unset;
  }
}
