* {
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}
body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}
.container {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 150px rgba(0, 0, 0, 0.15);
  border: 1px solid #ccc;
  font-weight: 500;
}
h2 {
  text-align: center;
  margin-bottom: 1rem;
}
.form-group {
  margin-bottom: 1rem;
  position: relative;
}
label {
  display: block;
  margin-bottom: 5px;
}
input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  padding: 10px;
  padding-right: 40px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.toggle-password {
  position: absolute;
  right: 10px;
  top: 38px;
  cursor: pointer;
  color: #555;
}
.inline-feedback {
  font-size: 0.85rem;
  color: red;
  margin-top: 5px;
}
.btn {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  text-align: center;
}
.btn:disabled {
  background-color: #999;
}
.spinner {
  display: none;
  width: 24px;
  height: 24px;
  margin: 0 auto;
  border: 3px solid #f3f3f3;
  border-top: 3px solid black;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-top: 1rem;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.login-page {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: black;
  text-decoration: none;
}
.logo {
  text-align: center;
  margin-bottom: 20px;
}
.logo i {
  font-size: 3em;
  color: #667eea;
  animation: rotate 2s linear infinite;
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
