@font-face {
  font-family: 'Garet Book';
  src: url('fonts/GaretBook.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Garet Book', sans-serif;
  background: white;
  color: #222;
  margin: 0;
  padding: 0;
  text-align: center;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
}

.btn-demo {
  background-color: #8AC441;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.title {
  font-size: 2rem;
  margin: 40px 20px 10px;
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 20px;
}

.subtitle {
  color: #8AC441;
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.Dtitle {
  font-size: 2rem;
  display: none;
  margin-left: 0;
  margin-right: 288px;
}

.nombre-color {
  color: #8AC441;
  font-weight: bold;
}

.ranking {
  font-size: 1rem;
  color: #8AC441;
  margin-right: 288px;
  margin-left: -30px;
}

.agenda {
  color: #8AC441;
  margin-right: 288px;
  margin-left: -30px;
}

.agenda1 {
  color: #393939;
}

.texto {
  font-size: 1rem;
  font-weight: bold;
  margin-left: -30px;
  padding: 0px 0px 20px;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid #8AC441;
  padding: 40px 30px;
  border-radius: 4px;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
  position: relative;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

input {
  width: 95%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.btn-submit {
  background-color: #8AC441;
  color: white;
  padding: 12px 20px;
  border: 0px;
  border-radius: 0px;
  cursor: pointer;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.btn-submitPDF {
  background-color: #8AC441;
  color: white;
  padding: 12px 20px;
  border: 0px;
  border-radius: 0px;
  cursor: pointer;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.rkn-submit {
  background-color: #1b1b1b;
  color: white;
  padding: 12px 20px;
  border: 0px;
  border-radius: 0px;
  cursor: pointer;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.btn-submit:hover {
  background-color: #8AC441;
}

.arrow {
  font-weight: bold;
  font-size: 1.2rem;
}

#diagnostico {
  display: none;
  max-width: 850px;
  margin: 40px auto;
  border: 1px solid #d6ecd8;
  padding: 30px 60px;
  background: #fff;
  text-align: left;
}

#diagnostico h2 {
  color: #8AC441;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.ranking-table th,
.ranking-table td {
  border: 1px solid #c8e6c9;
  padding: 8px;
  text-align: center;
}

.comentarios {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.comentario {
  width: 48%;
  padding: 10px;
  border: 1px solid #ddd;
  font-size: 0.9em;
}

.positivo {
  border-left: 4px solid #8AC441;
}

.negativo {
  border-left: 4px solid #ef5350;
  background-color: #fbeaea;
}

.mejoras {
  margin-top: 30px;
}

.mejora-boxes {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.mejora {
  border: 1px solid #c8e6c9;
  padding: 10px;
  width: 32%;
  font-size: 0.9em;
}

.acciones {
  font-family: 'Garet Book', sans-serif;
  margin-top: 30px;
}

.acciones a {
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  color: #fff;
}

.pdf {
  background: #8AC441;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.demo {
  background: #a5d6a7;
  color: #000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.botones-derecha {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}




.modal-overlay {
  font-family: 'Garet Book', sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-box {
  font-family: 'Garet Book', sans-serif;
  background: white;
  padding: 70px;
  border: 3px solid #82b36f;
  border-radius: 8px;
  text-align: center;
  position: relative;
  max-width: 640px;
  width: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}

.modal-box h2 {
  margin-top: 0;
  font-size: 41px;
  font-weight: 600;
}

.modal-box p {
  font-size: 16px;
  color: #555;
  margin: 15px 0;
}

.modal-btn {
  background-color: #8AC441;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 10px;
}

.modal-btn:hover {
  background-color: #82b36f;
}

.modal-later {
  display: block;
  margin-top: 15px;
  color: #444;
  text-decoration: underline;
  cursor: pointer;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: red;
}

/* Estos son los estilos del Footer */
.footer a:hover {
  text-decoration: underline;
  color: #000000;
}

.container {
  color: #000000;
}

.footer {
  font-size: 13px;
  color: black !important;
  background: rgb(202, 201, 201);
}

.footer a {
  color: black !important;
  text-decoration: none;
}

.text-muted {
  color: black !important;
}
/* ***********************************/

html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.input-error {
  border: 1px solid red;
}


#suggestions {
  top: 100%;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: white;
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  padding: 0;
  margin: 0;
  list-style: none;
}

#suggestions li {
  padding: 8px 12px;
  cursor: pointer;
}

#suggestions li:hover {
  background-color: #f0f0f0;
}


/* Opcional: para que el texto se vea estilo IA o tecnología */
#loadingAnimation {
  font-size: 18px;
  letter-spacing: 2px;
}

/* Puedes usar también una animación más compleja si quieres */
