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

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

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

.login-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  text-align: center;
}

.login-logo svg {
  fill: #0f1419;
  margin-bottom: 16px;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  color: #0f1419;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 14px;
  color: #536471;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd9de;
  border-radius: 8px;
  font-size: 15px;
  color: #0f1419;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
}

.form-group input:focus {
  border-color: #1d9bf0;
  box-shadow: 0 0 0 3px rgba(29, 155, 240, 0.1);
}

.form-group input::placeholder {
  color: #8b98a5;
}

.error-msg {
  background: #fef2f2;
  color: #f4212e;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 16px;
  text-align: left;
}

.hidden { display: none; }

.btn-login {
  width: 100%;
  padding: 12px;
  background: #0f1419;
  color: #fff;
  border: none;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-login:hover { opacity: 0.9; }
.btn-login:disabled { opacity: 0.5; cursor: not-allowed; }
