@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background: linear-gradient(to bottom right, #0a0f2d, #1a237e);
  color: #e0e0e0;
  min-height: 100vh;
  line-height: 1.6;
  padding: 20px;
}

.header {
  background: rgba(10, 15, 45, 0.9);
  padding: 15px 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header nav a {
  color: #82aaff;
  font-weight: 500;
  font-size: 1.1rem;
  margin-left: 25px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header nav a:hover {
  color: #c2e0ff;
}

h1, h2, h3 {
  color: #ffffff;
  margin-bottom: 15px;
}

section {
  background: rgba(20, 30, 70, 0.7);
  padding: 25px 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 0 10px rgba(10, 15, 45, 0.8);
}

button, input[type="submit"] {
  background: #3f51b5;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover, input[type="submit"]:hover {
  background: #5c6bc0;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="search"] {
  width: 100%;
  padding: 10px 15px;
  margin-top: 8px;
  margin-bottom: 15px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #eee;
  font-size: 1rem;
  transition: background 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.error-message {
  background: rgba(255, 0, 0, 0.85);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

footer {
  text-align: center;
  padding: 20px 0;
  color: #aaa;
  font-size: 0.9rem;
  user-select: none;
}

@media (max-width: 600px) {
  .header {
    flex-direction: column;
    text-align: center;
  }
  .header nav a {
    margin: 10px 15px 0 15px;
  }
}

