* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #fff0f5;
  color: #4a004d;
}

.container {
  display: flex;
  min-height: 100vh;
}

/* Menú lateral */
.sidebar {
  background-color: #ffe6f0;
  padding: 20px;
  width: 220px;
}

.sidebar h2 {
  color: #d63384;
  margin-bottom: 20px;
}

.sidebar ul {
  list-style: none;
}

.sidebar ul li a {
  color: #4a004d;
  text-decoration: none;
  display: block;
  padding: 8px 0;
}

.sidebar ul li a:hover {
  color: #d63384;
}

/* Contenido principal */
.main-content {
  flex: 1;
  padding: 20px;
  background-color: #f9f9f9;
  min-height: 100vh;
}


header h1 {
  margin-bottom: 20px;
  font-size: 24px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  flex: 1 1 300px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-list {
  margin-top: 40px;
}

.product-list h2 {
  margin-bottom: 10px;
  color: #d63384;
}

.product-list div {
  background-color: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-list p {
  font-size: 16px;
  margin: 10 px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

th, td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

thead {
  background-color: #ffe6f0;
}

.vencimiento-pronto {
  color: #d0004b;
  font-weight: bold;
}

.boton-flotante {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #d63384;
  color: white;
  font-size: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
  z-index: 1000;
}

.boton-flotante:hover {
  background-color: #b61d6f;
}

#btnRegistrarPago {
  margin-top: 10px;
  padding: 12px 20px;
  background-color: #e91e63;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

#btnRegistrarPago:hover {
  background-color: #c2185b;
}

.formulario-cliente form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.formulario-cliente label {
  font-weight: bold;
  margin-bottom: 4px;
}

.formulario-cliente input,
.formulario-cliente select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}
.formulario-cliente button {
  margin-top: 10px;
  padding: 10px;
  border:none;
  border-radius: 8px;
  background-color: #d63384;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.titulo-formulario {
  margin-bottom: 80px;
  font-size: 24px;
  text-align: center;
}

.formulario-cliente button {
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}

.formulario-cliente .botones {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
}

.boton-agregar {
  background-color: #d63384;
  color: white;
  font-size: 18px;
  padding: 14px 30px;
  border-radius: 10px;
  min-width: 250px;
  text-align: center;
}

.boton-agregar:hover {
  background-color: #ccc;
  color: #333;
}

.boton-cancelar:hover {
  background-color: #aaa;
}

.alerta-bloque {
  background-color: #fff;
  border-radius: 12px;
  padding: 25px 30px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.alerta-bloque h2 {
  color: #d63384;
  margin-bottom: 15px;
  font-size: 22px;
  text-align: center;
}
.alerta-bloque p {
  text-align: center;
  font-weight: 500;
  margin-bottom: 15px;
}

.alerta-bloque table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.alerta-bloque th, 
.alerta-bloque td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  text-align: left;
}
.alerta-bloque thead {
  background-color: #ffe6f0;
}

.alertas-container {
background-color: #fff;
border-radius: 12px;
padding:30px;
margin: 0 20px 40px 0;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
width: 100%;
}

.product-list .botones {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.buscador {
  margin-bottom: 20px;
  padding: 8px;
  width: 50%;
}

#lista-productos-vencer {
 margin-top: 15px;
 padding-left: 20px;
 list-style-type: none;
}

#lista-productos-vencer li {
  margin-bottom: 8px;
  font-size: 15px;
  color: #4a004d;
  font-weight: 500;
  background-color: #ffe6f0;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 2 px 4px rgba(0, 0, 0, 0.1);
}

#cuotas-proximas{
background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  flex: 1 1 300px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin: 20px;
  font-weight: bold;
}

#detalle-compra {
    margin-top: 20px; /* podés ajustar más o menos según lo que te guste */
}
