/* Global Styles */
body {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
  background-color: #f0f0f0;
  margin: 0;
  padding: 0;
  background-image: url(../img/Fondo.png);

}

h1, h2, h3, h4, h5, h6, p, span, th, td, a, button, input, textarea {
  font-family: 'Montserrat', sans-serif;
}

/* Adjust font size for select elements */
/* select {
    font-size: 0.90rem;
} */

/* Header Styles */
header {
  background-color: rgba(159, 159, 137, 0.4);
  opacity: 60%;
  color: #000000;
  text-align: center;
  font-weight: bolder;
  padding: 3px;
}

.labelsmall{
  font-size: 12px;
  text-align: center;
  margin: 5px;
  padding: 1px;
}

/* Main Content Styles */
main {
  text-align: center;
  margin: 20px;
 
}

.pTitle {
  background-color: #f0f0f0;
  margin: 5px;
  padding: 1px;

}

.div-index {
  display: flex;
  justify-content: center;
}

/* Action Buttons Container */
.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* Action Buttons Styles */
.action-button {
  background-color: rgba(78, 192, 143, 0.7);
  color: #000000;
  border: 1px solid #ccc;
  font-size: smaller;
  padding: 5px 10px;
  margin: 5px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 2px 2px 5px #888888;
  /* Sombra delicada */

}
.action-button-edit {
  background-color: rgba(78, 192, 143, 0.2);

  color: #000000;
  border: 1px solid #ccc;
  font-size: smaller;
  padding: 3px 10px;
  margin: 5px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 1px 1px 2px #888888;
  /* Sombra delicada */

}
.action-button-small {
  background-color: #f0f0f0;
  font-size: 8px;
  padding: 2px 5px;

}

.action-button-midium {
  background-color: #f0f0f0;
  font-size: 12px;
  padding: 3px 6px;
  margin: 3px;
}


/* Hover Effect for Action Buttons */
.action-button:hover {
  background-color: #0056b3;
}

/* Footer Styles */
footer {
  text-align: center;
  margin-top: 20px;
}

/* Logout Button Styles */
.logout-button {
  color: #e1828c;
  background-color: #fff;
  font-size: 16px;
  padding: 5px 10px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

ul {
  background-color: #f0f0f0;
  list-style-type: none;
  margin: 0%;
  padding: 0;
}

li {
  background-color: #f0f0f0;
  margin: 0%;
  text-align: left;
}

/* Hover Effect for Logout Button */
.logout-button:hover {
  background-color: #a71d2a;
}

/* Additional Global Styles */
/* (You might want to remove these duplicate styles) */

/* Reset Some Global Styles */
body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  margin: 0;
  padding: 0;
}

/* Header Styles */


/* Main Content Styles */
main {
  text-align: center;
  margin: 10px 5px;
}

/* Hidden Elements Styles */
.opciones {
  margin: 8px;

}

/* Button Styles */
button {
  background-color: #f0f0f0;
  color: #3786da;
  font-size: 16px;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: smaller;

}

/* Footer Styles */
footer {
  text-align: center;
  margin-top: 20px;
}

/* Anchor Styles */
a {
  background-color: #f0f0f0;
  text-decoration: none;
  color: rgb(30, 199, 126);
}

/* Hidden Elements Styles */


.container {
  font-size: 13px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

table {
  background-color: #f0f0f0;
  border-collapse: collapse;
  width: 100%;
  border-spacing: 0;
  max-width: 700px;
  
}

tr {
  background-color: #f0f0f0;
  border-bottom: 1px solid #ccc;
}

th {
  background-color: rgba(159, 159, 137, 0.4);
  border-bottom: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  margin: 2px;
  padding: 3px;
  font-size: 12px;
  text-align: center;
}

td {
  background-color: #f0f0f0;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  padding: 2px;
}

.indexText {
  font-size: 12px;
  background-color:  rgba(159, 159, 137, 0.1);
    margin: 2px;
    padding: 3px 5px;
    font-size: 12px;
    font-weight: bold;
}

.textoRojo {
  color: #a71d2a;
}

.textoVerde {
  color: darkgreen
}

.action-select-index {
  background-color: #f0f0f0;
  display: inline-block;
  width: 50%;
  max-width: 300px;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(78, 192, 143, 0.3);
  /* Sombra delicada */
  margin: 5px;
  
}

.caja-imagen {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 2px 2px 5px #888888;
  /* Sombra delicada */
  margin: 5px;
}

/* Estilo base para los botones */
.action-button-index {
  display: inline-block;
  width: 60%;
  max-width: 300px;
  text-align: center;
  text-decoration: none;
  margin: 5px;
  
  position: relative;
  cursor: pointer;
  padding: 3px 10px;
  display: inline-block;
  margin-right: 10px;
  line-height: 24px;
  background-color: #f2f2f2;
  /* Color de fondo del label */
  border-radius: 5px;
  /* Bordes redondeados */
  box-shadow: 1px 1px 2px rgba(159, 159, 137, 0.4);
  border: rgba(159, 159, 137, 0.4) solid 0.3px;
  /* Sombra delicada */
  font-size: smaller;
  color: black;
}
.inputborder{
  border: rgba(78, 192, 143, 0.6) solid 0.3px;
}

/* Estilo para resaltar el botón al pasar el mouse sobre él */
.action-button-index:hover {
  
  background-color: #e0e0e0;
  color: black;
}

/* Estilo para el botón de salir en el pie de página */
.logout-button-index {
  display: inline-block;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  color: #fff; /* Color de texto blanco */
  background-color: #e08a8a; /* Color de fondo rojo suave */
  border-radius: 5px;
  z-index: 1000;
}


/* Estilo para resaltar el botón de salir al pasar el mouse sobre él */
.logout-button-index:hover {
  background-color: #cc0000;
  /* Cambia el color de fondo al pasar el mouse */
}

.canvasFoto {
  width: 320px;
  height: 240px;
  display: none;
}

.mostraFoto {
  width: 100%;
}

.custom-radio {
  position: relative;
  cursor: pointer;
  padding: 3px 10px;
  display: inline-block;
  margin-right: 10px;
  line-height: 24px;
  background-color: #f2f2f2;
  /* Color de fondo del label */
  border-radius: 5px;
  /* Bordes redondeados */
  box-shadow: 1px 1px 2px rgba(78, 192, 143, 0.3);
  /* Sombra delicada */
  font-size: smaller;
  
}

.custom-radio input {
  background-color: #f0f0f0;
  position: absolute;
  left: -9999px;
}

.custom-radio:hover {
  background-color: rgb(78, 192, 143, 0.7);
  /* Cambiar color de fondo al pasar el mouse */
}
.selectButton {
  background-color: rgb(78, 192, 143, 0.7);
}

.custom-radio input:checked {
  background-color: rgba(78, 192, 143, 0.7);
  font-weight: bold;
  /* Cambiar el estilo del texto cuando está seleccionado */
}

/* Radio Buttons Container */
.radio-buttons {
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  margin: 10px;
  padding-top: 3px 10px;
}

/* Radio Button Label Styles */
.radio-buttons label {
  background-color: #f0f0f0;
  margin: 10px;
  width: 30%;
  max-width: 200px;
  font-size: smaller;
  
  
}

.custom-select {
  position: relative;
  cursor: pointer;
  padding: 3px 10px;
  display: inline-block;
  margin-right: 10px;
  line-height: 24px;
  background-color: #f2f2f2;
  border: none;
  border-radius: 5px;
  box-shadow: 1px 1px 2px #b3b3b3;
  /* Sombra delicada */
  appearance: none;
  /* Elimina los estilos nativos del sistema operativo */
  text-align: center;
  font-size: smaller;
  text-align: center
}

.custom-checked {
  position: relative;
  cursor: pointer;
  padding: 3px 10px;
  display: inline-block;
  margin-right: 10px;
  line-height: 24px;
  border: rgba(78, 192, 143) 1px;
  border-radius: 5px;
  box-shadow: 3px 3px 5px rgba(78, 192, 143);
  appearance: none;
  /* Elimina los estilos nativos del sistema operativo */
  text-align: center;
  font-size: smaller;
  background-color: rgba(78, 192, 143, 0.7);
}

.custom-select-check {
  
  background-color: red;
  text-align: center
  
}

.custom-select:hover {
  background-color: #e0e0e0;
}

.custom-select:focus {
  outline: none;
  /* Elimina el contorno predeterminado en el foco */
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.7);
}

.custom-input{
  text-align: center

}

.titleDivSeparation {
  border-radius: 5px;
  margin: 0px;
  font-size: 12px;
  padding-top: 1px;
  padding-bottom: 1px;
  background-color: rgba(159, 159, 137, 0.1);
}

.divseparation {
  width: 100%;
  margin-bottom: 0px;
  border-radius: 5px;
  box-shadow: 1px 1px 5px rgba(159, 159, 137, 0.4);
  background-color: #f0f0f0;
}


/* Estilos generales para el contenedor */
#userCardsContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5x;
  padding: 2px;
}

/* Estilos para las tarjetas de usuario */
.user-card {
  background-color: #f0f0f0;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 190px;
  padding: 2px;
  margin: 3px;
  text-align: left; 
  transition: transform 0.2s ease-in-out;
}

.user-card:hover {
  transform: translateY(-5px);
}

.user-card h3 {
  font-size: 12px;
  margin-bottom: 15px;
  color: #343a40;
}


.user-card p {
  font-size: 12px;
  margin: 5px 0;
  color: #495057;
  display: flex;
  justify-content: space-between;
  
}
.user-card-sub {
  font-size: 12px;
  margin: 5px 0;
  text-align: center;
  color: #495057;
  background-color:rgba(78, 192, 143, 0.1);
  font-weight: bold
}

/* Estilos adicionales para mejorar la apariencia */
.user-card p:first-of-type {
  margin-top: 0;
}

.user-card p:last-of-type {
  margin-bottom: 0;
}

/* Estilos para el texto de ingresos, egresos y saldo */
.user-card p:nth-child(2) {
  color: #495057; /* Verde para ingresos */
}

.user-card p:nth-child(3) {
  color: #495057; /* Rojo para egresos */
}

.user-card p:nth-child(4) {
  color: #495057; /* Azul para saldo */
}
.hidden {
  display: none;
}
.fixed-button {
  position: fixed;
  right: 40px;
  bottom: 40px;
  background-color: #e08a8a;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  z-index: 1000; /* Asegúrate de que el botón esté por encima de otros elementos */
}

.fixed-button:hover {
  background-color: #c90f0f;
}
