/* ========================================
   FUENTES PERSONALIZADAS
   ======================================== */

@font-face {
  font-family: "MandoulBrush";
  src: url("https://grupomontecristo.com//wp-content/uploads/2025/02/MandoulBrush-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Gotham Bold";
  src: url("https://grupomontecristo.com//wp-content/uploads/2025/02/Gotham-Book.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Gotham";
  src: url("https://grupomontecristo.com//wp-content/uploads/2025/02/Gotham-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

/* ========================================
   ESTILOS GENERALES
   ======================================== */

body {
  margin: 0;
}

.container-main {
  background-color: #55585a1a;
  margin: 0 auto;
}

.container-form {
  padding-top: 16px;
  padding-left: 32px;
  padding-right: 32px;
  width: 1128px;
  background-color: #fff;
  margin: 0 auto;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.header-formulario {
  margin: 0 auto;
  width: 1128px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 55px;
  padding-bottom: 65px;
}

.header-formulario p {
  color: #791b39;
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
}

/* ========================================
   BANNER
   ======================================== */

.container-banner {
  width: 1192px;
  background-image: url(https://grupomontecristo.com/wp-content/uploads/2025/03/Header-scaled.webp);
  background-position: right;
  background-repeat: no-repeat;
  margin: 0 auto;
  background-size: cover;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.container-text-banner {
  padding-top: 80px;
  padding-left: 80px;
  padding-bottom: 48px;
  padding-right: 80px;
}

.title-banner {
  color: #fff;
  font-size: 48px;
  font-family: "Gotham", Sans-serif;
}

.subtitle-banner {
  font-size: 32px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 32px;
}

.span-subtitle-banner {
  color: #e3a822;
}

.description-banner {
  color: #fff;
  font-size: 20px;
  margin-bottom: 0px;
  margin-top: 10px;
  font-family: "Montserrat", sans-serif;
}

/* ========================================
   TÍTULO PRINCIPAL
   ======================================== */

.container-title {
  background-color: #fff;
  border-radius: 20px;
  width: 1035px;
  margin: 0 auto;
  text-align: center;
  padding-left: 75px;
  padding-right: 75px;
  padding-bottom: 50px;
  margin-bottom: 55px;
}

.img-line {
  width: 100%;
  margin-top: -36px;
}

.title-main {
  font-size: 64px;
  color: #791b39;
  margin-bottom: 0;
  margin-top: 50px;
  font-family: "Gotham", Sans-serif;
  font-weight: 800;
}

.subtitle-main {
  font-size: 64px;
  color: #e14440;
  margin: 0;
  margin-top: -40px;
  margin-left: 148px;
  font-family: "MandoulBrush", Sans-serif;
}

.description-title {
  font-size: 20px;
  color: #55585a;
  text-align: left;
  line-height: 150%;
  font-family: "Montserrat", sans-serif;
  margin-top: 20px;
}

/* ========================================
   PREGUNTAS Y RESPUESTAS
   ======================================== */

.container-question {
  margin-top: 32px;
}

.container-number-question {
  background-color: #55585a1a;
  border-radius: 10px;
  border-left: 8px solid #e14440;
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.container-answer {
  margin-left: 30px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.number {
  font-family: "Gotham", Sans-serif;
  font-size: 32px;
  color: #e14440;
  font-weight: 700;
  margin-right: 12px;
}

.title-question {
  font-size: 20px;
  color: #102536;
  display: flex;
  align-items: center;
  margin-left: 24px;
  margin-top: 0px;
  margin-bottom: 0px;
  font-family: "Inter", sans-serif;
}

.asterisco {
  color: #791b39;
  font-size: 25px;
  font-weight: 700;
  margin-right: 15px;
}

.item {
  font-size: 18px;
  color: #102536;
  font-family: Inter;
}

/* ========================================
   INPUTS Y CONTROLES
   ======================================== */

.option-radio {
  width: 15px;
  height: 15px;
  margin-top: 0px;
  margin-right: 15px;
  cursor: pointer;
}

input[type="radio"]:after {
  width: 18px;
  height: 18px;
  border-radius: 15px;
  top: -2px;
  left: 0px;
  position: relative;
  background-color: #d1d3d1;
  content: "";
  display: inline-block;
  visibility: visible;
  border: 2px solid white;
}

input[type="radio"]:checked:after {
  width: 18px;
  height: 18px;
  border-radius: 15px;
  top: -2px;
  left: 0px;
  position: relative;
  background-color: #791b39;
  content: "";
  display: inline-block;
  visibility: visible;
  border: 2px solid white;
}

.option-textarea {
  width: 100%;
  border: 1px solid #cbcbcb;
  padding: 24px;
}

.option-textarea::placeholder {
  font-family: "Inter", sans-serif;
}

/* ========================================
   MENSAJES
   ======================================== */

.container-msg-success {
  margin-top: 55px;
  background-color: #048a0a1a;
  border: 1px solid #048a0a;
  border-radius: 10px;
  padding-left: 16px;
}

.container-msg-success p {
  font-size: 20px;
  color: #048a0a;
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 10px;
  display: flex;
}

.container-msg-warning {
  margin-top: 55px;
  background-color: #791b392b;
  border: 1px solid #791b39;
  border-radius: 10px;
  padding-left: 16px;
}

.container-msg-warning p {
  font-size: 20px;
  color: #791b39;
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 10px;
}

/* ========================================
   BOTONES
   ======================================== */

.container-submit {
  margin-top: 55px;
  padding-bottom: 55px;
  text-align: center;
}

.btn-submit {
  text-transform: uppercase;
  color: #fff;
  font-size: 14px;
  background-color: #791b39;
  border: none;
  border-radius: 4px;
  padding: 16px;
  font-family: "Inter", sans-serif;
  cursor: pointer;
}

.btn-submit:hover {
  background-color: #791b39db;
}

/* ========================================
   TÉRMINOS Y CONDICIONES
   ======================================== */

.terminos-condiciones {
  font-weight: 300;
  text-align: center;
  font-size: 20px;
  color: #1e1e1e;
  margin-top: 55px;
  padding-bottom: 35px;
  margin-bottom: 0px;
  font-family: "Montserrat", sans-serif;
}

.container-message-success {
  width: 1128px;
  margin: 0 auto;
  padding-bottom: 75px;
}

.check-email {
  margin-top: 25px;
  transform: scale(1.3);
  accent-color: #791b39;
}

.lbl-error-email {
  font-family: Inter;
  font-size: 18px;
  color: #791b39;
  font-weight: bold;
}

/* ========================================
   UPLOAD DE ARCHIVOS
   ======================================== */

.upload-container {
  width: 455px;
  height: 295px;
  border: 2px dotted #ccc;
  border-radius: 8px;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  margin: 0 auto;
  overflow: overlay;
}

#filesList{
    margin-top: 10px;
}

.upload-logo {
  width: 72px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.upload-instruction {
  font-size: 12px;
  color: #55585a;
  margin: 0 auto;
  padding-bottom: 20px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  width: 332px;
}

.custom-file-input-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.text-archivos-importados{
    font-family: "Inter", sans-serif;
}

.cloud-icon {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

.custom-file-input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  background-color: transparent;
  transition: background-color 0.3s;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #3b3b3b;
  display: flex;
  align-items: center;
}

.custom-file-input:hover {
  background-color: #f1f1f1;
}

input[type="file"] {
  display: none;
}

.file-info {
  text-align: left;
  margin-top: 10px;
  padding: 10px;
  display: none;
  font-family: "Inter", sans-serif;
}

.file-info strong {
  color: #323232;
  display: block;
  margin-bottom: 8px;
}

.file-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.file-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: bold;
  width: 52%;
  max-width: 65%;
  overflow: hidden;
  font-family: "Inter", sans-serif;
}

.file-name span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-name-icon {
  width: 20px;
  height: 20px;
}

.file-status {
  color: #791b39;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-family: "Inter", sans-serif;
}

.status-icon {
  width: 16px;
  height: 16px;
}

/* ========================================
   ESTILOS PARA BOTÓN DE ESTADO
   ======================================== */

.btn-estado {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  font-size: 12px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-transform: uppercase;
}

.btn-estado-nuevo {
  background-color: #e3a822;
  color: #000;
}

.btn-estado-proceso {
  background-color: #e3a822;
  color: #000;
}

.btn-estado-resuelto {
  background-color: #4caf50;
  color: #fff;
}

.btn-estado-descartado {
  background-color: #9e9e9e;
  color: #fff;
}

.btn-estado-archivado {
  background-color: #757575;
  color: #fff;
}

.btn-estado:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

/* ========================================
   ESTILOS PARA MODAL DE ASIGNACIÓN DE ESTADO
   ======================================== */

#modalEstado {
  display: none !important;
}

#modalConfirmacion {
  display: none !important;
}

.modal-estado {
  display: none; /* Modal oculto por defecto */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  padding-top: 60px;
}

.modal-estado-content {
  background-color: #fff;
  margin: 0 auto;
  padding: 40px;
  border-radius: 20px;
  width: 90%;
  max-width: 700px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.modal-estado-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 20px;
}

.modal-estado-close:hover,
.modal-estado-close:focus {
  color: #000;
}

.modal-estado-title {
  font-family: "Gotham", sans-serif;
  font-size: 32px;
  color: #55585a;
  margin-bottom: 8px;
  margin-top: 0;
}

.modal-estado-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: #55585a;
  margin-bottom: 24px;
}

.modal-caso-info {
  background-color: #f5f5f5;
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.modal-caso-label {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #000;
  margin: 0 0 8px 0;
}

.modal-caso-fecha {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  color: #55585a;
  margin: 0;
}

.modal-form-group {
  margin-bottom: 24px;
}

.modal-label {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  display: block;
  margin-bottom: 8px;
}

.modal-required {
  font-weight: normal;
  color: #55585a;
}

.modal-textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  border: 1px solid #cbcbcb;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  resize: vertical;
  box-sizing: border-box;
}

.modal-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbcbcb;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  box-sizing: border-box;
}

.modal-textarea:focus,
.modal-input:focus {
  outline: none;
  border-color: #791b39;
}

/* Estilos para upload de archivos en modal */
.modal-upload-container {
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.modal-upload-logo {
  width: 60px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 10px;
}

.modal-upload-instruction {
  font-size: 12px;
  color: #55585a;
  margin: 0 auto 20px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  max-width: 300px;
}

.modal-error-file {
  display: block;
  color: #d32f2f;
  font-size: 12px;
  margin-bottom: 10px;
  font-family: "Inter", sans-serif;
}

.modal-file-input-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.modal-cloud-icon {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

.modal-file-input {
  padding: 8px 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  background-color: transparent;
  transition: background-color 0.3s;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #3b3b3b;
  display: flex;
  align-items: center;
}

.modal-file-input:hover {
  background-color: #f1f1f1;
}

.modal-file-info {
  text-align: left;
  margin-top: 10px;
  padding: 10px;
  display: none;
  font-family: "Inter", sans-serif;
}

.modal-file-info strong {
  color: #323232;
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
}

.modal-file-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-file-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: bold;
  width: 52%;
  max-width: 65%;
  overflow: hidden;
}

.modal-file-name span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-file-name-icon {
  width: 18px;
  height: 18px;
}

.modal-file-status {
  color: #791b39;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
}

.modal-status-icon {
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.modal-status-icon:hover {
  opacity: 0.7;
}

/* Botones del modal */
.modal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.modal-btn {
  flex: 1 1 calc(50% - 6px);
  padding: 12px 16px;
  border: 1px solid;
  border-radius: 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  white-space: nowrap;
}

.modal-btn-proceso {
  background-color: transparent;
  border-color: #791b39;
  color: #791b39;
}

.modal-btn-proceso:hover {
  background-color: #791b39;
  color: #fff;
}

.modal-btn-resuelto {
  background-color: transparent;
  border-color: #791b39;
  color: #791b39;
}

.modal-btn-resuelto:hover {
  background-color: #791b39;
  color: #fff;
}

.modal-btn-descartar {
  background-color: transparent;
  border-color: #791b39;
  color: #791b39;
}

.modal-btn-descartar:hover {
  background-color: #791b39;
  color: #fff;
}

.modal-btn-archivar {
  background-color: transparent;
  border-color: #791b39;
  color: #791b39;
}

.modal-btn-archivar:hover {
  background-color: #791b39;
  color: #fff;
}

/* ========================================
   ESTILOS PARA MODAL DE CONFIRMACIÓN
   ======================================== */

.modal-confirmacion {
  display: none; /* Modal oculto por defecto */
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  padding-top: 100px;
}

.modal-confirmacion-content {
  background-color: #fff;
  margin: 0 auto;
  padding: 40px;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.modal-confirmacion-title {
  font-family: "Gotham", sans-serif;
  font-size: 28px;
  color: #000;
  margin-bottom: 16px;
}

.modal-confirmacion-text {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: #55585a;
  margin-bottom: 32px;
}

.modal-confirmacion-text span {
  font-weight: bold;
  color: #000;
}

.modal-confirmacion-icon {
  margin: 32px 0;
  display: flex;
  justify-content: center;
}

.modal-confirmacion-btn {
  background: linear-gradient(#791b39, #5a1429);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 80px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.modal-confirmacion-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ========================================
   MEDIA QUERIES - TABLET
   ======================================== */

@media (max-width: 1024px) and (min-width: 765px) {
  .header-formulario {
    width: 90%;
  }

  .container-title {
    width: 75%;
  }

  .container-banner {
    width: 90%;
  }

  .container-form {
    width: 84%;
  }

  .title-main {
    font-size: 54px;
  }

  .img-line {
    margin-top: -25px;
  }

  .subtitle-main {
    font-size: 54px;
    margin-top: -22px;
    margin-left: 0px;
  }

  .description-title {
    text-align: justify;
  }

  .title-question {
    font-size: 18px;
  }

  .container-message-success {
    width: 90%;
  }

  .container-message-success p {
    font-size: 14px;
  }

  .modal {
    padding-top: 200px;
  }

  .modal-content {
    width: 75%;
  }
}

/* ========================================
   MEDIA QUERIES - MOBILE
   ======================================== */

@media (max-width: 765px) {
  .header-formulario {
    width: 90%;
    display: block;
  }

  .header-formulario p {
    margin-top: 15px;
  }

  .container-title {
    width: 90%;
    padding-left: 45px;
    padding-right: 45px;
  }

  .title-main {
    font-size: 36px;
  }

  .img-line {
    margin-top: -25px;
  }

  .subtitle-main {
    font-size: 36px;
    margin-top: -15px;
    margin-left: 0px;
  }

  .description-title {
    font-size: 16px;
    text-align: justify;
  }

  .container-banner {
    width: 90%;
  }

  .title-banner {
    font-size: 28px;
  }

  .subtitle-banner {
    font-size: 22px;
  }

  .description-banner {
    font-size: 16px;
  }

  .container-text-banner {
    padding-left: 25px;
    padding-right: 25px;
  }

  .container-form {
    padding-left: 25px;
    padding-right: 25px;
    width: 90%;
  }

  .title-question {
    font-size: 16px;
  }

  .number {
    font-size: 26px;
  }

  .item {
    font-size: 16px;
  }

  .container-msg-warning {
    margin-top: 25px;
  }

  .container-msg-warning p {
    font-size: 16px;
  }

  .container-msg-success {
    margin-top: 25px;
  }

  .container-msg-success p {
    font-size: 16px;
  }

  .container-submit {
    margin-top: 25px;
  }

  .terminos-condiciones {
    font-size: 16px;
  }

  .option-radio {
    width: 27px;
    height: 27px;
  }

  input[type="radio"]:after {
    width: 27px;
    height: 27px;
  }

  .container-message-success {
    width: 90%;
  }

  .container-message-success p {
    font-size: 10px;
  }

  .modal {
    padding-top: 300px;
  }

  .text-modal {
    font-size: 12px;
  }

  /* Modal estado responsive */
  .modal-estado {
    padding-top: 20px;
  }

  .modal-estado-content {
    padding: 24px;
    width: 95%;
  }

  .modal-estado-title {
    font-size: 24px;
  }

  .modal-buttons {
    flex-direction: column;
  }

  .modal-btn {
    flex: 1 1 100%;
  }

  /* Modal confirmación responsive */
  .modal-confirmacion {
    padding-top: 50px;
  }

  .modal-confirmacion-content {
    padding: 24px;
    width: 95%;
  }

  .modal-confirmacion-title {
    font-size: 20px;
  }

  .modal-confirmacion-text {
    font-size: 14px;
  }

  .modal-confirmacion-icon svg {
    width: 80px;
    height: 80px;
  }
}
