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

body {
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-size: 14px;
}

.login-wrap {
  width: 100%;
  max-width: 380px;
  padding: 16px;
}

.card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 40px 36px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -1px rgba(0,0,0,.04);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 17px;
  color: #0f172a;
  letter-spacing: -.3px;
  margin-bottom: 6px;
}
.logo svg { color: #2563eb; flex-shrink: 0; }

.subtitle {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 28px;
}

.field { margin-bottom: 16px; }

label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 5px;
}

input[type=email], input[type=password] {
  width: 100%;
  padding: 8px 11px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  color: #0f172a;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  outline: none;
  transition: border-color .12s, box-shadow .12s;
}
input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

.btn-submit {
  width: 100%;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 9px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .12s;
  margin-top: 8px;
}
.btn-submit:hover { background: #1d4ed8; }
.btn-submit:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }

.error-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  color: #dc2626;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
}
