/* H585 · Login unificado (croqui do Alex 17/07): painel de marca à esquerda,
 * cartão único com abas Gestor/Operador à direita. */

.login-uni-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
  background: #eef4f7;
}
.login-uni-brand {
  background: linear-gradient(160deg, #0b223d 0%, #0f3d52 55%, #0f766e 100%);
  color: #fff;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 0 26px 26px 0;
}
.login-uni-brand img {
  width: min(240px, 70%);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
}
.login-uni-brand .eyebrow {
  color: #facc15;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 800;
  margin: 0 0 6px;
}
.login-uni-brand h1 { margin: 0 0 8px; font-size: 1.9rem; line-height: 1.15; }
.login-uni-brand p { margin: 0; color: #cfe0f2; font-weight: 600; max-width: 34ch; }

.login-uni-main {
  display: grid;
  place-items: center;
  padding: 32px 20px;
}
.login-uni-card {
  width: min(430px, 100%);
  background: #fff;
  border: 1px solid #d8e2ee;
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, .14);
  overflow: hidden;
}
.login-uni-tabs { display: flex; border-bottom: 1px solid #e2e9f2; }
.login-uni-tabs button {
  flex: 1;
  border: 0;
  background: #f4f8fc;
  padding: 15px 10px;
  font-size: .95rem;
  font-weight: 800;
  color: #64748b;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: background-color .16s ease, color .16s ease;
}
.login-uni-tabs button[aria-selected="true"] {
  background: #fff;
  color: #0b223d;
  border-bottom-color: #0f9f91;
}
.login-uni-body { padding: 22px 24px 20px; }
.login-uni-body .login-form { display: grid; gap: 12px; }
.login-uni-body .login-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
  font-size: .85rem;
  color: #22364d;
}
.login-uni-body .login-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #c9d6e5;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 1rem;
  box-sizing: border-box;
}
.login-uni-body .login-form input:focus-visible { outline: 2px solid #0f9f91; outline-offset: 1px; }
.login-uni-body .login-form button[type="submit"] {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: #0f9f91;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  margin-top: 4px;
}
.login-uni-body .login-form button[type="submit"]:hover { background: #14b8a6; }
.login-feedback { color: #b91c1c; font-weight: 700; min-height: 1em; }
.login-uni-links {
  text-align: center;
  margin: 14px 0 0;
  font-size: .88rem;
  font-weight: 700;
}
.login-uni-links a { color: #0f766e; text-decoration: none; }
.login-uni-links a:hover { text-decoration: underline; }
.login-uni-hint { margin: 10px 0 0; font-size: .8rem; color: #64748b; text-align: center; }

/* Primeiro acesso (gestor) reaproveita o cartão abaixo do principal */
.login-uni-first { margin-top: 16px; }

@media (max-width: 860px) {
  .login-uni-shell { grid-template-columns: 1fr; }
  .login-uni-brand {
    border-radius: 0 0 22px 22px;
    padding: 26px 22px;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .login-uni-brand img { width: 92px; }
  .login-uni-brand h1 { font-size: 1.25rem; }
  .login-uni-brand p { display: none; }
}
