* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Public Sans", sans-serif;
}

body {
  background: #121622;
  height: 100%;

}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.modal.ativo {
  display: flex;
}

.modal-content {
  position: relative;
}

/* Estilo da tabela */
#tabelaCobrancas tbody tr {
  border-bottom: 1px solid #374151;
  transition: 0.2s;
}

#tabelaCobrancas tbody tr:hover {
  background: #1f2937;
}

#tabelaCobrancas tbody td {
  padding: 14px;
  color: #fff;
}

.app {
  width: 100vw;
  height: 100vh;
  display: flex;
  border-radius: 20px;
}

/* Área da logo */
.logo-box {
  width: 100%;
  height: 140px;
  /* altura da área (ajuste se quiser) */
  margin-bottom: 20px;
  background: #222;
  overflow: hidden;
}

/* Logo */
.logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* preenche tudo sem distorcer */
  border-radius: 20px;
  /* quadrado */
  display: block;
}


.sidebar {
  width: 240px;
  height: 100vh;
  background: #3f3f3f;
  display: flex;
  flex-direction: column;
}


/* MENU */
.sidebar nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar nav ul a {
  text-decoration: none;
  color: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 14px;
  transition: 0.3s;
  display: block;
}

.sidebar a:hover {
  color: #4da6ff;
  padding-left: 5px;
}

/* LINK ATIVO (selecionado) */
.sidebar nav ul a.active {
  background: #4da6ff;
  color: #fff;
  font-weight: bold;
}

/* Configurações embaixo */
.settings a {
  text-decoration: none;
  color: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 14px;
  transition: 0.3s;
  display: block;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  text-decoration: none;
  color: #fff;
  border-radius: 20px;
  transition: 0.3s;
}


.menu a.active {
  background: #4da6ff;
  color: #fff;
  font-weight: bold;
}

/* página */
.cobrancas-page {
  padding: 24px 32px;
}

/* barra superior */
.barra-cobranca {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: #121622;
  border-radius: 14px;
}

/* input principal */
.barra-cobranca input {
  flex: 1;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #374151;
  background: #1f2937;
  color: #fff;
  font-size: 14px;
}

.barra-cobranca input::placeholder {
  color: #9ca3af;
}

/* selects */
.barra-cobranca select {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #374151;
  background: #1f2937;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

/* remove seta padrão feia (opcional) */
.barra-cobranca select:focus,
.barra-cobranca input:focus {
  outline: none;
  border-color: #2563eb;
}

/* área de conteúdo */
.conteudo-cobranca {
  margin-top: 24px;
  background: #121622;
  border-radius: 14px;
  min-height: 300px;
}