* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  background:
    radial-gradient(120% 75% at 50% -10%, #c4e9d6 0%, rgba(196, 233, 214, 0) 60%),
    linear-gradient(180deg, #e9f3ee 0%, #d8e6df 100%);
  background-color: #eef4f0;
}

@media (max-width: 767px) {
  html {
    background:
      linear-gradient(180deg, rgba(247, 251, 249, 0.55), rgba(236, 244, 240, 0.68)),
      url('../img/login-bg.jpg') center top / cover no-repeat;
    background-color: #eef4f0;
    background-attachment: fixed;
  }
}

html,
body {
  overscroll-behavior: none;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  margin: 0;
  overflow-x: hidden;
  color: #1a1a1a;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

input,
textarea,
select,
[contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

body.scroll-locked {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

.container {
  max-width: 420px;
  margin: 0 auto;
  padding: 24px;
}

.login-card,
.card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  margin-top: 48px;
}

h1 {
  font-size: 20px;
  margin: 0 0 16px;
}

.field {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.btn-primary {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.error {
  color: #b91c1c;
  min-height: 1.2em;
  margin: 8px 0 0;
}

.ok {
  color: #15803d;
  min-height: 1.2em;
  margin: 8px 0 0;
}

a.btn-primary {
  display: block;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  margin-bottom: 12px;
}

.lista {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.lista li {
  padding: 12px 8px;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}
