
body {
  margin: 0;
  padding: 0;
  background-color: #f5f8fc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-box {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 360px;
  box-sizing: border-box;
}

.logo {
  width: 48px;
  height: 48px;
  display: block;
  margin: 0 auto 16px;
}

h2 {
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 24px;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

input[type="text"],
input[type="password"] {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 16px;
}

.checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.checkbox input[type="checkbox"] {
  margin-right: 8px;
}

button {
  padding: 12px;
  background-color: #2f65f9;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 4px;
}

button:hover {
  background-color: #224cce;
}

.spinner {
  display: none;
  margin: 20px auto 0;
  border: 6px solid #f3f3f3;
  border-top: 6px solid #2f65f9;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.error-message {
  color: red;
  margin-bottom: 16px;
  text-align: center;
}
