/* login.css */
body {
  font-family: Arial, sans-serif;
  background: #f0f4f8;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

header {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 1.5rem;
  color: teal;
  font-weight: bold;
}

.form {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  width: 300px;
  text-align: center;
}

.form h1 {
  margin-bottom: 20px;
  color: teal;
}

label {
  display: block;
  margin: 10px 0 5px;
  text-align: left;
  font-weight: bold;
}

input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  width: 100%;
  padding: 12px;
  background: teal;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #006666;
}

button.loading {
  background: #075252;
  color: #fff;
  position: relative;
}

button.loading span {
  animation: fade 1s infinite alternate;
}

@keyframes fade {
  from { opacity: 0.5; }
  to { opacity: 1; }
}
form .error p {
   color: red;
   text-align: center;
}


