/* assets/css/loja153.css — Gerencial Loja153 Core v1.6-menu-limpo */

:root {
  --preto: #0b0b0b;
  --preto-2: #151515;
  --branco: #ffffff;
  --fundo: #f3f3f3;
  --off: #efe7da;
  --card: #f7f4ef;
  --cinza: #777777;
  --cinza-2: #a7a7a7;
  --cinza-claro: #e7e7e7;
  --borda: rgba(0, 0, 0, .08);
  --erro: #c0392b;
  --sucesso: #1a7a3c;
  --radius: 18px;
  --radius-sm: 10px;
  --sombra-login: 0 26px 90px rgba(0, 0, 0, .42);
  --sombra-card: 0 18px 55px rgba(0, 0, 0, .07);
  --sombra-card-hover: 0 26px 80px rgba(0, 0, 0, .13);
}

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

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  font-family: Verdana, Arial, sans-serif;
  background: var(--fundo);
  color: var(--preto);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#app-loading {
  display: none;
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 9999;
  padding: 9px 18px;
  background: rgba(0, 0, 0, .88);
  color: var(--off);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

/* LOGIN */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 12%, rgba(239, 231, 218, .13), transparent 30%),
    linear-gradient(135deg, #040404 0%, #0b0b0b 48%, #030303 100%);
}

.login-card {
  width: min(100%, 370px);
  padding: 38px 34px 32px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 24px;
  box-shadow: var(--sombra-login);
}

.logo-login {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 34px;
}

.logo-login img {
  height: 42px;
  width: auto;
}

.campo {
  position: relative;
  margin-bottom: 13px;
}

.campo input {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(0, 0, 0, .13);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .72);
  color: var(--preto);
  font-size: 14px;
  font-weight: 600;
  outline: none;
  transition: border-color .15s, background .15s, box-shadow .15s;
}

.campo input::placeholder {
  color: #8e8a84;
  font-weight: 600;
}

.campo input:focus {
  border-color: rgba(0, 0, 0, .58);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .06);
}

.campo-senha input {
  padding-right: 78px;
}

.btn-toggle-senha {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #6d6860;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 2px;
}

.btn-toggle-senha:hover,
.btn-toggle-senha:focus-visible {
  color: var(--preto);
  outline: none;
}

.btn-principal {
  width: 100%;
  height: 48px;
  margin-top: 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--preto);
  color: var(--branco);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .12s, opacity .15s, background .15s;
}

.btn-principal:hover {
  background: #000;
}

.btn-principal:active {
  transform: scale(.99);
}

.btn-principal:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.erro {
  min-height: 18px;
  margin-top: 13px;
  color: var(--erro);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

/* APP */
.app-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -20%, rgba(239, 231, 218, .55), transparent 34%),
    var(--fundo);
}

.app-topo {
  height: 64px;
  background: var(--preto);
  color: var(--branco);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.topo-esquerda {
  display: flex;
  align-items: center;
}

.marca {
  display: flex;
  align-items: center;
}

.marca img {
  height: 30px;
  width: auto;
}

.btn-secundario {
  height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 9px;
  background: rgba(255, 255, 255, .08);
  color: var(--branco);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.btn-secundario:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .32);
}

.container {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 44px 28px;
}

.container-menu {
  width: min(100%, 980px);
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 54px;
}

.titulo-pagina {
  margin-bottom: 28px;
}

.titulo-centralizado {
  text-align: center;
}

.titulo-pagina h1 {
  margin-bottom: 7px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.titulo-pagina p {
  color: var(--cinza);
  font-size: 13px;
  line-height: 1.5;
}

.menu-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.card-menu {
  position: relative;
  min-height: 148px;
  width: 286px;
  padding: 23px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--borda);
  border-radius: 22px;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--sombra-card);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.card-menu::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--preto);
  opacity: .92;
}

.card-menu:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: rgba(0, 0, 0, .14);
  box-shadow: var(--sombra-card-hover);
}

.card-menu-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--preto);
  color: var(--off);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.card-menu-conteudo {
  display: block;
  margin-top: 19px;
}

.card-menu strong {
  display: block;
  color: var(--preto);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
}

.card-menu small {
  display: block;
  margin-top: 8px;
  color: var(--cinza);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.card-menu-arrow {
  position: absolute;
  right: 22px;
  bottom: 21px;
  color: var(--cinza-2);
  font-size: 18px;
  transition: transform .16s, color .16s;
}

.card-menu:hover .card-menu-arrow {
  color: var(--preto);
  transform: translateX(4px);
}

.menu-financeiro .card-menu {
  width: 300px;
}

.acoes-pagina {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.btn-ghost {
  min-height: 38px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--borda);
  border-radius: 10px;
  background: rgba(255, 255, 255, .70);
  color: var(--preto);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.btn-ghost:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, .16);
}

.box {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--borda);
  box-shadow: var(--sombra-card);
}

.muted {
  color: var(--cinza);
  font-size: 13px;
}

.texto-centro {
  text-align: center;
}

.status-ok {
  color: var(--sucesso);
  font-weight: 700;
}

.status-erro {
  color: var(--erro);
  font-weight: 700;
}

@media (max-width: 920px) {
  .container-menu {
    width: min(100%, 720px);
  }

  .card-menu,
  .menu-financeiro .card-menu {
    width: calc(50% - 9px);
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .login-wrapper {
    padding: 20px;
  }

  .login-card {
    padding: 32px 24px 26px;
    border-radius: 22px;
  }

  .logo-login img {
    height: 36px;
  }

  .app-topo {
    height: 58px;
    padding: 0 18px;
  }

  .marca img {
    height: 26px;
  }

  .container,
  .container-menu {
    padding: 32px 18px;
  }

  .titulo-pagina h1 {
    font-size: 22px;
  }

  .menu-grid {
    gap: 12px;
  }

  .card-menu,
  .menu-financeiro .card-menu {
    width: 100%;
    min-height: 132px;
    padding: 20px;
    border-radius: 18px;
  }
}

/* Ajustes v1.6 — menu limpo, sem siglas e sem aviso técnico */
.card-menu {
  min-height: 138px;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 28px 24px;
}

.card-menu-icon {
  display: none !important;
}

.card-menu-conteudo {
  margin-top: 0;
  width: 100%;
}

.card-menu strong {
  font-size: 19px;
  letter-spacing: -0.025em;
}

.card-menu small {
  max-width: 210px;
  margin: 10px auto 0;
}

.card-menu-arrow {
  right: 22px;
  bottom: 18px;
  font-size: 17px;
}

.card-menu-badge {
  right: 50%;
  transform: translateX(50%);
  bottom: 16px;
}

.card-menu-desativado {
  text-align: center;
}

@media (max-width: 640px) {
  .card-menu,
  .menu-financeiro .card-menu {
    min-height: 124px;
    padding: 24px 20px;
  }

  .card-menu strong {
    font-size: 18px;
  }
}
