/* Movimentacao de Funcionarios — complementos sobre o estilo do formulario */

/* ---------------------------------------------------------------- login */
.tela-login {
  position: fixed; inset: 0; display: flex; align-items: center;
  justify-content: center; padding: 20px;
  background: linear-gradient(135deg, var(--azul), var(--azul-claro));
}
.login-caixa {
  background: var(--branco); border-radius: 14px; padding: 42px 36px;
  max-width: 400px; width: 100%; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.login-caixa h1 { font-size: 1.3rem; margin: 16px 0 6px; }
.login-caixa p { color: var(--texto-fraco); margin-bottom: 26px; font-size: .9rem; }
.login-caixa .marca-logo {
  display: inline-block; background: var(--azul); color: var(--branco);
  padding: 10px 16px; border-radius: 10px; font-weight: 700; letter-spacing: 1px;
}
.btn-ms {
  width: 100%; display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 13px; border: 1px solid var(--borda); border-radius: 8px;
  background: var(--branco); font-size: .95rem; font-weight: 600;
  font-family: inherit; cursor: pointer;
}
.btn-ms:hover { background: var(--fundo); border-color: var(--azul-claro); }
.login-erro { color: var(--acento); font-size: .85rem; margin-top: 16px; min-height: 20px; }

/* ----------------------------------------------------------------- topo */
.topo-direita { display: flex; align-items: center; gap: 12px; }
.usuario { display: flex; flex-direction: column; align-items: flex-end; }
.usuario-nome { font-size: .85rem; font-weight: 600; }
.usuario-papel { font-size: .72rem; opacity: .85; }

/* -------------------------------------------- aviso de prazo (destaque) */
.aviso-prazo {
  background: #fff8e6; border: 1px solid #f0d9a0;
  border-left: 4px solid var(--alerta);
  border-radius: var(--raio); padding: 14px 18px; margin-bottom: 22px;
  font-size: .9rem; font-weight: 600; color: #7a4f00;
}

/* ------------------------------------------------------ campos sim/nao */
.opcoes { display: flex; gap: 10px; flex-wrap: wrap; }
.opcao {
  display: flex; align-items: center; gap: 7px; cursor: pointer;
  padding: 9px 18px; border: 2px solid var(--borda); border-radius: 8px;
  font-size: .9rem; font-weight: 600; background: var(--branco);
  transition: border-color .15s, background .15s;
  margin-bottom: 0;
}
.opcao:hover { border-color: var(--azul-claro); }
.opcao:has(input:checked) { border-color: var(--azul); background: #f0f6ff; }
.opcao input { accent-color: var(--azul); }

/* campo que aparece só quando a resposta é "Sim" */
.condicional {
  border-left: 3px solid var(--azul-claro);
  padding-left: 14px; margin-left: 4px;
  animation: surge .16s ease-out;
}
@keyframes surge { from { opacity: 0; transform: translateY(-4px); } }

/* -------------------------------------------------------------- moeda */
.moeda { display: flex; align-items: stretch; }
.moeda-simbolo {
  display: flex; align-items: center; padding: 0 12px;
  background: var(--fundo); border: 1px solid var(--borda); border-right: 0;
  border-radius: 8px 0 0 8px; font-weight: 700; color: var(--texto-fraco);
  font-size: .9rem;
}
.moeda input { border-radius: 0 8px 8px 0 !important; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 16px; }
input[type="month"] {
  width: 100%; padding: 11px 13px; border: 1px solid var(--borda);
  border-radius: 8px; font-size: .95rem; font-family: inherit;
}

/* --------------------------------------------- minhas solicitacoes */
.mov {
  border: 1px solid var(--borda); border-radius: 8px;
  padding: 13px 15px; margin-bottom: 10px; background: var(--branco);
}
.mov-topo { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mov-proto { font-family: Consolas, monospace; font-size: .76rem; color: var(--azul-claro); font-weight: 700; }
.mov-nome { font-weight: 600; margin: 5px 0 3px; }
.mov-meta { font-size: .8rem; color: var(--texto-fraco); }
.mov-reprovado {
  margin-top: 8px; padding: 8px 10px; border-radius: 6px;
  background: #fee2e2; color: #991b1b; font-size: .8rem;
}
.pill {
  padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700;
}
.pill-recebida { background: #e0e7ff; color: #3730a3; }
.pill-em_conferencia { background: #fef3c7; color: #92400e; }
.pill-aprovada { background: #dbeafe; color: #1e40af; }
.pill-efetivada { background: #dcfce7; color: #166534; }
.pill-reprovada { background: #fee2e2; color: #991b1b; }
.pill-cancelada { background: #e5e7eb; color: #4b5563; }
