:root {
  --bg: #f5fafa;
  --text: #0f172a;
  --border: #e2e8f0;
  --primary: rgb(15, 118, 110);
  --primary-hover: rgb(15, 118, 110);
  --danger: #b91c1c;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
}

.LoginPage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
}

.LoginForm {
  width: 360px;
  max-width: 90vw;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.logo {
  margin-bottom: 20px;
  text-align: center;
}

.logo img {
  max-width: 50%;
  height: auto;
}

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

label.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

input,
select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #ffffff;
  font-size: 14px;
  color: var(--text);
}

input:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  outline: none;
}

select:invalid {
  color: #94a3b8;
}

.helper {
  margin-top: 6px;
  font-size: 12px;
  color: #64748b;
}

.error {
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--danger-border);
  background: var(--danger-bg);
  color: var(--danger);
  font-size: 13px;
}

button {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 6px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

button:hover:not(:disabled) {
  background: var(--primary-hover);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}
