@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

.container {
  max-width: 500px;
  width: 90%;
  margin: 40px auto;
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #cccccc;
}

h2 {
  font-size: 1.4rem;
  margin-top: 24px;
  margin-bottom: 12px;
  color: #424242;
}

input:focus,
select:focus {
  border-color: #cccccc;
  outline: none;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  font-size: 1.05rem;
}

ul li strong {
  font-size: 1.2rem;
  color: #cccccc;
  display: inline-block;
  margin-bottom: 0;
  margin-right: 6px;
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  input,
  select,

}

.container {
  background-color: #1e1e1e;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

input:focus,
select:focus {
  border-color: #cccccc;
}

@media (prefers-color-scheme: dark) {
  .container {
    background-color: #1e1e1e;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  }

  input::placeholder {
    color: #aaa;
  }

  input:focus,
  select:focus {
    border-color: #cccccc;
  }
}

@media (max-width: 600px) {
  .container {
    width: 95%;
    margin: 20px auto;
    padding: 16px;
  }

  h1 {
    font-size: 1.4rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  input,
  select,
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #121212;
  margin: 0;
  padding: 0;
  color: #e0e0e0;
}

.container {
  background-color: #1a1a1a;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

input::placeholder {
  color: #999;
}

input:focus,
select:focus {
  border-color: #66bb6a;
  outline: none;
}

label {
  color: #bcbcbc;
  font-weight: 500;
  display: block;
  margin-top: 12px;
}

input,
select {
  background-color: #202020;
  color: #f0f0f0;

  border-radius: 6px;
  padding: 10px;
  width: 100%;
  margin-top: 4px;
}

input::placeholder {
  color: #888;
}

button {
  background-color: #333;
  color: #f0f0f0;
  font-weight: 500;
  padding: 10px;

  border-radius: 6px;
  width: 100%;
  margin-top: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #444;
}

.card-cliente:hover {
  background-color: #262626;
}

.card-cliente a {
  color: #dddddd;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  display: block;
}

.card-cliente span {
  font-size: 0.9rem;
  color: #999;
  font-weight: 400;
}

a {
  color: #cccccc;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
  color: #eeeeee;
}

.card-cliente:hover {
  background-color: #262626;
}

.card-cliente {
  background-color: #1b1b1b;
  border: none !important;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 8px;
  transition: background-color 0.2s ease;
}

.card-cliente:hover {
  background-color: #262626;
}

ul li {
  border: none !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 0 10px 0;
  list-style: none;
}

a.botao-navegacao {
  display: inline-block;
  background-color: #2c2c2c;
  color: #f0f0f0;
  padding: 10px 18px;
  margin: 8px 4px 0 0;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  text-align: center;
}

a.botao-navegacao:hover {
  background-color: #3a3a3a;
  text-decoration: none;
  transform: translateY(-2px);
}

#btnAdicionar,
#btnLogout {
  background-color: #2e7d32;
  color: #ffffff;
  padding: 10px 18px;
  margin-top: 12px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

#btnAdicionar:hover,
#btnLogout:hover {
  background-color: #388e3c;
  transform: translateY(-1px);
}

button,
#btnAdicionar,
#btnLogout {
  background-color: #333;
  color: #f0f0f0;
  font-weight: 500;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 12px;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover,
#btnAdicionar:hover,
#btnLogout:hover {
  background-color: #444;
  transform: translateY(-1px);
}

#btnLogin,
#btnPagar,
#btnRegistrar {
  background-color: #333;
  color: #f0f0f0;
  font-weight: 500;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 12px;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#btnLogin:hover,
#btnPagar:hover,
#btnRegistrar:hover {
  background-color: #444;
  transform: translateY(-1px);
}

@media (max-width: 480px) {

  body.pagina-cliente .container,
  body.pagina-emprestimo .container,
  body.pagina-pagamento .container {
    width: 100%;
    padding: 28px 22px;
    margin: 0 auto;
    border-radius: 0;
    font-size: 1.2rem;
    min-height: 100vh;
    box-sizing: border-box;
  }

  body.pagina-cliente h1,
  body.pagina-emprestimo h1,
  body.pagina-pagamento h1,
  body.pagina-cliente h2,
  body.pagina-emprestimo h2,
  body.pagina-pagamento h2 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 16px;
  }

  body.pagina-cliente button,
  body.pagina-emprestimo button,
  body.pagina-pagamento button,
  body.pagina-cliente input,
  body.pagina-emprestimo input,
  body.pagina-pagamento input {
    font-size: 1.2rem;
    width: 100%;
    box-sizing: border-box;
  }
}

.info-extra {
  text-align: center;
  margin-top: 30px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: #e0e0e0;
}

.info-extra a {
  color: #25D366;
  font-size: 1.3rem;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.info-extra a:hover {
  transform: scale(1.2);
  text-decoration: none;
}

.exclamacao-vermelha {
  color: red;
  font-size: 0.75rem;
  /* menor tamanho */
  margin-left: 1px;
  /* bem próxima ao nome */
  vertical-align: text-top;
  /* alinha no topo da linha */
  position: relative;
  top: -1px;
  /* sobe ligeiramente */
}
  #listaClientes li {
  background-color: #1f1f1f;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#listaClientes li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}
a.cliente-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 6px 0;
}

a.cliente-item .cliente-nome {
  font-weight: 500;
  color: #f0f0f0;
}

a.cliente-item .cliente-valor {
  font-weight: 500;
  color: #cccccc;
  font-size: 0.95rem;
  text-align: right;
  min-width: 100px;
}
