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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  font-size: 14px;
  background: #f0f2f5;
  color: #111827;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-wrap { width: 100%; padding: 24px; }

.login-card {
  max-width: 380px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.login-logo {
  width: 32px;
  height: 32px;
  background: #3b6ef5;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-title {
  font-weight: 600;
  font-size: 16px;
}

.login-heading {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #4b5563;
}

input {
  padding: 10px 13px;
  border: 1.5px solid #e4e7ec;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #111827;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

input:focus {
  border-color: #3b6ef5;
  box-shadow: 0 0 0 3px rgba(59,110,245,.12);
}

.error-msg {
  margin-bottom: 14px;
  padding: 10px 14px;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  color: #b91c1c;
  font-size: 13px;
}

.btn-login {
  width: 100%;
  margin-top: 8px;
  padding: 11px;
  background: #3b6ef5;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
}

.btn-login:hover { background: #2d5ce6; }
.btn-login:disabled { background: #93c5fd; cursor: default; }
