* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5f5f3;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
}

.login-wrapper {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: center;
}

.login-card {
  background: #fff;
  border: 0.5px solid #e0e0da;
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 360px;
}

.login-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.login-icon {
  width: 56px;
  height: 56px;
  background: #EEEDFE;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.login-logo h1 {
  font-size: 20px;
  font-weight: 500;
  color: #1a1a1a;
}

.login-logo p {
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}

.error-msg {
  background: #FCEBEB;
  border: 0.5px solid #F09595;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: #A32D2D;
  margin-bottom: 1rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 13px;
  color: #555;
  display: block;
  margin-bottom: 6px;
}

.input-wrapper {
  display: flex;
  align-items: center;
  border: 0.5px solid #ccc;
  border-radius: 8px;
  padding: 0 12px;
  gap: 8px;
  height: 42px;
  background: #fff;
  transition: border-color 0.2s;
}

.input-wrapper:focus-within {
  border-color: #534AB7;
}

.input-wrapper svg {
  color: #aaa;
  flex-shrink: 0;
}

.input-wrapper input {
  border: none;
  outline: none;
  font-size: 14px;
  width: 100%;
  color: #1a1a1a;
  background: transparent;
}

.pin-aviso {
  font-size: 11px;
  color: #aaa;
  margin-top: 4px;
}

.btn-login {
  width: 100%;
  height: 42px;
  background: #534AB7;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s, transform 0.1s;
}

.btn-login:hover { background: #3C3489; }
.btn-login:active { transform: scale(0.98); }
.btn-login:disabled { background: #aaa; cursor: not-allowed; }

.login-aviso {
  text-align: center;
  font-size: 11px;
  color: #aaa;
  margin-top: 1rem;
}