* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #0d1117;
  color: #c9d1d9;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  width: 100%;
  max-width: 400px;
  padding: 16px;
}

.login-box {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
  padding: 40px 32px 32px;
  text-align: center;
}

.login-logo {
  margin-bottom: 8px;
}

.login-logo svg {
  height: 48px;
  width: auto;
}

.login-subtitle {
  font-size: 14px;
  color: #8b949e;
  margin-bottom: 32px;
  letter-spacing: 0.5px;
}

form {
  text-align: left;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #c9d1d9;
  margin-bottom: 6px;
}

.form-field input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 6px;
  color: #c9d1d9;
  outline: none;
  transition: border-color 0.15s;
}

.form-field input:focus {
  border-color: #FF6E00;
}

.form-field input::placeholder {
  color: #484f58;
}

button[type="submit"] {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  background: #FF6E00;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 4px;
}

button[type="submit"]:hover {
  background: #e66300;
}

button[type="submit"]:disabled {
  background: #6e3800;
  cursor: wait;
}

.forgot-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: #FF6E00;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.login-footer {
  text-align: center;
  margin-top: 24px;
}

.login-footer p {
  font-size: 12px;
  color: #484f58;
}

.error-msg {
  background: #3d1a1a;
  border: 1px solid #6e3030;
  color: #f85149;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 20px;
  text-align: left;
  display: none;
}

.error-msg.visible {
  display: block;
}
