/* =========================================
   LOGIN ADMINISTRATIVO
========================================= */

.admin-body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(
      circle at top left,
      rgba(183, 138, 58, 0.18),
      transparent 36%
    ),
    linear-gradient(135deg, #f8f6f1, #eee9df);
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.admin-login-card {
  width: min(100%, 480px);
  padding: 46px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(183, 138, 58, 0.2);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(27, 27, 27, 0.14);
  backdrop-filter: blur(16px);
}

.admin-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.admin-logo img {
  width: 220px;
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.admin-login-titulo {
  text-align: center;
  margin-bottom: 32px;
}

.admin-login-titulo > span {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.admin-login-titulo h1 {
  margin: 8px 0 13px;
  font: 700 48px/1 "Cormorant Garamond", serif;
}

.admin-login-titulo p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.admin-form {
  display: grid;
  gap: 21px;
}

.admin-campo {
  display: grid;
  gap: 8px;
}

.admin-campo label {
  font-size: 13px;
  font-weight: 600;
}

.admin-input {
  position: relative;
  display: flex;
  align-items: center;
}

.admin-input > i {
  position: absolute;
  left: 17px;
  color: var(--gold);
  pointer-events: none;
}

.admin-input input {
  width: 100%;
  height: 54px;
  padding: 0 50px 0 47px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #fbfaf8;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: 0.25s;
}

.admin-input input:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(183, 138, 58, 0.12);
}

.admin-input input::placeholder {
  color: #aaa;
}

.admin-ver-senha {
  position: absolute;
  right: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #777;
  cursor: pointer;
}

.admin-ver-senha:hover {
  background: #eee9df;
  color: var(--gold-dark);
}

.admin-botao-principal {
  width: 100%;
  min-height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s;
}

.admin-botao-principal:hover:not(:disabled) {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(183, 138, 58, 0.3);
}

.admin-botao-principal:disabled {
  cursor: wait;
  opacity: 0.7;
}

.admin-mensagem {
  display: none;
  padding: 13px 15px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
}

.admin-mensagem.erro {
  display: block;
  background: #fff1f1;
  border: 1px solid #f2bcbc;
  color: #a52727;
}

.admin-mensagem.sucesso {
  display: block;
  background: #effaf2;
  border: 1px solid #b9e4c3;
  color: #247237;
}

.admin-voltar-site {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 27px;
  color: var(--muted);
  font-size: 13px;
}

.admin-voltar-site:hover {
  color: var(--gold-dark);
}

@media (max-width: 540px) {
  .admin-login {
    padding: 20px 14px;
  }

  .admin-login-card {
    padding: 35px 22px;
    border-radius: 22px;
  }

  .admin-logo img {
    width: 185px;
    max-height: 125px;
  }

  .admin-login-titulo h1 {
    font-size: 42px;
  }
}