:root {
  --white: #ffffff;
  --primary: #303c59;
}

* {
  padding: 0;
  margin: 0;
  font-family: Source Sans Pro, Helvetica, sans-serif;
}

h2 {
  font-size: 16px !important;
}

body {
  background-color: #f2f5f9;
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 2%;
  min-height: 400px;
}

.logo,
.without-logo {
  width: 100px;
  margin-bottom: 30px;
}

.without-logo {
  height: 100px;
}

.unstyle {
  all: unset;
}

.btn-primary {
  width: 300px;
  border-radius: 8px;
  transition: all 0.3s ease-out;
  cursor: pointer;
  height: 40px;
  background-color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-primary:active {
  background-color: #516799;
}

.btn-primary:disabled {
  background-color: #b1b2b5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  font-weight: 500;
  font-size: 20px;
  color: var(--white);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.text {
  display: block;
  color: var(--primary);
  margin: 20px 0;
  font-size: 16px;
  line-height: 24px;
}

.text-xs {
  display: block;
  color: var(--primary);
  margin: 10px 0;
  font-size: 12px;
  line-height: 24px;
}

.text-center {
  text-align: center;
}

.flex-center {
  display: flex;
  flex-direction: column;
  justify-items: center;
  justify-content: center;
}

#controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* .CLASS_FT_displayNone,
#DOM_FT_frameContainer,
#DOM_FT_videoElement {
  width: 100% !important;
} */

.leyend {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.leyend__container {
  position: absolute;
  bottom: 2%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 5px 0px;
  width: 90%;
  height: 120px;
  border: 4px solid #f8d5d2;
  background-color: #ffffff;
  border-radius: 10px;
}

.leyend__header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid #f8d5d2;
  height: 35px;
}

.leyend__header span {
  font-family: "Lato";
  color: #000000;
  font-size: 16px;
  line-height: 26px;
  margin-left: 5%;
}

.leyend__header img {
  margin-right: 5%;
  height: 25px;
}

.leyend__body {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  height: 100%;
  border-bottom: 1px solid #f8d5d2;
}

.leyend__body-img {
  width: 30%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.leyend__body-img img {
  height: 75px;
}

.leyend__body-text {
  width: 70%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
}
.leyend__body-text span {
  padding-top: 5px;
  padding-left: 5px;
  padding-right: 5px;
  font-family: "Lato";
  color: #504e4e;
  font-style: normal;
  text-align: justify;
  font-size: 14px;
  line-height: 27px;
}

@media screen and (min-width: 768px) {
  /* estilos para tabletas */
  .leyend__container {
    bottom: 5%;
    padding: 10px 0px;
    height: 140px;
  }

  .leyend__header span {
    font-size: 18px;
  }

  .leyend__container {
    width: 600px;
  }

  .leyend__body-text span {
    font-size: 18px;
  }
}

@media screen and (min-width: 1024px) {
  /* Estilos CSS para dispositivos de escritorio */
  .leyend__container {
    bottom: 5%;
    padding: 10px 0px;
    height: 200px;
  }

  .leyend__header {
    height: 50px;
  }

  .leyend__header span {
    font-size: 20px;
  }

  .leyend__header img {
    height: 40px;
  }

  .leyend__container {
    width: 600px;
  }

  .leyend__body-text span {
    font-size: 20px;
  }

  .leyend__body-img img {
    height: 100%;
  }
}

#DOM_FT_IFrameEnterFullScreenCancelImageElement {
  display: block;
  padding: 8px;
  margin: 8px;
  opacity: 1;
  transition: opacity 300ms ease 0s;
  background-image: url("/core-sdk/FaceTec_images/FaceTec_cancel.png");
  background-size: cover; /* Ajusta el tamaño de la imagen */
  background-position: center; /* Centra la imagen */
}

@media only screen and (max-width: 400px) {
  .leyend__body-text span {
    line-height: 16px;
    font-size: 12px;
  }
}

.full-height-container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
}

.loading-button {
  width: 220px;
  height: 40px;
  background-color: #f2f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid #ddd;
  border-top-color: #303c59;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
