body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: white; /* changed background color */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.auth-section {
  width: 100%;
  max-width: 360px;
  padding: 20px;
}

.auth-form {
  background: transparent; /* removed card background */
  padding: 0; /* removed extra padding */
  border-radius: 0; /* removed rounded corners */
  box-shadow: none; /* removed shadow */
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-title {
  text-align: center;
  color: #2e3a70;
  margin-bottom: 8px;
  font-size: 1.4rem; /* slightly smaller */
  font-weight: 600;
}

label {
  font-size: 0.85rem; /* smaller */
  font-weight: 500;
  color: #333;
  text-align: center;
}

input {
  padding: 8px;
  border: 1px solid #bbb;
  border-radius: 6px;
  font-size: 0.85rem; /* smaller */
  background: #fff;
}

input:focus {
  border-color: #4a73ff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(74, 115, 255, 0.15);
}

button {
  padding: 10px;
  background: linear-gradient(135deg, #4a73ff, #3756e4);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 5px;
}

button:hover {
  background: linear-gradient(135deg, #3756e4, #2e3a70);
  transform: translateY(-1px);
}

.switch-auth {
  text-align: center;
  font-size: 0.8rem;
  color: #555;
}

.switch-auth a {
  color: #4a73ff;
  font-weight: 600;
  text-decoration: none;
}

.switch-auth a:hover {
  text-decoration: underline;
}

.flash-messages {
  margin-bottom: 10px;
}

.alert {
  padding: 8px;
  border-radius: 6px;
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 6px;
}

.alert-success { background: #e6ffed; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert-info { background: #e8f1ff; color: #3756e4; border: 1px solid #90caf9; }
.alert-danger { background: #ffeaea; color: #d32f2f; border: 1px solid #ef9a9a; }
