/* Reset & base styles */
* {
  box-sizing: border-box;
  margin: 0; padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body, html {
  height: 100%;
  background: linear-gradient(135deg, #2980b9, #6dd5fa);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
  padding: 20px;
}

.login-container {
  background: white;
  padding: 40px 35px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  max-width: 800px;
  width: 450px;
  text-align: center;
}

h1 {
  margin-bottom: 25px;
  color: #2980b9;
  font-weight: 500;
}

label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: bold;
  color: #555;
}


form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

input[type="text"],
input[type="password"] {
  padding: 12px 15px;
  border: 1.8px solid #ccc;
  border-radius: 7px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: #2980b9;
}

button {
  background-color: #2980b9;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #1b5f8a;
}

.links {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.links a {
  color: #2980b9;
  text-decoration: none;
  cursor: pointer;
}

.links a:hover {
  text-decoration: underline;
}

.error-message {
  color: #e74c3c;
  font-weight: 600;
  min-height: 24px;
  margin-top: -10px;
}