:root {
    --main-color: #1E1E2F; /* Azul oscuro moderno */
    --secondary-color: #5A67D8; /* Indigo brillante */
    --light-grey: #F7FAFC; /* Fondo claro limpio */
    --light-lilac: #F6F9FC; /* Blanco azulado moderno */
    --text-color: #2D3748; /* Gris profundo */
    --border-color: rgba(0, 0, 0, 0.1);
    --box-shadow: rgba(0, 0, 0, 0.15);
    --opaque-background: #CBD5E0; /* Gris azulado */
    --background-dark: #2A4365; /* Azul noche */
    --opaque-border-light-blue: #90CDF4; /* Azul cielo */
}


body, .content {
    min-height: 100vh;
    background: var(--light-grey);
    display: grid;
    align-content: space-between;
    grid-template-rows: auto 1fr auto;
}

h1, a, button, span, .native-table-footer, .native-table-head {

}

a {
    color: var(--text-color) ;
}

header {
    width: 100vw;
    min-height: 68.55px;

    display: grid;
    grid-template-rows: auto;
    grid-template-columns: auto auto auto;
    align-items: center;
    border-bottom: 2px solid var(--secondary-color);
    background: var(--main-color);
    font-size: 14px;
}

.head-bg {
    display: none;
}

.brand-container {
    grid-row: 1;
    grid-column: 1;
    width: fit-content;
}

.description {
    display: none;
}

nav {
    grid-row: 1;
    grid-column: 3;
    width: 485px;
    box-shadow: none;
    background: none;
    border: none !important;
    text-transform: uppercase;
}

nav li {
    border-left: none;
    border-right: none;
}

nav li a {
    text-shadow: none;
}

nav li:hover {
    background: none;
}

nav li a:hover {
    color: var(--secondary-color);
}

.content-home {
    justify-content: normal !important;
}

.paste-list {
    border: none;
    width: 100%;
}

.paste-list a {
    font-size: .65em;
    font-weight: bold;
}

.paste-list a:hover {
    color: var(--secondary-color);
}

.paste-list li {
    background: var(--white-color);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    margin: 5px;
    display: grid;
    padding: 14px 20px;
}

.paste-list li:nth-child(1):hover {
    border: 2px solid var(--secondary-color);
}

.paste-list li:hover {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}


.paste-list li:nth-child(1) {
    border-top: 2px solid var(--border-color);
}

nav:empty {
    display: none;
}

.content-home {
    grid-gap: 0px;
}

footer {
    height: 66px;
    display: grid;
    place-content: center;
    color: var(--white-color);
    background: var(--main-color);
    border-top: 2px solid var(--secondary-color);
    margin: 0px;
}

.pagination {
    background: var(--white-color);
    padding: 6px;
    border-radius: 25px;
    box-shadow: 0 1px 3px 0 var(--box-shadow);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-top: 7px;
    max-width: 100%;
    overflow: hidden;
    list-style: none;
}

.pagination a {
    border-radius: 15px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.pagination li {
    box-shadow: inset 0 0 4px var(--box-shadow);
    border-radius: 15px;
    width: 40px;
    height: 40px;
    position: relative;
    margin: 0;
    flex-shrink: 0;
}

/* Elimina los bordes redondeados especiales para los primeros/últimos items */
.pagination li:nth-child(12),
.pagination li:nth-child(1) {
    border-radius: 15px;
}

.pagination li a:hover {
    color: var(--white-color);
    transition: color 0.3s;
    z-index: 2;
}

.pagination li a::before {
    content: '';
    background-color: var(--secondary-color);
    height: 0;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    filter: blur(1px);
    transition: all 0.3s;
    border-radius: 15px;
}

.pagination li a:hover::before {
    height: 100%;
    filter: blur(0);
    box-shadow: inset 0 0 4px var(--box-shadow);
}

/* Estilos para el elemento activo */
.pagination li.active {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

/* Estilos para los puntos suspensivos */
.pagination li.ellipsis {
    box-shadow: none;
    pointer-events: none;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
    .pagination {
        border-radius: 15px;
        padding: 4px;
        gap: 3px;
    }
    
    .pagination a,
    .pagination li {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .pagination {
        gap: 2px;
    }
    
    .pagination a,
    .pagination li {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

footer a {
    color: var(--white-color);
}

.tab_container {
    background: var(--light-lilac);
}

.tabs li.active > div::before {
    content: "\f0c1"; /* Unicode del 铆cono de enlace (chain/link) */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
}
.btn-report {
    color: white;
    background-color: red;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.btn-report i.fas.fa-flag {
    color: white; /* rojo bandera */
}
.visitas-info {
  background-color: var(--main-color); /* celeste claro */
  color: #fff; /* azul oscuro para el texto */
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.visitas-info i.fas.fa-eye {
  color: #3182ce; /* azul para el 铆cono */
}

.icon-bg {
    color: white;
    background-color: red;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.icon-bg i.fa-solid.fa-newspaper {
    color: white; /* rojo bandera */
}

.tabs li.active, .tabs li.active > div {
    background: var(--main-color);
    color: var(--white-color);
}

button, .btn {
    background: var(--main-color);
    border: 1px solid var(--border-color);
}

.btn:hover {
    background: var(--background-dark);
}

button:hover {
    background: var(--background-dark);
}

.tab_content textarea {
    min-height: 30vh;
}

#table {
    background: var(--white-color);
}

.paginate_button {
    border: none;
}

.pagination.right a {
    width: 35px;
    height: 35px;
    box-shadow: inset 0 1px 3px var(--box-shadow), 0 1px 4px;
    box-shadow: inset 0 0 4px var(--box-shadow);
    border-radius: 15px;
    margin: 5px 10px;
    position: relative;
}

.pagination.right .paginate_button::before {
    content: '';
    background-color: var(--secondary-color);
    height: 0;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    filter: blur(1px);
    transition: all 0.3s;
}

.pagination.right .paginate_button:hover::before {
    height: 100%;
    filter: blur(0);
    box-shadow: inset 0 0 4px var(--box-shadow);
    border-radius: 15px;
}

.pagination.right .paginate_button:hover {
    color: var(--white-color);
    transform: color;
    transition: 0.3s;
    z-index: 2;
}

.pagination.right .paginate_button:hover::before {
    height: 100%;
    filter: blur(0);
    box-shadow: inset 0 0 4px var(--box-shadow);
    border-radius: 15px;
}

.menu-option {
    background: var(--light-lilac);
}

.menu-option:hover {
    background: var(--opaque-background) !important;
    color: var(--white-color);
}

form, .grey-box {
    background: var(--light-lilac);
}

.bottom-badge, .admin-nav {
    background: var(--opaque-background);
    border: 1px solid var(--opaque-border-light-blue);
}

.admin-nav a {
    color: var(--white-color);
}

.bottom-badge {
    background: var(--light-grey);
    color: white;
    border-radius: 8px;
    padding: 6px 12px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}


.jdbtn {
    border: 1px solid var(--secondary-color) !important;
    background: var(--light-grey) !important;
    color: var(--background-dark) !important;
}

@media only screen and (max-width: 768px) {
    nav {
        grid-row: 2;
        grid-column: 1;
        height: auto;
        background: var(--main-color);
        width: 100vw;
        z-index: 1;
        display: none;
        border-bottom: 1px solid var(--secondary-color) !important;
    }

    .nav_switch {
        display: block;
    }

   .nav_switch ul li {
       border-top: 1px solid var(--border-color);
       width: 100vw;
       text-align: center;
       padding: 20px 10px;
    }

    nav ul {
        grid-template-rows: repeat(auto-fit, minmax(0px, auto));
        grid-template-columns: auto;
        justify-content: center;
        padding-top: 15px;
    }

    header {
        grid-template-rows: auto auto;
        grid-template-columns: auto;
    }

    .container-hamburger {
        grid-row: 1;
        display: grid;
        justify-content: end;
        height: 50px;
        align-content: center;
        grid-column: 1;
    }

    .bar {
        width: 50px;
        height: 8px;
        background: var(--white-color);
        border-radius: 5px;
        margin: 3px 10px;
    }

    .pagination {
        justify-content: normal;
        grid-gap: 5px;
        grid-auto-flow: column;
        grid-template-columns: none;
        overflow: scroll;
        width: 100%;
    }
    .native-table-footer {
    display: block;
}
    .native-table-footer .pagination.right {
    justify-content: center;
  }

  .pagination.right a {
    width: 30px;
    height: 30px;
    margin: 0;
  }
}

.memb-item {
  list-style: none;
}

.memb-item a {
  display: inline-flex;
  align-items: center;
  background-color: #ffcc00;
  color: #000;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 15px;
  text-decoration: none;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  animation: pulse 1.6s infinite;
  transition: background-color 0.3s, transform 0.3s;
}

.memb-item a:hover {
  background-color: #ffb700;
  transform: scale(1.05);
}

.memb-item i {
  font-size: 18px;
}

/* Animaci贸n tipo palpitaci贸n */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

.pretty-link {
  display: inline-block;
  margin-bottom: 12px;
  line-height: 1.6;
  color: #1a202c;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  font-weight: 500;
}

.pretty-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: #0073e6;
  transition: width 0.3s ease;
}

.pretty-link:hover::after {
  width: 100%;
}

.pretty-link:hover {
  color: #0073e6;
  transform: translateX(4px);
}

.pretty-link img {
  vertical-align: middle;
  margin-right: 6px;
  transition: transform 0.3s ease;
}

.pretty-link:hover img {
  transform: scale(1.1);
}
.input-group {
      position: relative;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      width: 100%;
      gap: 5px;
    }

    .input-group .btn {
      height: 36px;

    }

    .mb-3 {
      margin-bottom: 1rem !important;
    }

    .form-control {
      display: block;
      width: 100%;
      padding: .375rem .75rem;
      font-size: 1rem;
      font-weight: 400;
      line-height: 1.5;
      color: var(--bs-body-color);
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      background-color: var(--bs-body-bg);
      background-clip: padding-box;
      border: var(--bs-border-width) solid var(--bs-border-color);
      border-radius: var(--bs-border-radius);
      transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    }

    .input-group>.form-control,
    .input-group>.form-select,
    .input-group>.form-floating {
      position: relative;
      flex: 1 1 auto;
      width: 1%;
      min-width: 0;
    }