/* formulario */
.ge-mis-entradas-wrapper {
  max-width: 900px;
  margin: 40px auto 24px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #e2d8c8;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  font-family: inherit;
  box-sizing: border-box;
}

/* resultados */
.ge-mis-entradas-resultado-wrapper {
  max-width: 1300px;
  margin: 0 auto 40px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #e2d8c8;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

/* Formulario */
.ge-formulario-buscar-entradas > div {
  margin-bottom: 20px;
}

.ge-formulario-buscar-entradas label {
  display: block;
  margin-bottom: 8px;
  color: #222;
  font-size: 14px;
  font-weight: 600;
}

.ge-formulario-buscar-entradas input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d8cbbd;
  border-radius: 10px;
  background: #ffffff;
  color: #222;
  font-size: 15px;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.ge-formulario-buscar-entradas input[type="email"]:focus {
  outline: none;
  border-color: #4b1224;
  box-shadow: 0 0 0 3px rgba(75, 18, 36, 0.12);
}

/* Botón */
#ge-boton-buscar-entradas {
  width: 100%;
  min-height: 52px;
  margin-top: 6px;
  border: none;
  border-radius: 10px;
  background: #4b1224;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

#ge-boton-buscar-entradas:hover {
  background: #651a32;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(75, 18, 36, 0.22);
}

#ge-boton-buscar-entradas:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Mensaje */
#ge-mis-entradas-mensaje {
  margin-top: 16px !important;
  margin-bottom: 0 !important;
  font-size: 14px;
  line-height: 1.5;
  color: #444;
}

/* Tabla */
#ge-tabla-mis-entradas {
  width: 100% !important;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}

#ge-tabla-mis-entradas thead th {
  background: #f8f5ef;
  color: #4b1224;
  font-weight: 700;
  padding: 11px 8px;
  border: 1px solid #e2d8c8;
  text-align: left;
  vertical-align: middle;
}

#ge-tabla-mis-entradas tbody td {
  padding: 11px 8px;
  border: 1px solid #eee4d7;
  color: #333;
  vertical-align: middle;
}

#ge-tabla-mis-entradas th,
#ge-tabla-mis-entradas td {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  box-sizing: border-box;
}

#ge-tabla-mis-entradas tbody tr:hover {
  background: #fbf8f3;
}

/* Tabla */
#ge-tabla-mis-entradas {
  width: 100% !important;
  table-layout: fixed;
}

/* Celdas más compactas */
#ge-tabla-mis-entradas th,
#ge-tabla-mis-entradas td {
  padding: 8px 8px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  vertical-align: middle;
  box-sizing: border-box;
}

/* Columnas ajustadas: total 100% */
#ge-tabla-mis-entradas th:nth-child(1),
#ge-tabla-mis-entradas td:nth-child(1) {
  width: 7%;
}

#ge-tabla-mis-entradas th:nth-child(2),
#ge-tabla-mis-entradas td:nth-child(2) {
  width: 10%;
}

#ge-tabla-mis-entradas th:nth-child(3),
#ge-tabla-mis-entradas td:nth-child(3) {
  width: 22%;
}

#ge-tabla-mis-entradas th:nth-child(4),
#ge-tabla-mis-entradas td:nth-child(4) {
  width: 6%;
}

#ge-tabla-mis-entradas th:nth-child(5),
#ge-tabla-mis-entradas td:nth-child(5) {
  width: 9%;
}

#ge-tabla-mis-entradas th:nth-child(6),
#ge-tabla-mis-entradas td:nth-child(6) {
  width: 8%;
}

/* Código */
#ge-tabla-mis-entradas th:nth-child(7),
#ge-tabla-mis-entradas td:nth-child(7) {
  width: 28%;
  font-size: 12px;
  word-break: break-all;
  overflow-wrap: anywhere;
}

/* Fecha */
#ge-tabla-mis-entradas th:nth-child(8),
#ge-tabla-mis-entradas td:nth-child(8) {
  width: 10%;
  font-size: 12px;
  text-align: center;
}

#ge-tabla-mis-entradas th:nth-child(9),
#ge-tabla-mis-entradas td:nth-child(9) {
    width: 13%;
    text-align: center;
}

#ge-tabla-mis-entradas.dataTable {
  width: 100% !important;
}

#ge-tabla-mis-entradas.dataTable th,
#ge-tabla-mis-entradas.dataTable td {
  box-sizing: border-box;
}

.ge-boton-ver-pdf {
  display: inline-block;

  padding: 8px 14px;

  background-color: #3b1424;
  color: #f4eee2 !important;

  border-radius: 8px;

  text-decoration: none !important;

  font-size: 13px;
  font-weight: 600;

  white-space: nowrap;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.ge-boton-ver-pdf:hover {
  color: #f4eee2 !important;

  opacity: 0.88;

  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
  .ge-mis-entradas-wrapper,
  .ge-mis-entradas-resultado-wrapper {
    max-width: none;
    margin-left: 14px;
    margin-right: 14px;
    padding: 20px;
    border-radius: 14px;
  }

  .ge-mis-entradas-wrapper {
    margin-top: 24px;
    margin-bottom: 20px;
  }

  .ge-mis-entradas-resultado-wrapper {
    margin-bottom: 40px;
  }

  #ge-boton-buscar-entradas {
    font-size: 15px;
  }

  /* Tabla como tarjetas en móvil */
  #ge-tabla-mis-entradas,
  #ge-tabla-mis-entradas thead,
  #ge-tabla-mis-entradas tbody,
  #ge-tabla-mis-entradas th,
  #ge-tabla-mis-entradas td,
  #ge-tabla-mis-entradas tr {
    display: block;
    width: 100% !important;
  }

  #ge-tabla-mis-entradas thead {
    display: none;
  }

  #ge-tabla-mis-entradas tbody tr {
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid #e2d8c8;
    border-radius: 12px;
    background: #ffffff;
  }

  #ge-tabla-mis-entradas tbody td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid #eee4d7;
    font-size: 14px;
    text-align: right;
  }

  #ge-tabla-mis-entradas tbody td:last-child {
    border-bottom: none;
  }

  #ge-tabla-mis-entradas tbody td::before {
    font-weight: 700;
    color: #4b1224;
    text-align: left;
    flex: 0 0 95px;
  }

  #ge-tabla-mis-entradas tbody td:nth-child(1)::before {
    content: "Título";
  }

  #ge-tabla-mis-entradas tbody td:nth-child(2)::before {
    content: "Nombre";
  }

  #ge-tabla-mis-entradas tbody td:nth-child(3)::before {
    content: "Correo";
  }

  #ge-tabla-mis-entradas tbody td:nth-child(4)::before {
    content: "Tipo";
  }

  #ge-tabla-mis-entradas tbody td:nth-child(5)::before {
    content: "Modalidad";
  }

  #ge-tabla-mis-entradas tbody td:nth-child(6)::before {
    content: "Estado";
  }

  #ge-tabla-mis-entradas tbody td:nth-child(7)::before {
    content: "Código";
  }

  #ge-tabla-mis-entradas tbody td:nth-child(8)::before {
    content: "Fecha";
  }

  #ge-tabla-mis-entradas tbody td:nth-child(9)::before {
    content: "Entrada";
}
}
