/* ---------------------------------------------------
   Fuentes Google
--------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@400;500;600;700&display=swap');

/* ---------------------------------------------------
   Variables [MODIFICADO]
   - Se refina la paleta para un look más sofisticado.
   - Se añaden variables para texto y fondos.
--------------------------------------------------- */
:root {
  --asbu-primary: #04233b;      /* Un azul noche más profundo */
  --asbu-secondary: #c5a444;   /* Un dorado más rico y menos brillante */
  --asbu-light: #fdfdfd;       /* Un blanco ligeramente roto, más suave a la vista */
  --asbu-bg-section: #f8f9fa;  /* Gris claro para fondos de sección */
  --asbu-text: #343a40;         /* Gris oscuro para texto, mejor que negro puro */
  --asbu-text-muted: #6c757d;  /* Gris medio para texto secundario */
}

/* ---------------------------------------------------
   Reset / Global [MODIFICADO]
   - Se mejora la legibilidad y el scroll.
--------------------------------------------------- */
body {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  color: var(--asbu-text);
  background-color: var(--asbu-light);
  line-height: 1.7; /* Más espacio entre líneas para leer mejor */
}

h1, h2, h3, .section-title {
  font-family: 'DM Serif Display', serif;
  letter-spacing: .5px;
  font-weight: 400; /* Esta fuente no necesita ser bold */
}

/* Transición global para suavizar cambios */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}


/* ---------------------------------------------------
   Navbar [MODIFICADO]
   - Efecto translúcido y con desenfoque (glassmorphism).
   - Sombra más suave.
   - Hover de enlaces más elegante.
--------------------------------------------------- */
/* ---------- NAVBAR TRANSPARENTE & SCROLL ---------- */
.navbar{
  background: transparent;
  box-shadow: none;
  transition: background .4s ease, box-shadow .4s ease;
}
.navbar.scrolled{
  background: var(--asbu-primary);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

/* ---------- ENLACES NAV ---------- */
.navbar-nav .nav-link{
  color:#fff!important;
  font-weight:600;
  position:relative;
  padding-bottom:4px;
}
.navbar-nav .nav-link::after{
  content:'';
  position:absolute;
  left:0; bottom:0;
  width:0; height:2px;
  background:var(--asbu-secondary);
  transition:width .3s;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after{ width:100%; }

/* ---------- BOTÓN CTA ---------- */
.btn-cta{
  background:#ff6600;
  color:#fff;
  padding:10px 22px;
  border-radius:30px;
  font-weight:600;
  letter-spacing:.5px;
  transition:background .3s;
}
.btn-cta:hover{ background:#e05700; }


/* ---------------------------------------------------
   Hero [MODIFICADO]
   - Degradado más pronunciado para mejor contraste.
   - Tipografía más impactante.
--------------------------------------------------- */
.hero {
  background: url("../images/hero.jpeg") center center / cover no-repeat;
  height: 100vh;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(4, 35, 59, 0.85) 0%,
    rgba(4, 35, 59, 0.65) 50%,
    rgba(4, 35, 59, 0.4) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-left { max-width: 650px; text-align: left; }
.hero-left h1 {
  font-size: 3.5rem; /* Más grande e impactante */
  font-weight: 400;
  line-height: 1.2;
}
.hero-left h1 .accent { color: var(--asbu-secondary); }
.hero-line { border-left: 4px solid var(--asbu-secondary); padding-left: 20px; }
.lead {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}
.hero-flags {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* importante */
  z-index: 1;
}
.flag-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.flag {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  opacity: 0.12; /* 👈 clave para que no invada */
}

/* Izquierda */
.flag-peru {
  left: 0;
}

/* Derecha */
.flag-buzos {
  right: 0;
}
/* ---------------------------------------------------
   Sección – Títulos [MODIFICADO]
   - Un diseño más sutil y elegante para el subrayado.
--------------------------------------------------- */
.section-title {
  color: var(--asbu-primary);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  font-size: 2.8rem;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 4px;
  background: var(--asbu-secondary);
  border-radius: 2px;
}
#services .section-title { color: var(--asbu-primary); } /* Para que contraste en fondo claro */

/* ---------------------------------------------------
   Tarjetas / Misión y Visión [MODIFICADO]
   - Rediseño completo para un look más premium.
--------------------------------------------------- */
.vision-card, .mision-card {
  border: 1px solid #e9ecef;
  border-left-width: 5px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.vision-card { border-left-color: var(--asbu-secondary); }
.mision-card { border-left-color: #0d6efd; }
.vision-card:hover, .mision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  border-color: var(--asbu-secondary);
}

.show-more {
  max-height: 140px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.5s ease-in-out;
  color: var(--asbu-text-muted);
}
/* Gradiente mejorado para el "leer más" */
.show-more::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  /*background: linear-gradient(to top, var(--asbu-light), transparent);*/
}
@media (min-width: 768px) {
  .show-more { max-height: none; overflow: visible; }
  .show-more::after { display: none; }
  .toggle-btn { display: none !important; }
}

/* ---------------------------------------------------
   Tarjetas de Servicios [MODIFICADO]
   - Diseño unificado con las otras tarjetas.
   - Íconos más grandes.
--------------------------------------------------- */
#services .card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  background-color: var(--asbu-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#services .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
#services .card .display-6 {
  font-size: 3rem !important; /* Íconos más grandes */
  color: var(--asbu-secondary);
}
#services .card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--asbu-primary);
}

/* ---------------------------------------------------
   Galería [MODIFICADO]
   - Efecto de superposición (overlay) al pasar el cursor.
--------------------------------------------------- */
#galleryContainer .gallery-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 14px;
}

#galleryContainer img {
  width: 100%;
  height: 260px;        /* tamaño uniforme */
  object-fit: cover;    /* recorte elegante */
  transition: transform 0.4s ease;
  border-radius: 14px;
}

#galleryContainer img:hover {
  transform: scale(1.07);
}
#galleryModal .modal-body {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
	show: hidden;
}
/* ---------------------------------------------------
   Sección Contacto [MODIFICADO]
   - Formulario con diseño minimalista.
   - Bloque de información más limpio.
--------------------------------------------------- */
#contact .bg-white {
  background-color: var(--asbu-light) !important;
}

#contact .form-control {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #ced4da;
  border-radius: 0;
  padding-left: 0;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}
#contact .form-control:focus {
  border-color: var(--asbu-secondary);
  box-shadow: none;
  background-color: transparent;
}
#contact .form-label {
  color: var(--asbu-text-muted);
  font-weight: 500;
}
#contact .info-item i {
  color: var(--asbu-secondary);
  font-size: 1.8rem;
}
#contact .info-item h6 {
  color: var(--asbu-primary);
}

/* ---------------------------------------------------
   Botones [MODIFICADO]
   - Efecto más profesional en hover.
--------------------------------------------------- */
.btn {
  border-radius: 50px; /* Botones más redondeados */
  padding: 10px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.btn-warning {
  background: var(--asbu-secondary);
  border-color: var(--asbu-secondary);
  color: #fff;
}
.btn-warning:hover {
  background: #b4913c; /* Un dorado más oscuro al pasar el cursor */
  border-color: #b4913c;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  color: #fff;
}

/* ---------------------------------------------------
   Footer [MODIFICADO]
   - Diseño más completo.
--------------------------------------------------- */
footer {
  background: var(--asbu-primary);
  /*color: rgba(255, 255, 255, 0.7);*/
  padding: 2rem 0;
    color: #ffc107 !important;
  transition: color 0.3s ease;
}
footer p {
  margin: 0;
  font-size: 0.9rem;
}
.scroll-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 50px;
  height: 50px;
  background-color: #062d4d;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.scroll-btn:hover {
  background-color: #0a3e6b;
  transform: scale(1.05);
}
.social-float {
  position: fixed;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #062d4d;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-float a:hover {
  background-color: #ffc107;
  color: #000;
}
#institucional .card-title {
  color: #00537a;
}

#institucional ul {
  padding-left: 20px;
  list-style: disc;
}
form .form-label {
  font-weight: 500;
}

form .form-control:focus {
  border-color: #00537a;
  box-shadow: 0 0 0 0.2rem rgba(0, 83, 122, 0.25);
}

/* ---------------------------------------------------
   Galería Profesional [NUEVO]
   - Estilos para las imágenes de la galería en la página principal
--------------------------------------------------- */

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(5px);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: white;
  font-size: 3rem;
  transform: scale(0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1.2);
}

/* Responsive para la galería */
@media (max-width: 768px) {
  .gallery-item img {
    height: 200px;
  }
  
  .gallery-overlay i {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .gallery-item img {
    height: 180px;
  }
  
  .gallery-overlay i {
    font-size: 2rem;
  }
}

/* ---------------------------------------------------
   Carrusel Profesional de Galería [NUEVO]
   - Estilos elegantes y modernos para el modal
--------------------------------------------------- */

/* Modal de Galería Profesional */
#galleryModal .modal-content {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

#galleryModal .modal-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, transparent 100%);
  padding: 1.5rem;
}

#galleryModal .modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#galleryModal .btn-close-white {
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: all 0.3s ease;
}

#galleryModal .btn-close-white:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Carrusel Profesional */
#galleryCarousel {
  height: 100vh;
  background: #000;
}

#galleryCarousel .carousel-inner {
  height: 100%;
}

#galleryCarousel .carousel-item {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

#galleryCarousel .carousel-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: all 0.5s ease;
}

#galleryCarousel .carousel-item.active img {
  animation: imageZoomIn 0.6s ease-out;
}

@keyframes imageZoomIn {
  from {
    transform: scale(0.9);
    opacity: 0.8;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Indicadores Personalizados */
.custom-indicators {
  bottom: 120px;
  gap: 12px;
  z-index: 1050;
}

.custom-indicators button {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.3);
  border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.custom-indicators button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  transition: left 0.6s ease;
}

.custom-indicators button:hover::before {
  left: 100%;
}

.custom-indicators button.active {
  background-color: #ffc107;
  border-color: #fff;
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.6);
}

.custom-indicators button:hover {
  background-color: rgba(255,255,255,0.6);
  transform: scale(1.1);
}

/* Controles de Navegación Elegantes */
.custom-control {
  width: 70px;
  height: 70px;
  background: rgba(0,0,0,0.6);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.custom-control:hover {
  background: rgba(0,0,0,0.8);
  border-color: #ffc107;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 30px rgba(255, 193, 7, 0.4);
}

.custom-control .carousel-control-prev-icon,
.custom-control .carousel-control-next-icon {
  width: 35px;
  height: 35px;
  filter: brightness(0) invert(1);
}

/* Contador de Imágenes Elegante */
.image-counter {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  z-index: 1050;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.image-counter span {
  color: #ffc107;
  font-weight: 700;
}

/* Barra de Miniaturas Profesional */
.thumbnails-bar {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.8);
  padding: 20px;
  border-radius: 30px;
  max-width: 90%;
  overflow-x: auto;
  z-index: 1050;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 15px 45px rgba(0,0,0,0.4);
}

.thumbnails-bar::-webkit-scrollbar {
  height: 6px;
}

.thumbnails-bar::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}

.thumbnails-bar::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
}

.thumbnails-bar::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.5);
}

#galleryThumbnailsContainer {
  display: flex;
  gap: 15px;
  align-items: center;
}

#galleryThumbnailsContainer .thumbnail-item {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.7;
  position: relative;
}

#galleryThumbnailsContainer .thumbnail-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#galleryThumbnailsContainer .thumbnail-item:hover::before {
  opacity: 1;
}

#galleryThumbnailsContainer .thumbnail-item:hover {
  opacity: 1;
  transform: scale(1.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

#galleryThumbnailsContainer .thumbnail-item.active {
  border-color: #ffc107;
  opacity: 1;
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(255, 193, 7, 0.6);
}

#galleryThumbnailsContainer .thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

/* Responsive para el Carrusel Profesional */
@media (max-width: 768px) {
  .custom-control {
    width: 60px;
    height: 60px;
  }
  
  .custom-control .carousel-control-prev-icon,
  .custom-control .carousel-control-next-icon {
    width: 30px;
    height: 30px;
  }
  
  .custom-indicators {
    bottom: 100px;
  }
  
  .custom-indicators button {
    width: 14px;
    height: 14px;
  }
  
  .image-counter {
    top: 20px;
    right: 20px;
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  
  .thumbnails-bar {
    bottom: 20px;
    padding: 15px;
  }
  
  #galleryThumbnailsContainer {
    gap: 10px;
  }
  
  #galleryThumbnailsContainer .thumbnail-item {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 576px) {
  .custom-control {
    width: 50px;
    height: 50px;
  }
  
  .custom-control .carousel-control-prev-icon,
  .custom-control .carousel-control-next-icon {
    width: 25px;
    height: 25px;
  }
  
  .thumbnails-bar {
    max-width: 95%;
    padding: 12px;
  }
  
  #galleryThumbnailsContainer {
    gap: 10px;
  }
  
  #galleryThumbnailsContainer .thumbnail-item {
    width: 50px;
    height: 50px;
  }
}

/* Estilos para la tabla de miembros y paginación */
#tablaMiembros .input-group-text {
  border-color: #0d6efd;
}

#tablaMiembros .form-control:focus,
#tablaMiembros .form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

#tablaMiembros .table th {
  background-color: #04233b !important;
  border-color: #04233b;
  color: white;
  font-weight: 600;
}

#tablaMiembros .table td {
  vertical-align: middle;
}

#tablaMiembros .badge {
  font-size: 0.75em;
  padding: 0.35em 0.65em;
}

#tablaMiembros .pagination {
  margin-bottom: 0;
}

#tablaMiembros .page-link {
  color: #04233b;
  border-color: #dee2e6;
  padding: 0.5rem 0.75rem;
}

#tablaMiembros .page-link:hover {
  color: #fff;
  background-color: #04233b;
  border-color: #04233b;
}

#tablaMiembros .page-item.active .page-link {
  background-color: #04233b;
  border-color: #04233b;
  color: white;
}

#tablaMiembros .page-item.disabled .page-link {
  color: #6c757d;
  background-color: #fff;
  border-color: #dee2e6;
}

#tablaMiembros .spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

/* Animación suave para los cambios de página */
#tablaMiembros .table tbody tr {
  transition: all 0.2s ease-in-out;
}

#tablaMiembros .table tbody tr:hover {
  background-color: rgba(13, 110, 253, 0.05);
}

/* Responsive para móviles */
@media (max-width: 768px) {
  #tablaMiembros .row .col-md-6,
  #tablaMiembros .row .col-md-3 {
    margin-bottom: 1rem;
  }
  
  #tablaMiembros .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  #tablaMiembros .page-link {
    padding: 0.375rem 0.5rem;
    font-size: 0.875rem;
  }
}

/* Estilos para el panel administrativo */
.admin-panel .input-group-text {
  border-color: #0d6efd;
}

.admin-panel .form-control:focus,
.admin-panel .form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.admin-panel .table th {
  background-color: #04233b !important;
  border-color: #04233b;
  color: white;
  font-weight: 600;
}

.admin-panel .table td {
  vertical-align: middle;
}

.admin-panel .badge {
  font-size: 0.75em;
  padding: 0.35em 0.65em;
}

.admin-panel .pagination {
  margin-bottom: 0;
}

.admin-panel .page-link {
  color: #04233b;
  border-color: #dee2e6;
  padding: 0.5rem 0.75rem;
}

.admin-panel .page-link:hover {
  color: #fff;
  background-color: #04233b;
  border-color: #04233b;
}

.admin-panel .page-item.active .page-link {
  background-color: #04233b;
  border-color: #04233b;
  color: white;
}

.admin-panel .page-item.disabled .page-link {
  color: #6c757d;
  background-color: #fff;
  border-color: #dee2e6;
}

.admin-panel .spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

/* Animación suave para los cambios de página en admin */
.admin-panel .table tbody tr {
  transition: all 0.2s ease-in-out;
}

.admin-panel .table tbody tr:hover {
  background-color: rgba(13, 110, 253, 0.05);
}

/* Responsive para móviles en admin */
@media (max-width: 768px) {
  .admin-panel .row .col-md-6,
  .admin-panel .row .col-md-3 {
    margin-bottom: 1rem;
  }
  
  .admin-panel .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .admin-panel .page-link {
    padding: 0.375rem 0.5rem;
    font-size: 0.875rem;
  }
}
