/* ===============================
🌐 LAYOUT GENERAL
=============================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

body {
  background: #ffffff;
  color: #222;
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #007acc;
  padding: 15px 20px;
  color: white;
  border-bottom: 3px solid #005f99;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
  color: white;
}

.menu-toggle {
  display: none;
  background: transparent;
  color: white;
  border: none;
  font-size: 1.4em;
}

#main-nav a {
  color: white;
  margin-left: 15px;
  text-decoration: none;
}

#main-nav a:hover {
  color: #dff0ff;
  text-decoration: underline;
}

/* MENU BAR */
.menu-bar {
  background: #005f99;
  text-align: center;
  padding: 10px;
}

.menu-bar a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 10px;
}

.menu-bar a:hover {
  color: #dff0ff;
}

/* LAYOUT PRINCIPAL */
.layout-publico {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  align-items: flex-start;
}


.contenido-principal {
  flex: 1 1 68%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}


.sidebar-publico {
  flex: 1 1 30%;
  min-width: 250px;
  max-width: 350px;
}



/* ADMIN BAR */
.admin-bar {
  background: #d9ecff;
  color: #005f99;
  padding: 8px 15px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #c0dfff;
}

.admin-bar a {
  color: #007acc;
  font-weight: bold;
  text-decoration: none;
}

/* FOOTER */
footer.footer-principal {
  background: #007acc;
  color: #ffffff;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  border-top: 3px solid #005f99;
}

/* BOTONES */
a.button, .btn, .boton {
  display: inline-block;
  background: linear-gradient(145deg, #00aaff, #007acc);
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 0 10px #cceeff;
}

a.button:hover, .btn:hover, .boton:hover {
  background: #005f99;
}

/* TITULOS */
h1, h2, h3, .widget-title {
  color: #007acc;
  text-shadow: none;
}

/* LINKS */
a {
  color: #007acc;
  transition: 0.2s;
}

a:hover {
  color: #005f99;
  text-decoration: underline;
}

/* CARDS / BLOQUES */
.card-box {
  background: #ffffff;
  border: 1px solid #cceeff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 0 12px rgba(0,122,204,0.08);
  color: #222;
}

.card-box h1, .card-box h2, .card-box h3 {
  color: #007acc;
  margin-bottom: 15px;
}

.card-box p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.card-box a {
  color: #007acc;
  text-decoration: underline;
}

.card-box a:hover {
  color: #005f99;
  background: #e6f3ff;
  padding: 2px 5px;
  border-radius: 4px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .layout-publico {
    flex-direction: column;
    padding: 15px;
  }

  .menu-toggle {
    display: inline-block;
  }

  #main-nav {
    display: none;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
    background: #007acc;
    padding: 10px;
    border-radius: 10px;
  }

  #main-nav.show {
    display: flex;
  }

  .contenido-principal,
  .sidebar-publico {
    flex: 1 1 100%;
    width: 100%;
  }
}



.botones-redes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.botones-redes a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.botones-redes a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.bloque-compartir {
  margin: 40px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,122,204,0.05);
  text-align: center;
  max-width: 900px;
  border-left: 5px solid #007acc;
}

.bloque-compartir h2 {
  color: #007acc;
  font-size: 1.6em;
  margin-bottom: 20px;
}

.botones-redes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.botones-redes a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  font-size: 15px;
  color: white;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.botones-redes a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}






/* Contenedor general */
.seccion-planes {
  margin-top: 40px;
  padding: 20px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 0 12px rgba(0, 122, 204, 0.05);
}

/* Título de sección */
.seccion-planes h2 {
  font-size: 1.6em;
  color: #007acc;
  margin-bottom: 20px;
  border-left: 5px solid #00bfff;
  padding-left: 12px;
}

/* Categoría de planes */
.categoria-planes {
  font-size: 1.2em;
  color: #005f99;
  margin-top: 30px;
  margin-bottom: 10px;
  border-left: 4px solid #cceeff;
  padding-left: 10px;
}

/* Grid de planes */
.planes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Tarjeta individual */
.plan-card {
  background: #f5faff;
  border: 1px solid #cceeff;
  border-radius: 12px;
  padding: 20px;
  flex: 1 1 300px;
  box-shadow: 0 0 10px rgba(0,122,204,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card {
  flex: 1 1 280px;
  max-width: 100%;
  box-sizing: border-box;
  background: #f5faff;
  border: 1px solid #cceeff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,122,204,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}



/* Estilo de los títulos en tarjetas */
.plan-card h3 {
  color: #007acc;
  margin-bottom: 10px;
  font-size: 1.2em;
}

/* Descripción */
.plan-card p {
  color: #444;
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Precio */
.plan-card .precio {
  color: #007acc;
  font-weight: bold;
  font-size: 1.1em;
}

/* Botón de suscripción */
.boton-suscripcion {
  background: #00cc88;
  border: none;
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
}

.boton-suscripcion:hover {
  background: #00b377;
}

.boton-suscripcion:disabled {
  background: #d3f9e4;
  color: #555;
  cursor: not-allowed;
}

/* Hover effect */
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 122, 204, 0.1);
}

@media (max-width: 768px) {
  .plan-card {
    flex: 1 1 100%;
  }
}


.contenido-principal.full-width {
  flex: 1 1 100%;
  max-width: 100%;
}

.contenido-principal.solo-derecha {
  flex: 1 1 75%;
}

.contenido-principal.solo-izquierda {
  flex: 1 1 75%;
}

/* Fondo general y color de texto */
body {
  background: #f5f9ff;
  color: #333;
  font-family: 'Roboto', sans-serif;
}

/* Contenedores generales */
.public-wrapper, .card-box, .sidebar-publico, .seccion-planes, .bloque-compartir {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-bottom: 20px;
}

/* Encabezados principales */
h1, h2, h3 {
  color: #007acc;
  margin-bottom: 15px;
}

/* Estilo de los widgets en sidebar */
.sidebar-publico .widget, .sidebar-publico .widget-title {
  background: #eaf4ff;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 15px;
}

.sidebar-publico .widget-title {
  font-weight: bold;
  color: #005f99;
}

/* Enlaces y botones generales */
/* Enlaces normales */
a {
  color: #003366;
  background: transparent;
  padding: 0;
  border-radius: 0;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #FFD700;
  text-decoration: underline;
}

/* Botones generales */
.boton-suscripcion, .botones-redes a {
  color: #fff;
  background: #007acc;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}

.boton-suscripcion:hover, .botones-redes a:hover {
  background: #005f99;
}


/* Planes suscripción */
.plan-card {
  background: #f0f7ff;
  border: 1px solid #cfe8ff;
  border-radius: 10px;
  padding: 15px;
  transition: box-shadow 0.2s ease;
}

.plan-card:hover {
  box-shadow: 0 5px 15px rgba(0, 122, 204, 0.1);
}

.plan-card .precio {
  font-weight: bold;
  color: #007acc;
}

/* Barra de menú y encabezado */
header, .menu-bar, footer.footer-principal {
  background: #007acc;
  color: #ffffff;
  border-radius: 0;
}

header a, .menu-bar a {
  color: #ffffff;
}

header a:hover, .menu-bar a:hover {
  color: #cceeff;
  text-decoration: underline;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
  .layout-publico {
    flex-direction: column;
  }
  .sidebar-publico, .contenido-principal {
    width: 100%;
  }
}

.layout-publico {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.sidebar-publico {
  flex: 0 0 250px; /* ancho fijo, evita que se desborde */
  max-width: 250px;
}

.contenido-principal {
  flex: 1;
  min-width: 0;
  max-width: calc(100% - 270px); /* dejando espacio seguro para el sidebar */
}

/* Para garantizar responsividad móvil */
@media (max-width: 768px) {
  .layout-publico {
    flex-direction: column;
  }

  .sidebar-publico, .contenido-principal {
    max-width: 100%;
    flex: unset;
  }
}
.layout-publico {
  display: flex;
  flex-wrap: nowrap; /* IMPIDE que los elementos bajen */
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.sidebar-publico {
  flex: 0 0 260px;
  max-width: 260px;
}

.contenido-principal {
  flex: 1;
  min-width: 0;
  max-width: 100%;
}

/* Responsive: esencial para móviles */
@media (max-width: 768px) {
  .layout-publico {
    flex-direction: column;
  }
  .sidebar-publico {
    max-width: 100%;
    width: 100%;
    order: 2; /* Sidebar debajo del contenido en móviles */
  }
  .contenido-principal {
    order: 1; /* Primero el contenido principal en móviles */
  }
}

.layout-publico {
  display: flex;
  gap: 20px;
}

.sidebar-publico {
  flex: 0 0 260px;
  max-width: 260px;
}

.contenido-principal {
  flex: 1;
  min-width: 0;
}

.public-wrapper {
   width: 100%;
   padding: 20px;
   box-sizing: border-box;
}

.layout-publico {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 20px !important;
}

.contenido-principal {
  flex-grow: 1 !important;
  max-width: calc(100% - 280px) !important;
}

.sidebar-publico {
  flex: 0 0 260px !important;
  max-width: 260px !important;
}

@media (max-width: 768px) {
  .layout-publico {
    flex-direction: column !important;
  }

  .contenido-principal, 
  .sidebar-publico {
    max-width: 100% !important;
  }
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}

.main-header {
  background: linear-gradient(to right, #0079d3, #1e90ff);
  color: white;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  font-size: 1.8em;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

#main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 10px 0;
  background-color: rgba(0, 0, 0, 0.15);
}

#main-nav a,
.menu-bar a {
  color: white;
  text-decoration: none;
  background-color: #0066cc;
  padding: 8px 15px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease;
}

#main-nav a:hover,
.menu-bar a:hover {
  background-color: #0057b8;
}

.menu-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 10px 0;
  background-color: #0050aa;
}

.vip-link {
  background-color: #00eaff;
  color: #000;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  #main-nav {
    display: none;
    flex-direction: column;
    background-color: #004a8f;
  }

  #main-nav.nav-open {
    display: flex;
  }

  .menu-bar {
    flex-direction: column;
    align-items: center;
  }

  .menu-bar a {
    width: 90%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .logo {
    display: none;
  }
}
@media (max-width: 768px) {
  .header-top {
    justify-content: flex-end;
    padding: 10px 15px;
  }
  .public-wrapper, .card-box, .sidebar-publico, .seccion-planes, .bloque-compartir {
    background: #ffffff;
    border-radius: 0px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    padding: 0;
    margin-bottom: 20px;
}

}



.admin-bar {
   background: #081c31;
  
    }

.admin-bar a {
  color: #000000;
   }

    * {
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-word;
  }

  .post-content, .comentario, .contenido-usuario, .bloque-mensaje, .user-text {
  overflow-wrap: anywhere;
  word-wrap: break-word;
  word-break: break-word;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

img[style] {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}


figure, .content-area img, .editor-content img, .post img {
  max-width: 100%;
  height: auto;
}

/* 🎬 Estilo para videos */
video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background-color: #000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  outline: none;
  margin-bottom: 16px;
  border: 2px solid #007acc;
}

/* Asegúrate de que el audio tenga el tamaño adecuado y se muestre correctamente */
audio {
  width: 100%; /* 100% del contenedor padre */
  max-width: 600px; /* Máximo de 600px para evitar que se haga demasiado grande */
  height: auto;
  display: block; /* Asegura que el reproductor sea un bloque y ocupe su propio espacio */
  background: #f8f8f8;
  border: 2px solid #4caf50;
  border-radius: 5px;
  margin-bottom: 1rem; /* Espacio inferior para separación */
  padding: 5px;
  box-sizing: border-box; /* Asegura que el padding no afecte el tamaño total */
  height: 100px;
}

/* Opcional: Añadir visibilidad si es necesario */
audio:not([controls]) {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s ease; /* Transición suave en caso de que tenga algún retraso */
}

/* Solo video */
video {
  border: 2px solid #007acc;
}



/* Solo audio */
audio {
  border: 2px solid #4caf50;
  padding: 5px;
  background-color: #f8f8f8;
}

/* Remove inner blue focus ring on click */
video:focus, audio:focus {
  outline: none;
}

/* Opcional: si quieres que el contenedor tenga margen inferior */
video, audio {
  margin-bottom: 1rem;
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  padding-top: 25px;
  height: 0;
  overflow: hidden;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



/* === FORMULARIOS (LOGIN, REGISTRO) === */
.auth-box-futurista {
  background: linear-gradient(145deg, #0a0a0a, #111);
  border: 1px solid #00bfff33;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 25px #00bfff22, inset 0 0 10px #000;
  max-width: 480px;
  margin: 50px auto;
  text-align: center;
}

.titulo-futurista {
  color: #00c8ff;
  font-size: 28px;
  margin-bottom: 25px;
  text-shadow: 0 0 6px #00eaff88;
  text-transform: uppercase;
}

.form-auth {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-auth input {
  padding: 12px;
  background: #1a1a1a;
  border: none;
  color: #fff;
  border-radius: 10px;
  font-size: 1rem;
}

.form-auth input:focus {
  background: #222;
  box-shadow: 0 0 5px #00bfff;
}

.form-auth button {
  background: #00bfff;
  color: #000;
  font-weight: bold;
  padding: 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.form-auth button:hover {
  background: #00a3cc;
  box-shadow: 0 0 10px #00bfff88;
}

.form-links, .form-register-link {
  margin-top: 12px;
  font-size: 0.95rem;
}

.form-links a, .form-register-link a {
  color: #00bfff;
  text-decoration: none;
}

.form-links a:hover, .form-register-link a:hover {
  text-decoration: underline;
  color: #00ffff;
}

.alerta-error {
  margin-top: 20px;
  background-color: #330000;
  color: #ff8080;
  border: 1px solid #cc0000;
  padding: 10px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 0 10px #ff000033;
}



  /* Estilo general del footer */
  footer {
    background: url('https://elgrandatero.com.ve/uploads/footer2.png') no-repeat center center/cover;
    padding: 40px 20px;
    color: #fff;
    text-align: center;
    font-family: Arial, sans-serif;
  }

  /* Contenedor principal */
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  /* Estilo para los iconos de redes sociales */
  .social-links {
    margin-bottom: 30px;
  }

  .social-icon {
    margin: 0 15px;
    font-size: 18px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, background-color 0.3s;
  }

  .social-icon:hover {
    transform: scale(1.1);
    background-color: rgba(0, 0, 0, 0.8);
  }

  .social-icon.instagram { background-color: #E4405F; }
  .social-icon.facebook { background-color: #3b5998; }
  .social-icon.twitter { background-color: #00acee; }
  .social-icon.whatsapp { background-color: #25D366; }
  .social-icon.telegram { background-color: #0088cc; }
  .social-icon.tiktok { background-color: #000000; }
  .social-icon.threads { background-color: #1A1A1A; }

  /* Estilo para los enlaces */
  .footer-links a {
    display: inline-block;
    margin: 10px 15px;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    transition: color 0.3s, transform 0.3s;
  }

  .footer-links a:hover {
    color: #FFB800;
    transform: translateY(-2px);
  }

  /* Responsive: Para pantallas pequeñas */
  @media (max-width: 768px) {
    .social-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
    .social-icon {
      margin: 10px;
      font-size: 20px;
    }

    .footer-links a {
      display: block;
      margin: 8px 0;
    }
  }



.deposit-info0101 {
    font-size: 18px;
    font-weight: bold;
    color: #16a085;
    text-align: center;
    margin-bottom: 15px;
}

.container0101 {
    font-family: Arial, sans-serif;
    padding: 20px;
    border: 1px solid #ccc;
    width: 300px;
    background-color: #f9f9f9;
}

.bank-name0101 {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
}

.id-number0101 {
    font-size: 16px;
    color: #7f8c8d;
}

.phone-number0101 {
    font-size: 16px;
    color: #e74c3c;
}

/* Por defecto: OCULTO en móviles */
.barra-marquesina {
    display: none;
}

@media (min-width: 1024px) {
  .marquesina-gt-barra {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #1f1f1f;
    color: #fff;
    overflow: hidden;
    height: 55px;
    display: flex;
    align-items: center;
    padding: 5px 15px;
    z-index: 99999;
  }

  .marquesina-gt-contenido {
    display: flex;
    white-space: nowrap;
    animation: marquesinaDeslizar 35s linear infinite;
    align-items: center;
    gap: 15px;
  }

  .marquesina-gt-item {
    background: #0d3b66;
    border: 2px solid #00cfff;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    color: #fff;
    min-width: max-content;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  }

  .marquesina-gt-item b {
    color: #ffcc00;
  }

  .marquesina-gt-cerrar {
    position: absolute;
    right: 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
  }

  @keyframes marquesinaDeslizar {
      from { transform: translateX(100%); }
      to { transform: translateX(-100%); }
  }
}

/* Asegurar estilo de enlaces en todo tamaño de pantalla */
.footer-links a, 
.footer-links a:link, 
.footer-links a:visited, 
.footer-links a:hover, 
.footer-links a:active {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s, transform 0.3s;
}

/* Ajustes adicionales solo para móviles */
@media (max-width: 768px) {
    .social-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }

    .social-icon {
      margin: 10px;
      font-size: 20px;
    }

    .footer-links {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .footer-links a {
      display: block;
      margin: 8px 0;
      font-size: 18px;
      color: #ffffff; /* Forzar blanco */
      text-decoration: none;
    }
}
