/*General*/
:root {
  --color-primario: #80183b;
  --color-primario2: #910d49;
  --color-fondo: #f2f2f2;
  --blanco: #ffffff;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-fondo);
  line-height: 1.5;
}
/*Barra de Navegacion*/
nav {
display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  background-color: var(--blanco);
  box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

nav::before {
  content: "";
  flex: 1;
}
.navBar-cajeme {
display: flex;
  justify-content: center;
  flex: 1;
}
.logo {
 max-width: 150px;
  height: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  
}
.navBar-exit {
 display: flex;
  align-items: center;
  justify-content: flex-end; 
  cursor: pointer;
  flex: 1;
}


.user-menu {
  position: absolute;
  top: 50px;
  right: 20px;
  background: white;
  border: 1px solid #ccc;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 150px;
}

.user-menu p {
  margin: 0;
  font-weight: bold;
}

.user-menu button {
  background: #ff4d4d;
  color: white;
  border: none;
  padding: 5px;
  cursor: pointer;
  border-radius: 3px;
}

.user-menu.hidden {
  display: none;
}

/*Diseño footer*/
footer {
  margin-top: auto;
  width: 100%;
}
.footerFondo {
  background-color: var(--color-primario2);
  color: var(--blanco);
  text-align: center;
  padding: 20px 0;
  background-image: url("/img/Img.png");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: contain;
  background-position-y: calc(100% + 1.7vw);
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: auto;
  margin: 0 auto 25px 0;
  padding: 20px;
}
.footer-line {
  width: 200px;
  height: 2px;
  background-color: var(--blanco);
  margin: 10px auto;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.footer-line2 {
  width: 80px;
  height: 15px;
  background-color: var(--blanco);
  margin: 10px auto;
}
@media (max-width: 900px) {
  .footerFondo {
    background-size: auto;
  }
}

/*Diseño Validacion Recibo*/
/*Diseño factura*/
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/*alert*/
.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
}
.alert2 {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
  text-align: center;
  font-size: 18px;
}

/*Titulo*/

.title {
  margin: 30px 0 20px auto;
  display: flex;
  flex-direction: column;
  /* align-items: end; */
  font-size: 25px;
  color: #910d49;
  font-weight: 800;
  text-align: center;
  letter-spacing: 1px;
}

/*Bandeja principal*/
.list-group {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  overflow: hidden;
  margin: 25px auto 40px auto;
}

.list-group-item {
  position: relative;
  display: block;
  padding: 0.75rem 1.25rem;
  margin-bottom: -1px;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.125);
}

/*Diseño Login*/
.main-containerLogin {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-direction: column;
  padding: 20px 0;
}
.containerLogin {
  background: white;
  width: 350px;
  min-height: 300px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease;
}

.logo2 {
  width: 100%;
  max-width: 300px;
  margin-bottom: 30px;
  margin-top: 20px;
}

h2 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 25px;
  margin-top: -80px;
}
p {
  font-size: 22px;
  margin: 0 0 20px 0;
  font-weight: 700;
}
.input-group {
  display: flex;
  align-items: center;
  background: white;
  border: 1.5px solid #ccc;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  width: 95%;
}
.input-group:has(input:focus) {
  border: 2px solid #6b1933;
}

.input-group i {
  color: gray;
  margin-right: 10px;
}

.input-group input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  margin-left: 10px;
}
.input-group img {
  width: 20px;
}

.btn {
  width: 100%;
  padding: 10px;
  background: #6b1933;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
}

.ayuda {
  display: flex;
}
.iconoAyuda {
  display: flex;
  margin-bottom: 10px;
  margin-left: 5px;
  align-items: center;
}

.error-message {
  color: #dc3545;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
  font-size: 0.9em;
  text-align: center;
  animation: fadeIn 0.3s ease-in;
}

/*Modal aviso instrucciones*/
.modal-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-bg.show {
  display: flex;
  opacity: 1;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-bg.show .modal-content {
  transform: translateY(0);
}

.modal-content img {
  display: block;
  margin: 0 auto 20px;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.modal-content p {
  font-size: 10px;
  margin-bottom: 15px;
  color: #333;
  line-height: 1.6;
}

.close-btn {
  background: #651c32;
  color: white;
  border: none;
  padding: 12px 25px;
  margin-top: 10px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.close-btn:active {
  transform: translateY(0);
}

.modal-header {
  margin-bottom: 20px;
}

.modal-header h3 {
  color: var(--color-primario);
  font-size: 24px;
  margin-bottom: 10px;
}

