/* ================================
   ESTILO GENERAL TF ONLINE
================================ */

body {
  font-family: 'Varela Round', sans-serif;
  background: #f5f7fa;
  margin: 0;
}

/* HEADER CLASICO TF */
#encabezado {
  height: 100px;
  /*  background: linear-gradient(180deg,#19AAFD,#d0edfa);*/
  background: -webkit-gradient(linear, 45% 2%, 91% 96%, from(#19AAFD), to(#d0edfa));
  background: -webkit-gradient(linear, 0 0, 0 100%, from(#19AAFD), to(#d0edfa));
  /*background-color: #19AAFD;
      margin-left: auto;
      margin-right: auto;*/
}

.tf-lista-mini {
  font-size: 10px;
  font-weight: 700;
  color: #003366;
  opacity: .6;
  letter-spacing: 1px;
  margin-top: 2px;
}

.topbar {
  background: linear-gradient(180deg, #19AAFD, #d0edfa) !important;
}

.tf-logo {
  height: 100px;
  margin: 0 0 0 12px;
  opacity: .85;
}

#logo {
  width: 270px;
  height: 97px;
  opacity: 0.6;
  float: left;
}

#logo img {
  height: 100px;
}

/* ================================
   FORM LOGIN (CLASICO TF)
================================ */

.contact_form {
  max-width: 520px;
  margin: 25px auto 0 auto;
  /* centra */
  background: #ffffff;
  padding: 22px 26px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.contact_form h2 {
  margin: 0 0 16px 0;
  font-size: 22px;
  color: #003366;
}

.contact_form label {
  display: block;
  margin: 12px 0 6px 0;
  font-weight: 600;
  color: #2f2f2f;
}

.tf-input {
  display: block;
  width: 100%;
  height: 40px;
  padding: 8px 12px;
  border: 1px solid #cfd6df;
  border-radius: 10px;
  background: #fbfcfe;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .05s ease;
}

.tf-input:focus {
  border-color: #19AAFD;
  box-shadow: 0 0 0 4px rgba(25, 170, 253, 0.18);
  background: #ffffff;
}

.tf-btn {
  width: 100%;
  margin-top: 16px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: .6px;
  color: #ffffff;
  background: linear-gradient(180deg, #2bb5ff, #1289d6);
  box-shadow: 0 10px 18px rgba(18, 137, 214, 0.25);
  cursor: pointer;
  transition: transform .08s ease, box-shadow .15s ease, filter .15s ease;
}

.tf-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 12px 22px rgba(18, 137, 214, 0.35);
}

.tf-btn:active {
  transform: translateY(1px);
  box-shadow: 0 8px 16px rgba(18, 137, 214, 0.25);
}

/* Mensaje de error */
.contact_form .tf-error {
  background: #fff0f1;
  border: 1px solid #ffb7bf;
  color: #9c0013;
  padding: 10px 12px;
  border-radius: 10px;
  margin: 10px 0 0 0;
  font-weight: 700;
}

/* ================================
   DASHBOARD TF ONLINE
================================ */

.tf-header {
  position: relative;
}

.tf-userbox {
  position: absolute;
  right: 14px;
  top: 18px;
  text-align: right;
}

.tf-user-name {
  font-weight: 800;
  color: #003366;
  background: rgba(255, 255, 255, 0.6);
  padding: 6px 10px;
  border-radius: 10px;
  display: inline-block;
}

.tf-logout {
  display: inline-block;
  margin-top: 8px;
  text-decoration: none;
  font-weight: 800;
  color: #ffffff;
  background: #003366;
  padding: 7px 12px;
  border-radius: 10px;
  transition: filter .15s ease, transform .08s ease;
}

.tf-logout:hover {
  filter: brightness(1.08);
}

.tf-logout:active {
  transform: translateY(1px);
}

.tf-container {
  max-width: 1100px;
  margin: 22px auto;
  padding: 0 14px;
}

.tf-section-title {
  margin: 18px 0 12px 0;
  color: #003366;
  font-size: 22px;
}

.tf-sep {
  border: 0;
  height: 1px;
  background: #e3e8ef;
  margin: 22px 0;
}
.lista-fecha{
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
}
/* Grilla responsiva (varias columnas) */
.tf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1100px) {
  .tf-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .tf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .tf-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* Cards de descarga */
.lista-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform .12s ease, box-shadow .15s ease;
}

.lista-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}

.lista-img {
  width: 110px;
  height: auto;
  margin: 8px auto 10px auto;
  display: block;
}

.lista-title {
  font-size: 18px;
  font-weight: 800;
  color: #003366;
  margin: 8px 0 10px 0;
}

/* Botón descarga (parecido al estilo del login) */
.lista-btn {
  display: inline-block;
  width: 100%;
  max-width: 220px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: .4px;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(180deg, #2bb5ff, #1289d6);
  box-shadow: 0 10px 18px rgba(18, 137, 214, 0.25);
  transition: filter .15s ease, transform .08s ease, box-shadow .15s ease;
}

.lista-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 12px 22px rgba(18, 137, 214, 0.35);
}

.lista-btn:active {
  transform: translateY(1px);
  box-shadow: 0 8px 16px rgba(18, 137, 214, 0.25);
}