/* ======== NAV SUPERIOR ======== */
.navbar {
  border-bottom: 2px solid #222;
}
.navbar-brand {
  font-weight: 700;
  color: #00aaff !important;
}
.nav-link {
  color: #ccc !important;
  transition: color 0.3s;
}
.nav-link:hover {
  color: #00aaff !important;
}

/* ======== HEADER CON IMAGEN ======== */
header img {
  max-height: 200px;
  object-fit: cover;
}
footer img {
  max-height: 300px;
  object-fit: cover;
}
header h1, header p {
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}
footer a {
  font-weight: 600;
  text-decoration: none;
  padding: 5px 10px;
  background-color: rgba(0,0,0,0.6);
  border-radius: 4px;
}
footer a:hover {
  background-color: rgba(0,170,255,0.8);
}

/* ======== CARRUSEL DE LOGOS ======== */
#carouselLogos img {
  border: 2px solid #00aaff;
  border-radius: 50%;
  background-color: #111;
  box-shadow: 0 0 10px rgba(0,170,255,0.5);
}
#carouselLogos .carousel-item {
  padding: 15px 0;
}

/* ======== CONTROLES ======== */
form.bg-secondary {
  background: rgba(30,30,30,0.9);
  border-radius: 8px;
}
form input, form select {


/* ======== GRILLA DE RESULTADOS ======== */
.table-responsive {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.table {
  width: 100%;
  margin-bottom: 0;
}

.table thead {
  background-color: #00aaff;
  color: #fff;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: #e9f5ff;
}

/* ======== RESPONSIVIDAD ======== */
@media (min-width: 1200px) {
  .table-responsive {
    padding: 1.5rem 2rem;
  }
}

@media (max-width: 768px) {
  .table-responsive {
    font-size: 0.85rem;
    padding: 0.5rem;
  }
}  background-color: #4a91d7;
  border-radius: 8px;
  overflow-x: auto;
}
.table thead {
  background-color: #00aaff;
  color: #0c0c0c;
}
.table-striped tbody tr:nth-of-type(odd) {
  background-color: #080808;
}

* Bloques semitransparentes para noticias, cumpleaños y ficha médica */
.footer-section .card,
.footer-section .list-group-item,
.footer-section .alert,
.footer-section .ficha-medica {
  background-color: rgba(0, 0, 0, 0.6); /* negro semitransparente */
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem;
  margin-bottom: 0.75rem;
}

/* Títulos destacados */
.footer-section h3 {
  color: #00aaff;
  text-shadow: 1px 1px 4px #000;
}

/* Texto dentro de los bloques */
.footer-section p,
.footer-section li {
  color: #f1f1f1;
}

/* Badge de cumpleaños */
.footer-section .badge {
  background-color: #00aaff;
}

/* Botón QR */
.footer-section .btn-danger {
  font-weight: bold;
  text-transform: uppercase;
}
.footer-section {
  background: url("../img/fondo_biker_footer.png") no-repeat center center;
  background-size: cover;
  position: relative;
}

.footer-section h3 {
  text-shadow: 1px 1px 4px #000;
}

.footer-section .card-body {
  background-color: rgba(0,0,0,0.5); /* semitransparente para legibilidad */
  border-radius: 6px;
}

.footer-section .list-group-item {
  background-color: rgba(0,0,0,0.4);
  border: none;
}

.alert-success {
  background-color: #004d00; /* verde biker oscuro */
  color: #ccffcc;
  border: 1px solid #00cc00;
}

/* Grilla compacta y centrada */
.compact-table td,
.compact-table th {
  padding: 0.25rem 0.4rem; /* menos espacio interno */
  font-size: 0.85rem;       /* letra más pequeña */
  line-height: 1.2;         /* reduce separación entre líneas */
  vertical-align: middle;   /* centra verticalmente el contenido */
}

.header-overlay {
  background: rgba(0, 0, 0, 0.55);
  padding: 20px 35px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.7);
  max-width: 85%;
}

/* Título grande y llamativo */
.header-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 3px 3px 8px rgba(0,0,0,0.9);
}

/* Subtítulo estilizado */
.header-subtitle {
  font-size: 1.2rem;
  color: #e6e6e6;
  font-weight: 500;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
}

@media (max-width: 768px) {
  .header-title {
    font-size: 1.7rem;
    letter-spacing: 1px;
  }
  .header-subtitle {
    font-size: 1rem;
  }
  .header-overlay {
    padding: 15px 20px;
    max-width: 95%;
  }
}


/* Fondo de carretera diurna */
.main-bg {
  position: relative;
  background: url('../img/fondo_biker_body1.png') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
}

/* Overlay oscuro suave */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* 30% opacidad */
  z-index: 0 !important;
}

/* Contenido principal */
.contenido {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
  color: #fff;
  text-align: center;
}

/* Header y footer */
.header, .footer {
  background-color: #000;
  color: #fff;
}


.modal-backdrop {
  z-index: 1500 !important;
}

.modal {
  z-index: 2000 !important;
}

* Imagen biker 400x400 con borde neón */
.biker-image-wrapper {
  background: #0a0a0a;
}

.biker-image {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  border: 4px solid #00aaff;
  box-shadow: 0 0 25px rgba(0,170,255,0.6);
}

/* Tarjetas internas */
.biker-card {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
}

/* Chips de grupos */
.biker-chip {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-left: 3px solid #00aaff;
}

.biker-chip-img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
}

/* Contadores */
.biker-like-counter {
  background: rgba(40,167,69,0.2);
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: bold;
  border-left: 3px solid #28a745;
}

.biker-dislike-counter {
  background: rgba(220,53,69,0.2);
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: bold;
  border-left: 3px solid #dc3545;
}

/* Botones */
.biker-btn-like {
  font-weight: bold;
  box-shadow: 0 0 10px rgba(40,167,69,0.4);
}

.biker-btn-dislike {
  font-weight: bold;
  box-shadow: 0 0 10px rgba(220,53,69,0.4);
}

/* Animación suave */
.biker-modal .modal-content {
  animation: bikerFade 0.35s ease-out;
}

@keyframes bikerFade {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Header con fondo biker */
.header-biker {
  background-image: url('../img/fondo_biker_header.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  padding-top: 20px;      /* menos espacio arriba */
  padding-bottom: 40px;   /* espacio para carrusel */
  position: relative;
}

/* Overlay compacto */
.header-overlay {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Títulos compactos */
.header-title {
  font-size: 2.2rem;
  font-weight: bold;
}

.header-subtitle {
  font-size: 1.2 rem;
  line-height: 1.2;
}

/* Leyenda del carrusel */
.carousel-title h6 {
  font-size: 1.3 rem;
  letter-spacing: 1px;
  color: #00aaff;
  text-shadow: 0 0 8px rgba(0,170,255,0.6);
}

/* Carrusel transparente */
.carousel-wrapper-transparent {
  width: 100%;
  background: transparent;
  padding: 5px 0;
}

/* Logos */
.carousel-inner img {
  border-radius: 50%;
  border: 2px solid #00aaff;
  box-shadow: 0 0 10px rgba(0,170,255,0.5);
  background-color: rgba(0,0,0,0.4);
  padding: 4px;
}

/* Tarjetas uniformes estilo footer */
.moto-card {
  background: rgba(0,0,0,0.55);               /* fondo oscuro con transparencia */
  border: 1px solid rgba(255,255,255,0.15);   /* borde fino claro */
  border-radius: 12px;                        /* bordes redondeados */
  padding: 15px;                              /* padding compacto */
  box-shadow: 0 0 12px rgba(0,0,0,0.35);       /* sombra suave */
  backdrop-filter: blur(4px);                 /* efecto glassmorphism */
  color: #fff;                                /* texto claro */
}

/* Títulos dentro de las tarjetas */
.moto-card h5,
.moto-card h6 {
  font-weight: bold;
  color: #00aaff;                             /* color biker uniforme */
  margin-bottom: 10px;
}

/* Íconos grandes */
.moto-card i {
  font-size: 2.2rem;
  color: #00aaff;
  margin-right: 12px;
}

/* Botones dentro de las tarjetas */
.moto-card .btn {
  border-radius: 8px;
  font-weight: bold;
}

/* Imagen del apodo motero */
.moto-card img {
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  object-fit: cover;
}