/* Estilos generales */
/* TIPOGRAFIAS */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

h1, h2, h3, h4, h5, h6{
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
}

p{
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}
* {
margin: 0px auto;
}

.nav-link{
  cursor: pointer;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
opacity: 1;
background-color: black !important;
color: #F5F5F5;
/*
display: flex;
flex-direction: column;*/
min-height: 100vh;

-webkit-user-select: none; /* Chrome, Safari, Edge */
-moz-user-select: none;    /* Firefox */
-ms-user-select: none;     /* Internet Explorer/Edge */
user-select: none;         /* Estándar */
}

main {
  flex: 1;
}

body a {
font-family: "Poppins", sans-serif !important;
text-decoration: none;
color: #F5F5F5;
}

body p{
  color: #f5f5f5;
}

body th{
  color: #FAB541 !important;
}

.navbar-brand{
  font-family: "Bebas Neue", sans-serif !important;
  font-size: 1.5em !important;
}

.navbar-nav-home {
  text-transform: uppercase;
}

.form-control {
    margin-bottom: 10px;
}

.bg-dark {
    --bs-bg-opacity: .5 !important;
}

.only-form{
  height: 70vh;
}


.pachecos{
  background: url(/assets/background_pachecos-86c4ee8f24a7c7b8d0c3acabcd4b8786d1b15b139e947a8f8509521067e84c04.jpeg);
  /* background-position-y: -160%; */
  background-position-x: center;
  background-position-y: 10% ;
  background-size: cover;
  height: 350px;
  margin-bottom: 40px;
  box-shadow: inset -50px -0px 100px black;
  background-repeat: no-repeat;
}

/* ESTILOS LOADING */

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .8); /* Fondo negro con opacidad */
  z-index: 2000; /* Supera el resto de la página */
  display: flex;
  justify-content: center;
  align-items: center;
}

#loading-text {
  font-size: 2em;
  color: #F5F5F5;
  font-family: sans-serif;
  position: relative;
  width: 0;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #F5F5F5; /* Efecto de "escritura" */
  animation: typing 2s steps(10, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 200px; } /* Ajusta el tamaño según la longitud de "Loading" */
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #F5F5F5; }
}

/* ESTILOS ANIMACIONES */
.hidden {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}


/* Estilos del botón "regresar" */
.back-btn {
position: fixed;
top: 5px;    
left: 5px;   
z-index: 2000;
color: #fff !important;  
font-size: 24px;
}

.back-btn:hover {
color: #E6520F !important;  
}

.custom-menu-icon {
width: 15px;       
height: 30px;      
transition: transform 0.2s ease-in-out; 

}

.custom-toggler {
padding: 0;
margin-right: 5px;

}
.custom-toggler:hover .custom-menu-icon {
transform: scale(1.2);  

}


/* estilos de event */

.event-container {
margin-bottom: 0px;

}

.event-img {
width: 100%; 
height: auto;
object-fit: cover;
display: block;
margin-left: auto; 
margin-right: auto;
}


.event-info {
flex: 1;
}

.event-info h3 {
margin-bottom: 10px;
color: #333;
}

.event-info p {
margin-bottom: 10px;
}

.btn-success {
margin-top: 15px;
}


/* Imagen de event */

.event-image {
position: relative !important;
width: 100%;
height: auto;
overflow: hidden;
}

.event-img {
max-width: 100%;
border-radius: 5px;
height: 300px;


}

.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to left, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.551) inset;

}

/* Estilos del DETALLE DEL EVENT */

.event-header {
height: 60vh; 
background-size: cover;
background-position: center;
position: relative;
}

.overlay-header {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 100%;
background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, .2));
z-index: 1;

}

.content-header {
position: relative;
z-index: 2;
padding: 0 20px;
}

.content-header h1{
font-size: 4em;
}

.content-header h5{
margin-top: 50px;
max-width: 80%;
}

.event-description{
width: 80%;
font-weight: normal;
margin-top: 50px;
margin-bottom: 50px;
text-align: center;
}

@media (max-width: 768px){
.event-header {
height: 250px;; 
background-size: cover;
background-position: center;
position: relative;
}

.overlay-header {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 100%;
background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, .2));
z-index: 1;

}

.content-header h1{
font-size: 2em;
}

.event-description{
width: 85%;
text-align: center;
}
}

/* Estilo para el formulario EDIT EVENTS */

.event-img-preview{
display: block;
margin: 30px auto;
border: 1px solid #F5F5F5;
border-radius: 5px;
object-fit: scale-down;
width: 150px;
height: auto;
}

/* Estilos del partial FAQ */

.accordion-item {
border: 1px solid #ccc !important; 
background-color: #333 !important; 
}

.accordion-button {
background-color: #555 !important; 
color: #fff !important; 
}

.accordion-button:not(.collapsed) {
background-color: #FAB541 !important;
color: #fff !important;
}

.accordion-body {
background-color: #222 !important; 
color: #fff !important; 
}

.accordion-button:hover {
background-color: #FAB541; 
color: #000; 
}

h2, h3 {
color: #FAB541 !important; 
}

/* Estilos de la vista de categorías */

.categories {
text-align: center;
}
.category-list {
max-height: 70vh; 
overflow-y: auto; 
width: 50%;
border: 1px solid #ccc; 
padding: 15px; 
background-color: #111; 

}

.category-item {
background-color: #f0f0f0; 
transition: background-color 0.3s ease;
}

.category-item:hover {
background-color: #b2adad; 
}

@media (max-width: 768px){
.category-list {
width: 100%;
padding: 5px; 
}
}

/* Estilos de contact Home */

.contact-home{
background-image: url('https://wallpapers.com/images/hd/black-textured-world-map-backgrounds-vtel68gyyu66rtx5.jpg');
background-size: contain;
background-repeat: no-repeat;
width: 100%;
margin: 0px auto;
}

.phone_number{
  font-weight: bold;
}
.phone_number:hover {
  text-shadow: 0px 0px 1px black;
  font-size: 1.2em;
  color: #FAB541;
  transition: all 200ms ease-in-out;
}

/* ESTILOS PARA LOCATIONS */

/* HEADER */

.location .header {
position: relative;
height: 100vh;
background-size: cover;
background-position: center;
}

.location .header .overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
}

.location .header .content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #F5F5F5;
text-align: center;
}

.location .header h1 {
font-size: 3rem;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 2px;
}

.location .logo-header{
  max-width: 600px;
}

/* DESCRIPTION */

.location .description {
padding: 50px 20px;
text-align: center;
}

.location .description h2 {
font-size: 2.5rem;
margin-bottom: 20px;
color: #F5F5F5;
}

.location .description p {
font-size: 1.2rem;
color: #F5F5F5;
max-width: 800px;
margin: 0 auto;
}

/* CAROUSEL */

.location .carousel-inner img {
width: 80%;
height: 80vh;
object-fit: contain;

}

.location .carousel-control-prev-icon,
.location .carousel-control-next-icon {
background-color: rgba(0, 0, 0, 0.5);
border-radius: 10%;
}

.location .carousel-back {
  height: 500px;
  background-position: center;
  background-size: cover;

}

@media(max-width: 999px)
{
  .location .carousel-inner img{
    height: max-content;
    object-fit: cover;
    align-items: center;

  }
}

/* MAP */

.location-map {
display: flex;
flex-flow: row-reverse;
flex-wrap: wrap;
padding: 0px 12px 50px 12px;
align-items: center;
}

.map-description {
flex: 1;
padding-right: 20px;
padding-left: 20px;
text-align: center;

}

.map-description p {
font-size: 1.1rem;
color: #F5F5F5;
}

.map-embed {
flex: 1;
}

.map-embed iframe {
width: 100%;
height: 400px;
border: none;
}

@media (max-width: 768px) {
  
.location .logo-header{
  max-width: 350px;
}

.location-map {
display: block;

}

.map-description {
padding-right: 0;
margin-bottom: 20px;
margin-top: 20px;
text-align: center;
}


}
/* MEMBERSHIPS */
.location .row {
  margin: 0px;
}

.location .card {
  margin: 4px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: #FAB541;
}

.location .card-body {
  width: 100%;
  padding: 20px;
  text-align: center;
  color: #141414;
}

.location .card h5 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F5F5F5;
  text-shadow: 1px 1px 3px #141414;
}

.location .card h6 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #141414 !important;
}

.location .card ul {
  list-style-type: none;
  padding: 0;
}

.location .card ul li {
  font-size: 1rem;
  color: #555;
}


@media (min-width: 768px) {
  .location .row .card {
    flex: 0 0 30%;
    max-width: 100%;
    
  }
}

@media (max-width: 768px) {
  .location .row .card {
    flex: 0 0 90%;
    max-width: 100%;
  }
  
}

/* Estilos de LOGGEDIN */

.loggedin .container {
  margin-top: 100px;
}

.loggedin .card {
  border-radius: 10px;
  background-color: #FAB541;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  color: black;
}

.loggedin p{
  color: black;
}
.loggedin .display-4 {
  color: #1a1a1a;
  font-weight: bold;
}

.loggedin .lead {
  color: #5a5a5a;
}

.loggedin .btn-danger {
  background-color: #d9534f;
  border-color: #d43f3a;
  padding: 10px 20px;
  font-size: 18px;
}

.loggedin .btn-danger:hover {
  background-color: #c9302c;
  border-color: #ac2925;
}


/* Estilos de las cards de clases de zoom */
.zoom-card:hover {
  background-color: #FAB541;
  transition: background-color 0.3s ease;
  color: black;
}

.zoom-card:hover p{
  color: black !important;
}

.zoom-card {
  border: 1px solid #ddd;
}

/* Estilos del footer */

.footer {
  background: url(/assets/background_header_169-4f3a8d59e40cf044b7f947d525954324024cddd1fd7b8887ed645bf00d1b370a.jpg) no-repeat;
  background-size: 100%;
  background-position: center;
  position: relative;
  
  }

@media(max-width: 767px){
  .footer {
    background: url(/assets/background_header_916-a015e032a0a067f68c12edfc900fa5943e2acfa094ee4c003756ef9da676f85b.jpg);
    background-size: cover;
    
    }
  
}

/* Estilos de Home - Header */
.home-header {
height: 100vh; 
background: url(/assets/background_header_169-4f3a8d59e40cf044b7f947d525954324024cddd1fd7b8887ed645bf00d1b370a.jpg) fixed no-repeat;
background-color: black;
background-size: cover;
background-position: top;
position: relative;

}

.overlay-header {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 100%;
background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, .1));
z-index: 1;

}

.content-header {
position: relative;
z-index: 2;
padding: 0 20px;
}

.content-header h1{
font-size: 4em
}

.content-header p{
font-weight: 400;
margin-top: 50px;
max-width: 80%;
}

.icon-home{
width: 80px;
filter: drop-shadow(0px 2px 5px black);

}

  
  /* Estilos de Sedes */
  .home-page .sedes-container {
  margin-top: 50px;
  padding: 20px;
  height: 90vh;
  background:  
  linear-gradient(to bottom, black, transparent, black), url(/assets/background_tribu-de29219a4cdbd16a186ff696cefb174dea415287e8e3627c1cdbb178db61ef0e.jpg) fixed no-repeat center;
  background-size: cover; 
  }
  
  
  .home-page .sede-card {
  background-color: transparent !important;
  margin-bottom: 20px;
  border: none !important;
  transition: all 0.3s ease-in-out;
  opacity: 0.7;
  }
  
  .home-page .sede-card:hover {
  opacity: 1;
  }
  .home-page .sede-card:hover .card-img-top {
  transform: scale(1.1);
  }
  
  
  
  .home-page .card-text {
  visibility: hidden;
  transform: translateY(-100%);
  transition: all 200ms ease-in-out;
  opacity: 0;
  }
  
  .home-page .card-text{
  font-size: 0.9em;
  }

 
  
  .home-page .sede-card:hover .card-text {
  visibility: visible;
  transform: translateY(0%);
  opacity: 1;
  padding: 10px;
  box-shadow: 0px 0px 8px black;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.395);
  }
  
  .home-page .card-img-top {
  filter: drop-shadow(3px 3px 5px black);
  max-height: 200px;
  object-fit: cover;
  transform: translateY(70%);
  transition: all 0.3s ease-in-out;
  }
  
  .home-page .sede-card:hover .card-img-top {
  transform: translateY(0%);
  }
  
  .home-page .card-body {
  text-align: center;
  }
  
  .home-page .card-title {
  transform: translateY(-400%);
  transition: all 300ms ease-in-out;
  }
  
  .home-page .sede-card:hover .card-title {
  transform: translateY(0%);
  }

  .home-page .sede-card .card-text:hover{
    box-shadow: 0px 0px 20px white;
    }
  


  /* Estilos de events */
  
  .truncate-text {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Muestra solo 2 líneas */
  -webkit-box-orient: vertical;    
  text-overflow: ellipsis;   
  overflow: hidden;
  }
  
  
  /* Para desktop */
  @media (min-width: 768px) {
  .home-page .card {
  width: 100%;
  }
  }
  
  /* Para mobile (ajuste automático en pantallas pequeñas) */
  @media (max-width: 767px) {

   /* ESTILOS DE USERS */

.truncate-email {
  white-space: break-spaces;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: break-word;
  word-break: break-all;
  width: 100%;
  }
  
  .home-header {
  background: url(/assets/background_header_916-a015e032a0a067f68c12edfc900fa5943e2acfa094ee4c003756ef9da676f85b.jpg);
  background-size: cover;
  height: 100vh;
  padding-top: 200px;
  margin-bottom: 200px;
  
  }
  
  .overlay-header {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, .1));    
  }
  
  .content-header h1{
  margin-top: 20px;
  font-size: 2.5em
  }
  
  
  .home-page .sedes-container{
  height: 100%;
  background:  
  linear-gradient(to bottom, black, transparent, black), url(/assets/background_tribu-de29219a4cdbd16a186ff696cefb174dea415287e8e3627c1cdbb178db61ef0e.jpg) center;
  background-size: cover; 
  background-position: 50%;
  
  }
  .home-page .card {
  width: 100%;
  margin-bottom: 20px;
  }
  .navbar-nav-home{
  display: flex;
  flex-direction: column;
  
  
  }
  
  
  .home-page .sede-card .card-text {
  visibility: visible;
  transform: translateY(0%);
  opacity: 1;
  padding: 10px;
  box-shadow: 0px 0px 8px black;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.395);
  }
  .home-page .sede-card .card-img-top {
  transform: translateY(0%);
  }
  .home-page .sede-card .card-title {
  transform: translateY(0%);
  }
  
  ul{
  padding-left: 0px !important;
  padding-inline-start: 0px !important;
  }
  
  }
  
  .home-page .instagram-icon {
  width: 40px;
  height: 40px;
  margin-right: 5px;
  vertical-align: middle;
  }
  
  
  .navbar-nav-home{
  display: flex;
  gap: 5px;
  color: white;
  text-decoration: none;
  list-style: none;
  text-align: center;
  margin: 0px auto;
  justify-items: center;
  margin-bottom: 8px;
  margin-top: 8px;
  }
  
  .sticky-top{
  box-shadow: 0px 12px 30px black !important;
  
  }
  
  ul{
  padding-left: 0px !important;
  padding-inline-start: 0px !important;
  }
  
  
  .home-page{
  display: block;
  }

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px !important;
  height: 60px !important;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: white;
  text-decoration: none;
  transform: scale(1.1);
}

.whatsapp-float i {
  font-size: 30px;
}

/* ===== ESTILOS PARA BOTONES DE LEADS SHOW ===== */

.card-footer .d-flex {
  align-items: stretch;
}

.card-footer .d-flex .btn {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
  margin: 0;
  border-radius: 0.375rem;
}

.card-footer .d-flex .btn:first-child {
  margin-left: 0;
}

.card-footer .d-flex .btn:last-child {
  margin-right: 0;
}

.card-footer .d-flex .btn i {
  flex-shrink: 0;
  line-height: 1;
}

.card-footer .d-flex .btn span,
.card-footer .d-flex .btn {
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 1.2;
}

/* ===== ESTILOS PARA BOTONES DE DASHBOARD ===== */

.card-body .d-flex .btn {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
  margin: 0;
  border-radius: 0.375rem;
}

.card-body .d-flex .btn:first-child {
  margin-left: 0;
}

.card-body .d-flex .btn:last-child {
  margin-right: 0;
}

.card-body .d-flex .btn i {
  flex-shrink: 0;
  line-height: 1;
}

.card-body .d-flex .btn span,
.card-body .d-flex .btn {
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 1.2;
}
  
/* ===== ESTILOS PARA BOTONES DE CONTACTO ===== */
.contact-buttons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}

.contact-buttons .btn {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-width: 0;
  
  margin: 0;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
}

.contact-buttons .btn i {
  flex-shrink: 0;
  line-height: 1;
  margin-right: 0.25rem;
}

/* ===== ESTILOS PARA LEADS - TABLA MINIMALISTA ===== */

.leads-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.message-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  max-height: 2.8em; /* 2 líneas * 1.4 line-height */
  color: #6c757d;
  font-size: 0.9rem;
}

.email-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  max-height: 1.4em;
  white-space: nowrap;
}

.table {
  width: 100%;
  table-layout: fixed;
  min-width: 800px; /* Ancho mínimo para evitar que se comprima demasiado */
}

.table th {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #495057;
  padding: 1rem 0.75rem;
  white-space: nowrap;
}

.table td {
  padding: 1rem 0.75rem;
  vertical-align: middle;
  border-top: 1px solid #dee2e6;
  word-wrap: break-word;
  overflow: hidden;
}

.table-hover tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.table-responsive {
  border-radius: 0.375rem;
  overflow: hidden;
}

.btn-group .btn {
  border-radius: 0.25rem;
  margin-left: 0.25rem;
  white-space: nowrap;
}

.btn-group .btn:first-child {
  margin-left: 0;
}

/* ===== ESTILOS PARA ESTADÍSTICAS Y FILTROS ===== */
.stats-card {
  padding: 0.75rem;
  text-align: center;
}

.stats-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.stats-card p {
  font-size: 0.8rem;
  margin-bottom: 0;
}

.filters-horizontal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.filters-horizontal .btn {
  font-size: 0.8rem;
  padding: 0.375rem 0.75rem;
  white-space: nowrap;
}

.filters-section {
  margin-bottom: 1rem;
}

.filters-section h6 {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* Responsive para tabla */
@media (max-width: 768px) {
  .leads-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #6c757d #f8f9fa;
  }
  
  .leads-table-container::-webkit-scrollbar {
    height: 8px;
  }
  
  .leads-table-container::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 4px;
  }
  
  .leads-table-container::-webkit-scrollbar-thumb {
    background: #6c757d;
    border-radius: 4px;
  }
  
  .leads-table-container::-webkit-scrollbar-thumb:hover {
    background: #495057;
  }
  
  .table {
    min-width: 600px; /* Ancho mínimo reducido para móvil */
    font-size: 0.875rem;
  }
  
  .table th,
  .table td {
    padding: 0.75rem 0.5rem;
  }
  
  .message-clamp {
    -webkit-line-clamp: 1;
    max-height: 1.4em;
  }
  
  .email-clamp {
    -webkit-line-clamp: 1;
    max-height: 1.4em;
  }
  
  .btn-group .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
  
  /* Ajustar anchos de columnas en móvil */
  .table th:nth-child(1),
  .table td:nth-child(1) {
    width: 30%;
    min-width: 150px;
  }
  
  .table th:nth-child(2),
  .table td:nth-child(2) {
    width: 40%;
    min-width: 200px;
  }
  
  .table th:nth-child(3),
  .table td:nth-child(3) {
    width: 15%;
    min-width: 80px;
  }
  
  .table th:nth-child(4),
  .table td:nth-child(4) {
    width: 15%;
    min-width: 80px;
  }
  
  .table th:nth-child(5),
  .table td:nth-child(5) {
    width: 20%;
    min-width: 120px;
  }
  
  /* Tabla simplificada para mobile */
  .mobile-table .table th:nth-child(1),
  .mobile-table .table td:nth-child(1) {
    width: 40%;
    min-width: 150px;
  }
  
  .mobile-table .table th:nth-child(2),
  .mobile-table .table td:nth-child(2) {
    width: 35%;
    min-width: 120px;
  }
  
  .mobile-table .table th:nth-child(6),
  .mobile-table .table td:nth-child(6) {
    width: 25%;
    min-width: 100px;
  }
  
  .mobile-legend {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: #6c757d;
  }
  
  .mobile-legend i {
    color: #0d6efd;
    margin-right: 0.25rem;
  }
  
  /* Filtros horizontales en mobile */
  .filters-horizontal {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .filters-horizontal .btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
  
  .filters-section h6 {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
  }
}

/* ===== ESTILOS PARA VISTAS DE USUARIOS ===== */
.truncate-email {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.only-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  padding: 2rem;
}

.only-form .form-horizontal {
  
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
}

.only-form h2 {
  color: #333;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.form-group {
  margin-bottom: 1rem;
}

.col-sm-7 {
  width: 100%;
  margin: 0 auto;
}

.col-form-label {
  font-weight: 500;
  color: #555;
  margin-bottom: 0.5rem;
  display: block;
}

.form-control {
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.form-check-input {
  margin-right: 0.5rem;
}

.form-check-label {
  margin-bottom: 0;
  font-weight: 500;
}

.btn {
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}



.btn-warning {
  background: #ffc107;
  border: none;
  color: #212529;
}

.btn-danger {
  background: #dc3545;
  border: none;
}

.btn-success {
  background: #28a745;
  border: none;
}

.alert {
  border-radius: 8px;
  border: none;
  padding: 1rem;
  margin-bottom: 1rem;
}

.alert-danger {
  background: #f8d7da;
  color: #721c24;
}

.alert-info {
  background: #d1ecf1;
  color: #0c5460;
}

.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  border-radius: 10px 10px 0 0 !important;
}

.table {
  margin-bottom: 0;
}

.table th {
  border-top: none;
  font-weight: 600;
  color: #495057;
  background: #f8f9fa;
}

.table td {
  vertical-align: middle;
}

.badge {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
}

.text-decoration-none {
  text-decoration: none !important;
  color: #007bff;
}

.text-decoration-none:hover {
  color: #0056b3;
}
  
  
