.validador-body {
  margin: 0px;
  font-family: 'Tomorrow', sans-serif;
}

input::placeholder {
  font-family: 'Tomorrow', sans-serif;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media only screen and (max-width: 720px) {
  .container {
    width: unset;
  }
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1370px;
  }
}

/* validador */
.background-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 80vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.background-layout {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.validador-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

.ultimate-container {
  flex-direction: row-reverse;
}

.validador-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 700px;
}

.validador-logo {
  margin-bottom: 20px;
}

.code-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.background {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 64px;
}

.auth-container {
  text-align: center;
  max-width: 400px;
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 12px;
}

.auth-container h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: white;
}

.auth-container p {
  font-size: 14px;
  margin-bottom: 20px;
  color: white;
}

.auth-container input[type="text"],
.auth-container input[type="email"] {
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: none;
  font-size: 16px;
}

.auth-container input[type="checkbox"] {
  margin-right: 5px;
}

.auth-container label {
  font-size: 12px;
  display: block;
  text-align: left;
  margin-bottom: 20px;
  color: white;
}

.auth-container button {
  width: 100%;
  padding: 10px;
  margin-top: 12px;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.boton-ultimate {
  background-color: #523663;
}

.boton-ultimate:hover {
  background-color: #6e4984;
}

.boton-nutrex {
  background-color: #b30000;
}

.boton-nutrex:hover {
  background-color: #e60000;
}

.auth-inputs {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.auth-inputs input {
  margin-bottom: 8px;
}

/* botones */
.code-container {
  display: flex;
  gap: 4px;
  margin: 20px;
}

.code-input {
  width: 50px;
  height: 90px;
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  border: 2px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  color: #000;
}

.code-item {
  width: 50px;
  height: 70px;
  background-color: white;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.code-input:focus {
  outline: none;
}

.code-input[readonly] {
  cursor: default;
}

.code-status {
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  padding: 10px;
  margin-bottom: 10px;
  position: relative;
  text-transform: uppercase;
  gap: 8px;
  border: 3px solid #c20e1a;
}

.code-status.success {
  background-color: #00a600;
}

.check-icon {
  color: #fff;
  font-size: 20px;
  margin-right: 10px;
}

.code-container {
  display: flex;
  gap: 5px;
}

.validador-image {
  width: 600px;
  height: auto;
}

#validador-code-submit {
  margin-top: 20px;
}

#form-validador {
  font-family: 'Tomorrow', sans-serif;
}

.code-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 64px 0px;
}

@media only screen and (max-width: 720px) {
  .validador-container {
    flex-direction: column;
    margin: 16px 0px;
  }

  .validador-image {
    width: 90vw;
    height: auto;
  }
}

/* Modal */

.modal-content {
  display: none;
}

#invalidCodeContent.active {
  display: flex;
}

#notFoundCodeContent.active {
  display: flex;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-container {
  color: #fff;
  border-radius: 8px;
  width: 600px;
  text-align: center;
  position: relative;
}

.modal-top {
  background: linear-gradient(155deg, #d62e2f 50%, #cc282b 50%);
  padding: 20px;
}

.modal-bottom {
  background: #ffffff;
  padding: 24px;
}

.modal-content.active {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* texts */
.modal-title {
  margin: 12px 0px;
  font-size: 36px;
  font-weight: bold;
}

.modal-text {
  font-size: 20px;
  font-weight: 600;
}

.modal .icon {
  padding: 12px 0px;
}

.modal h2 {
  font-size: 36px;
  margin: 10px 0;
}

.modal p {
  font-size: 24px;
  margin: 10px 0;
  line-height: 1.5;
}

.modal-overlay.active {
  display: flex;
}

/* icons */
.modal-icon-container {
  padding: 12px 0px;
}

.validator-modal-icon {
  width: 120px;
  height: 120px;
}

/* buttons */
.modal-buttons-container {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.modal-buttons {
  flex: 1;
  padding: 16px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  font-family: 'Tomorrow', sans-serif;
}

.modal-close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: #bbb;
}

.btn-red {
  background-color: #d62e2f;
  color: #fff;
  font-weight: bold;
}

.btn-red:hover {
  background-color: #d00;
}

.btn-gray {
  background-color: #d0d2d3;
  color: #fff;
  font-weight: bold;
}

.btn-gray:hover {
  background-color: #bbb;
}