:root {
  --primary: #0059b3;
  --primary-soft: #e6f0ff;
  --danger: #c0392b;
  --danger-bg: #fadbd8;
  --bg: #f4f6f9;
  --text: #333;
}

* {
  box-sizing: border-box;
  font-family: "Sarabun", -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma,
    sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper {
  width: 100%;
  max-width: 1280px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  min-height: 400px;

  max-width: 600px;
  padding: 12px 12px 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.banner {
  text-align: center;
  margin-bottom: 130px;
  width: 100%;
}

.banner img {
  max-width: 100%;
  height: auto;
}

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

label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.input {
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid #ccd1d9;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 89, 179, 0.15);
}

.helper {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}

.footer {
  margin-top: 14px;
  text-align: center;
  font-size: 11px;
  color: #999;
}

.alert-error {
  background-color: var(--danger-bg);
  color: var(--danger);
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  margin-bottom: 20px;
  border: 1px solid #f5b7b1;
}



.btn {
  width: 50%;
  display: block;
  margin: 0 auto;
  border: none;
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  transition: background 0.15s, transform 0.05s;
}
.btn:hover {
  background: #00458a;
}
.btn:active {
  transform: translateY(1px);
}
