* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f4f4f2;
  color: #222;
  margin: 0;
}
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

/* Login */
.pagina-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #f4f4f2;
}
.cartao-login {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 32px;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cartao-login h1 { font-size: 18px; margin: 0 0 8px; font-weight: 500; }
.cartao-login label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: #555; }
.cartao-login input {
  height: 40px; border: 1px solid #ccc; border-radius: 8px; padding: 0 12px; font-size: 15px;
}
.cartao-login button {
  height: 42px; border-radius: 8px; border: none; background: #222; color: #fff;
  font-size: 15px; cursor: pointer; margin-top: 8px;
}
.erro { color: #b3261e; font-size: 13px; margin: 0; }

/* Topo */
.topo {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 16px;
}
.nome-profissional { font-weight: 500; font-size: 16px; margin: 0; }
.subtitulo { font-size: 13px; color: #777; margin: 2px 0 0; }
.resumo-mes { text-align: right; }
.resumo-mes .rotulo { font-size: 12px; color: #777; margin: 0; }
.resumo-mes .numero { font-size: 20px; font-weight: 500; margin: 0; }
.link-sair { font-size: 13px; color: #777; text-decoration: none; }
.link-sair:hover { text-decoration: underline; }

.navegacao-mes { display: flex; justify-content: space-between; margin-bottom: 12px; }
.navegacao-mes button {
  border: 1px solid #ddd; background: #fff; border-radius: 8px; width: 36px; height: 36px; cursor: pointer;
}

/* Calendário */
.calendario {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 20px;
}
.dia {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 4px; border-radius: 8px; border: 1px solid #ddd; background: #fff; cursor: pointer;
}
.dia-numero { font-size: 13px; font-weight: 500; }
.dia-status { font-size: 11px; color: #999; }
.dia-hoje { border-color: #222; }
.dia-selecionado { background: #222; }
.dia-selecionado .dia-numero, .dia-selecionado .dia-status { color: #fff; }
.dia-bloqueado { opacity: 0.55; cursor: default; }
.aviso-fechado {
  grid-column: 1 / -1; font-size: 13px; color: #b3261e; background: #fbeaea;
  padding: 8px 12px; border-radius: 8px; margin: 0 0 4px;
}

/* Painel do dia */
.painel-dia { background: #fff; border: 1px solid #ddd; border-radius: 12px; padding: 16px 18px; }
.dica { color: #999; font-size: 14px; margin: 0; }
.painel-dia-cabecalho { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.painel-dia-titulo { font-weight: 500; font-size: 15px; }
.etiqueta { font-size: 12px; padding: 2px 10px; border-radius: 20px; }
.etiqueta-hoje { background: #e6f1fb; color: #0c447c; }
.etiqueta-editavel { background: #f1efe8; color: #444; }
.etiqueta-bloqueado { background: #fbeaea; color: #791f1f; }

.lista-slots { display: flex; flex-direction: column; gap: 6px; }
.slot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border: 1px solid #e2e2e2; border-radius: 8px; font-size: 14px; cursor: pointer;
}
.slot input { width: 18px; height: 18px; }
.slot-desabilitado { opacity: 0.5; cursor: default; }
