/*
Theme Name: BuscoEvento Child
Theme URI: https://buscoevento.com
Description: Tema hijo de Astra para BuscoEvento
Author: Albi
Template: astra
Version: 1.0
*/

/* =========================
   BASE
   ========================= */

:root {
  --color-primary: #1f6f64;
  --color-primary-hover: #145047;

  --color-text: #222;
  --color-text-muted: #555;
  --color-text-strong: #111;

  --color-bg: #ffffff;
  --color-bg-soft: #f2f2f2;
  --color-bg-alt: #f5f7f8;
  
  --color-bg-dark: #111827;
  --color-bg-dark-soft: #1f2937;

  --color-border: #ccc;
  
  --color-neutral-soft: #ddd;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  --section-spacing: 110px;

  --transition: 0.2s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
}


.btn-secondary {
    background: var(--color-bg-soft);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: #e5e5e5;
}

/*
BODY
*/
body {
    background: #e0ece8 !important;
}

/*#page {
    background: #56a292;
}
*/


/* MENU MOVIL*/
.ast-mobile-menu-trigger-minimal {
    color: #0f2a25 !important;
    background: transparent !important;
}

.ast-mobile-svg {
    fill: #0f2a25 !important;
}





/* MENU */
.main-header-bar {
    background: #7CB1A2 !important;
}

.main-header-menu a {
    color: #0f2a25 !important;
}

.main-header-menu a:hover {
    background: rgba(255,255,255,0.25);
    border-radius: var(--radius-sm);
}

.main-header-menu .current-menu-item a,
.main-header-menu .current-menu-ancestor a,
.main-header-menu .current_page_parent a {
    background: rgba(0,0,0,0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

body.post-type-archive-evento .menu-link[href="/eventos/"] {
    background: rgba(0,0,0,0.12);
    border-radius: var(--radius-sm);
}


/* =========================
   SUBMENÚ MI CUENTA
   ========================= */

/* Posición y aspecto general */
.main-header-menu > .menu-item-has-children:last-child > .sub-menu {
    left: auto;
    right: 0;
    min-width: 230px;
    padding: 6px 0;
    background: #7CB1A2 !important;
    border: none !important;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    z-index: 9999;
}

/* Opciones del submenú */
.main-header-menu > .menu-item-has-children:last-child > .sub-menu .menu-link {
    display: block;
    padding: 12px 18px;
    white-space: nowrap;
    color: #0f2a25 !important;
    background: transparent !important;
    border-radius: 0 !important;
}

/* Hover de las opciones */
.main-header-menu > .menu-item-has-children:last-child > .sub-menu .menu-link:hover {
    background: rgba(255,255,255,0.25) !important;
    color: #0f2a25 !important;
}

/* Permitir salto de línea en Cerrar sesión */
.main-header-menu > .menu-item-has-children:last-child > .sub-menu .menu-link[href*="wp-login.php?action=logout"] {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* =========================
   PIE DE PAGINA FOOTER
   ========================= 
*/
.site-below-footer-wrap {
    background: #7CB1A2 !important;
    /*border-top: 1px solid rgba(0,0,0,0.08);*/
	border-top: none !important;
    padding: 20px 10px;
}


.ast-footer-copyright {
    color: #0f2a25;
}


#ast-scroll-top {
    background: #7CB1A2 !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

#ast-scroll-top svg {
    fill: #e0ece8;
}

#ast-scroll-top:hover {
    background: #6aa394 !important;
    transform: translateY(-2px);
}

.ast-footer-copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ast-footer-copyright a {
    color: #0f2a25;
    text-decoration: none;
    margin: 0 8px;
}

.ast-footer-copyright br {
    display: none;
}

.ast-footer-copyright a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.site-footer {
    text-align: center;
    padding: 18px 10px;
	font-size: 14px;
    color: #0f2a25;
	letter-spacing: 0.3px;
	margin-top: 40px;
}

.site-footer a {
    color: #0f2a25;
    text-decoration: none;
    font-weight: 500;
}

.site-footer a:hover {
    color: #ffffff;
    opacity: 0.9;
}

/* =========================
   MI CUENTA
   ========================= */

.page-id-145 .entry-title {
    display: none;
}

.page-id-145 .be-login-wrapper {
    max-width: 420px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--color-bg);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.page-id-145 .be-login-wrapper h2 {
    margin-bottom: 2rem;
    font-size: 1.6rem;
    color: var(--color-text);
}

.page-id-145 .be-login-wrapper p {
    text-align: left;
    margin-bottom: 1.2rem;
}

.page-id-145 .be-login-wrapper strong {
    color: var(--color-text);
}

/* =========================
   CAMBIAR CONTRASEÑA
   ========================= */

.page-id-125 .entry-title {
    display: none;
}

.page-id-125 .be-login-wrapper {
    max-width: 420px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--color-bg);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.page-id-125 .be-login-wrapper h2 {
    margin-bottom: 2rem;
    font-size: 1.6rem;
    color: var(--color-text);
}

.page-id-125 .be-login-wrapper p {
    text-align: left;
}

.page-id-125 .be-login-wrapper input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    margin-bottom: 15px;
}

.page-id-125 .be-login-wrapper input:focus {
    outline: none !important;
    border: 1px solid var(--color-primary) !important;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.08) !important;
}

.page-id-125 .be-login-wrapper button {
    width: 100%;
    padding: 14px;
    background: var(--color-primary);
    color: var(--color-bg);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.page-id-125 .be-login-wrapper button:hover {
    background: var(--color-primary-hover);
}

.page-id-125 .be-login-wrapper label {
    display: block;
    text-align: left;
    margin-bottom: 6px;
    font-weight: 600;
}

.page-id-125 .be-login-extra {
    margin-top: 1.8rem;
}

.page-id-125 .be-login-extra a {
    color: var(--color-primary);
}

.page-id-125 .be-error {
    background: var(--color-bg-soft);
    color: var(--color-text);
    padding: 10px 12px;
    border-radius: 5px;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    text-align: center;
}

.page-id-125 .be-success {
    background: rgba(124,177,162,0.20);
    color: var(--color-text);
    padding: 10px 12px;
    border-radius: 5px;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    text-align: center;
}

/*No es especifico de una pagina*/
.be-password-note {
    display: block;
    margin-top: 4px;
    margin-bottom: 18px;
    font-size: 0.85rem;
    color: var(--color-text);
    opacity: 0.75;
}

/* =========================
   LISTADO DE EVENTOS
   ========================= */

.eventos-archive {
	width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 1.2rem;
}

.lista-eventos {
	width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.eventos-item {
	width: 100%;
}

.eventos-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.eventos-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transform: translateY(-6px);
}

.eventos-imagen img {
    width: 160px;
	height: 110px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.eventos-contenido {
    flex: 1;
}

.eventos-meta {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.eventos-titulo {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 6px;
}

.eventos-tipo {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
	background: rgba(31,111,100,0.1);
	padding: 2px 8px;
	border-radius: 20px;
	display: inline-block;
	width: fit-content;
}

.post-type-archive-evento .no-eventos{
	max-width: 900px;
	margin: 0 auto;
}

/*Etiqueta New*/
.evento-badge-new {
    background: #ff4d4d;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
}
@media (max-width: 600px) {
    .evento-badge-new {
        display: block;
        width: fit-content;
        margin-left: 0;
        margin-top: 6px;
    }
}

.breadcrumb-eventos {
    font-size: 14px;
    margin-bottom: 15px;
    color: #666;
}

.breadcrumb-eventos a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-eventos span {
    margin: 0 6px;
    color: #999;
}

/* Ajustes de tarjetas de eventos en móvil */
@media (max-width: 600px) {

    .eventos-card {
        gap: 12px;
        padding: 16px;
    }

    .eventos-imagen {
        flex: 0 0 38%;
    }

    .eventos-imagen img {
        width: 100%;
        height: 110px;
        object-fit: cover;
    }

    .eventos-contenido {
        min-width: 0;
    }

    .eventos-titulo {
        font-size: 1rem;
    }

    .eventos-meta {
        font-size: 0.85rem;
        overflow-wrap: break-word;
    }
}

/*
EXPLORAR COMUNIDADES
*/

.explorar-comunidades {
    margin: 25px 0;
}

.toggle-comunidades {
    background: var(--color-primary);
	color: #fff;
    border: none;
    padding: 8px 14px;
    font-size: 15px;
    border-radius: 20px;
    cursor: pointer;
	transition: var(--transition);
}

.toggle-comunidades:hover {
    background: var(--color-primary-hover) !important;
}

.toggle-comunidades:focus, 
.toggle-comunidades:active
{
	outline: none;
	box-shadow: none;
    background: var(--color-primary);
	color: #fff;
}

.toggle-comunidades:focus-visible
{
	outline: none;
}

.lista-comunidades {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
    max-width: 900px;
	align-items: start;
}

.lista-comunidades a {
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 15px;
}

.lista-comunidades a:hover {
    text-decoration: none;
	color: var(--color-primary);
}

.comunidad-link::after {
    content: "\25BE";
    font-size: 12px;
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.bloque-comunidad.activo .comunidad-link::after{
	transform: rotate(180deg);
}


.comunidad-link{
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	padding: 12px;
	cursor: pointer;
	border-radius: var(--radius-sm);
	background: transparent;
	transition: var(--transition);
}

.comunidad-link:hover{
	color: var(--color-primary);
}


.oculto {
    display: none !important;
}

.bloque-comunidad {
    margin-bottom: 12px;
	border-radius: var(--radius-sm);
	width: 100%;
	border: 1px solid var(--color-border);
	padding: 10px;
	background: #fff;
}

.bloque-comunidad:hover {
	border-color: var(--color-primary);
}

.bloque-comunidad.activo {
    border-color: var(--color-primary);
    background: var(--color-bg-soft);
}

.bloque-comunidad.activo .comunidad-link {
    color: var(--color-primary);
}


.subzonas {
    margin-left: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    max-height: 0;
    overflow: hidden;
    opacity: 0;

    transition: all 0.25s ease;

}

.subzona-link {
    font-size: 13px;
    color: var(--color-text);
	display: inline-block;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--color-bg-soft);
	border: 1px solid var(--color-border);
	text-decoration: none;
	transition: var(--transition);
	white-space: nowrap;
}


.subzona-link:hover {
    background: var(--color-neutral-soft);
    color: var(--color-primary);
}


.subzonas.activo {
    display: flex ;
	max-height: 1000px;
    opacity: 1;
}


/* Tarjeta de evento suspendido */
.eventos-item.evento-suspendido .eventos-card {
    position: relative;
    display: block;
    overflow: hidden;
    isolation: isolate;
}

/* Atenuar el contenido sin ocultar la marca de agua */
.eventos-item.evento-suspendido .eventos-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.60);
    z-index: 2;
    pointer-events: none;
}

/* Marca de agua SUSPENDIDO */
.eventos-item.evento-suspendido .eventos-card::after {
    content: "SUSPENDIDO";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);
    padding: 8px 18px;
    border: 4px solid rgba(180, 35, 24, 0.85);
    color: rgba(180, 35, 24, 0.85);
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: 2px;
    white-space: nowrap;
    z-index: 3;
    pointer-events: none;
}




/* =========================
   DETALLE DE EVENTO
   ========================= */

.single-evento #primary {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 1rem;
}

.single-evento .evento-detalle {
    margin-top: 2rem;
}

.evento-detalle {
    background: var(--color-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
	line-height: 1.5;
}

.evento-header {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 25px;
    align-items: start;
    margin-bottom: 25px;
}

.evento-titulo {
    min-width: 0;
    overflow-wrap: anywhere;
}

.evento-imagen {
    grid-column: 2;
    grid-row: 1;
	max-width: 350px;
	justify-self: end;
}

.evento-imagen img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

/*RESPONSIVE*/
@media (max-width: 768px) {

    .evento-header {
        display: flex;
        flex-direction: column;
    }

    .evento-imagen {
        margin-bottom: 15px;
    }

    .evento-detalle h1 {
        font-size: 24px;
        line-height: 1.2;
    }

}

.evento-detalle h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--color-text-strong);
}

.evento-detalle p {
    margin-bottom: 12px;
}


.evento-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 1.1rem;
	font-weight: 600;
    color: var(--color-text-strong);
	align-items: center;
}


.evento-lugar {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
}

.evento-region {
    font-size: 14px;
    color: var(--color-text-muted);
}

.evento-detalles {
    font-size: 14px;
    color: var(--color-text-muted);
	display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.evento-meta,
.evento-lugar,
.evento-detalles,
.evento-web {
    padding-bottom: 12px;
	margin-bottom:12px;
	position:relative;
}


.evento-web-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.evento-web-link:hover {
    text-decoration: underline;
}

.evento-descripcion {
    margin-top: 25px;
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 15.5px;
    color: var(--color-text);
}

/* Párrafos más respirables */
.evento-descripcion p {
    margin-bottom: 14px;
}

/* Listas más limpias */
.evento-descripcion ul {
    margin: 10px 0 15px 20px;
}

.evento-descripcion li {
    margin-bottom: 6px;
}

/* Negritas más visibles */
.evento-descripcion strong {
    color: var(--color-text-strong);
}


.evento-mapa {
    margin-top: 15px;
}



.evento-acciones {
    display: flex;
	flex-direction: column;
	align-items: center;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 20px;	
}

.evento-botones {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}


.btn-ver-mapa {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
	width: auto;
}

.btn-ver-mapa:hover {
    background: var(--color-primary-hover);
}

.mapa-contenedor {
    margin-top: 10px;
	border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
	width: 100%;
    transition: max-height 0.3s ease, opacity 0.3s ease;	
}

.btn-ver-mapa.btn-mapa-desactivado {
    opacity: 0.6;
    cursor: default;
    background-color: #6c757d;
}

.btn-me-interesa {
    background: #fff;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}


.btn-me-interesa .icono {
    color: #999;
}

/* Hover */
.btn-me-interesa:hover {
    background: var(--color-primary);
    color: #fff;
	transform: translateY(-1px);
}

.btn-me-interesa:hover .icono {
    color: #e63946;               /* corazón rojo */
}



/* Estado activo */
.btn-me-interesa.activo {
    background: #eaeaea;
    border-color: #bbb;
    color: #222;
}

.btn-me-interesa.activo .icono {
    color: #e63946;
}

/* Disabled */
.btn-me-interesa:disabled {
    background: #eee;
    color: #aaa;
    border-color: var(--color-border);
    cursor: default;
}
.evento-acciones .btn-me-interesa:focus,
.evento-acciones .btn-me-interesa:active,
.evento-acciones .btn-me-interesa:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    background: unset !important;
    color: unset !important;
    border-color: unset !important;
}


/* BLOQUE COMPARTIR EVENTO */
.compartir-evento {
    display: flex;
    justify-content: center;
	align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.btn-share {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f2f2f2;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.btn-share i {
    font-size: 16px;
    color: #333;
}

/* Hover colores */
.btn-share.whatsapp:hover { background: #25D366; }
.btn-share.facebook:hover { background: #1877F2; }
.btn-share.twitter:hover { background: #000; }
.btn-share.copiar:hover { background: #666; }

.btn-share:hover i {
    color: #fff;
}

/* Texto "Copiado" */
.texto-copiado {
    position: absolute;
    bottom: -22px;
    font-size: 12px;
    background: #000;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.texto-copiado.visible {
    opacity: 1;
}
/* SEPARADORES DETALLE EVENTO */

.evento-meta::after,
.evento-lugar::after,
.evento-detalles::after,
.evento-web::after {
    content: '';
    display: block;
    width: 65%;
	height: 1px;
	margin-top: 10px;
	margin-left: 0;
	margin-right: auto;
    background: var(--color-border);
}
/* Centrar ficha individual de evento en PRO */
body.ast-page-builder-template .site .site-content #primary {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   EVENTO SUSPENDIDO - DETALLE PÚBLICO
========================================== */

/* Contenedor de la ficha */
.evento-detalle.evento-suspendido {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* Capa translúcida sobre toda la ficha */
.evento-detalle.evento-suspendido::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.60);
    z-index: 10;
    pointer-events: none;
}

/* Marca de agua SUSPENDIDO */
.evento-detalle.evento-suspendido::after {
    content: "SUSPENDIDO";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);
    padding: 10px 22px;
    border: 4px solid rgba(180, 35, 24, 0.85);
    color: rgba(180, 35, 24, 0.85);
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: 3px;
    white-space: nowrap;
    z-index: 11;
    pointer-events: none;
}



/* =========================
   CREAR EVENTO
   ========================= */
body.single-crear-evento {
    background: var(--color-bg-alt);
}



.intro-crear-evento {
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.intro-crear-evento h1 {
    margin-bottom: 10px;
}

.intro-crear-evento p {
    margin-bottom: 20px;
    color: var(--color-text-muted);
}

.intro-crear-evento ol {
    padding-left: 18px;
    margin-bottom: 20px;
}

.intro-crear-evento li {
    margin-bottom: 6px;
}


.crear-evento {
    max-width: 900px;
	margin: 0 auto;
	padding: 2rem 1rem 60px;
}

.crear-evento form {
    max-width: 800px;
    margin: 20px auto 0;
    padding: 2rem;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}


.crear-evento form p {
    margin-bottom: 16px;
}

.crear-evento label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.crear-evento input,
.crear-evento select,
.crear-evento textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    font-size: 14px;
    transition: all 0.2s ease;
}

.crear-evento input:focus,
.crear-evento select:focus,
.crear-evento textarea:focus {
    border-color: var(--color-primary) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.05) !important;
}

.crear-evento textarea {
    min-height: 140px;
    resize: vertical;
}
.crear-evento button {
    width: 100%;
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.crear-evento button:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
}

.crear-evento input[type="file"] {
    padding: 6px;
    background: #f9f9f9;
}


.tipo-evento-ayuda {
    margin-top: 6px;
    font-size: 13px;
    color: #555;
    display: none;
    padding: 6px 8px;
    background: #f5f7f8;
    border-left: 3px solid var(--color-primary);
    border-radius: var(--radius-sm);
}

.ok {
    background: #e6f7ec;
    color: var(--color-primary);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin: 20px auto;
    max-width: 800px;
    font-weight: 500;
    border: 1px solid rgba(0,0,0,0.05);
}

.ok::before {
    content: "✔ ";
    font-weight: bold;
}

.error {
    background: rgba(180, 60, 60, 0.10);
    color: #a33a3a;
    padding: 10px 12px;
    border-radius: 5px;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    text-align: center;
}

/* Tarifa aplicable al tipo de evento */
.tipo-evento-tarifa {
    margin-top: 8px;
}

.tipo-evento-tarifa .tarifa-precio {
    font-size: 18px;
    font-weight: 700;
    color: #1f6f64;
    margin: 0 0 4px 0;
}

.tipo-evento-tarifa .tarifa-mensaje {
    font-size: 13px;
    color: #555;
    margin: 0;
}
/* =========================
   FILTROS
   ========================= */

.acciones-eventos {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 12px 0 18px;
    flex-wrap: wrap;
}



#filtro-eventos-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#filtro-eventos-form label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}


#filtro-eventos-form select,
#filtro-eventos-form input {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
	font-size: 0.9rem;
	background: #fff;
}

#filtro-eventos-form select:focus,
#filtro-eventos-form input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.filtro-campo {
	display: flex;
	flex-direction: column;
}

.btn-aplicar {
    background: var(--color-primary);
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-aplicar:hover {
    background: var(--color-primary-hover);
}

a.btn-limpiar {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 16px;
    border-radius: var(--radius-sm);

    background: var(--color-bg-soft);
    color: var(--color-text);

    text-decoration: none;
    font-weight: 500;

    border: 1px solid var(--color-border);
    cursor: pointer;

    transition: var(--transition);
}

a.btn-limpiar:hover {
    background: var(--color-neutral-soft);
}

.btn-aplicar,
.btn-limpiar {
    height: 42px;
}

.filtro-acciones {
    grid-column: span 2;
    display: flex;
    gap: 10px;
	margin-top:10px;
    align-items: center;
}

@media (max-width: 767px) {

    .filtro-acciones {
        display: flex;
        gap: 10px;
        width: 100%;
    }

    .filtro-acciones .btn-aplicar,
    .filtro-acciones .btn-limpiar {
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        text-align: center;
        font-size: 15px;
        padding: 10px 8px;
        height: 48px;
        box-sizing: border-box;
    }

}

/*
#filtro-municipio {
	opacity: 0.6;
	cursor: not-allowed;
}*/

/* =========================
   TEXTO EVENTOS FILTRADOS
   ========================= */


.filtros-activos {
    border: none;
    background: transparent;
    padding: 0;
    margin: 8px 0 14px 0;
    font-size: 14px;
    color: var(--color-text-muted);
}


.filtros-activos strong{
	font-weight: 600;
	color: var(--color-primary);
}


.btn-toggle-filtros {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 10px 18px;

    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;

    background: var(--color-primary) !important;
    color: #fff !important;
	
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);

    border: none !important;
    cursor: pointer;

    transition: var(--transition);
}

.btn-toggle-filtros:hover {
    background: var(--color-primary-hover) !important;
}



/* Subbloque plegable (el que se oculta) */
.bloque-filtros-contenido {
    display: block;

    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 25px;

    margin-top: 15px;
    margin-bottom: 30px;
}


/* Estado oculto */
.bloque-filtros-contenido.oculto {
    display: none;
}

/*BOTON MOSTRAR MAS*/
#mostrar-mas-eventos {
    display: block;
    width: 280px;
    margin: 2rem auto 3rem;
    padding: 0.75rem 1.8rem;
    background: #1f6f64;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#mostrar-mas-eventos:hover {
    background: #145047;
}


/* ================================================================================================================
												MIS EVENTOS – DASHBOARD
   ================================================================================================================ */

.mis-eventos-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.mis-eventos-titulo {
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* GRID */

.mis-eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* CARD */

.mis-evento-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .2s ease, box-shadow .2s ease;
}

.mis-evento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* HEADER */

.mis-evento-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.mis-evento-nombre {
    flex: 1;
	font-size: 1.1rem;
    margin: 0;
}

/* ESTADO */

.mis-evento-estado {
    flex-shrink: 0;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    white-space: nowrap;
}

/* Evento publicado */

.estado-publish {
    background: #2e7d32;
    color: #fff;
}

/* Pendiente de validación */

.estado-pending {
    background: #f9a825;
    color: #fff;
}

/* Pendiente de publicación / pago */

.estado-pending_payment {
    background: #ef6c00;
    color: #fff;
}

/* Evento rechazado */

.estado-draft {
    background: #ffe5e5;
    color: #b00000;
    font-weight: 600;
}

/* Evento finalizado */

.estado-finalizado {
    background: #e0e0e0;
    color: #424242;
    font-weight: 600;
}

/* Evento suspendido definitivamente */

.estado-suspendido {
    background: #fde8e8;
    color: #b00000;
    border: 1px solid #ef9a9a;
    font-weight: 600;
}

/* Motivo del rechazo */

.mis-evento-rechazo {
    margin-top: 8px;
    padding: 8px 10px;
    background: #fff5f5;
    border-left: 3px solid #d60000;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    line-height: 1.3;
}

.mis-evento-rechazo strong {
    display: inline;
    font-weight: 600;
    margin-right: 5px;
}




/* FECHA */

.mis-evento-fecha {
    margin: 12px 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* METRICAS */

.mis-evento-metricas {
    display: flex;
    flex-wrap: wrap;
	gap: 8px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

/* ACCIONES */

.mis-evento-acciones {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 15px;
}


/* Estilo común de los botones de Mis eventos */
.mis-evento-acciones a,
.mis-evento-acciones button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.2;
    box-sizing: border-box;
    margin: 0;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}



/* VER EVENTO */
.btn-ver {
    background: var(--color-primary);
    color: #ffffff !important;
}

.btn-ver:hover {
    background: var(--color-primary-hover);
    color: #ffffff !important;
}

/* EDITAR */
.btn-editar {
    background: #4b5563;
    color: #ffffff !important;
}

.btn-editar:hover {
    background: #374151;
    color: #ffffff !important;
}

/* DESCARGAR FACTURA */
.btn-factura {
    background: #2e7d32;
    color: #ffffff !important;
    padding: 8px 12px !important;
    white-space: nowrap;
}

.btn-factura:hover {
    background: #1b5e20;
    color: #ffffff !important;
}

/* PUBLICAR EVENTO */
.btn-publicar {
    background: #f59e0b;
    color: #ffffff !important;
}

.btn-publicar:hover {
    background: #374151;
    color: #ffffff !important;
}



/* VACIO */

.mis-eventos-vacio {
    font-size: 1rem;
    color: var(--color-text-muted);
}

/* EVENTOS PASADOS */

.mis-evento-card.evento-pasado {
    background: #f3f4f6;
    color: #6b7280;
    box-shadow: none;
}

.mis-evento-card.evento-pasado:hover {
    transform: none;
    box-shadow: none;
}

.mis-evento-card.evento-pasado .mis-evento-nombre {
    color: #374151;
}

.mis-evento-card.evento-pasado .mis-evento-estado {
    background: #e5e7eb;
    color: #374151;
}


/* LEYENDA MÉTRICAS */

.mis-eventos-leyenda {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #374151;
}

.mis-eventos-leyenda span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/*Acciones extras */
.mis-evento-acciones-extra {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-reenviar {
    padding: 6px 10px;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    border: none;
    cursor: pointer;
	background: #f0ad4e;
    color: #fff;
}



/* boton Suspender: acción irreversible */
.mis-evento-acciones .btn-suspender-evento {
    background-color: #fce8e6;
    color: #b42318;
    border-color: #f2b8b5;
    white-space: nowrap;
}

.mis-evento-acciones .btn-suspender-evento:hover {
    background-color: #f8d7d4;
    border-color: #e8a09b;
    color: #912018;
}

.mis-evento-acciones .btn-suspender-evento:focus-visible {
    outline: 2px solid #b42318;
    outline-offset: 2px;
}

/* =========================
   MODAL EVENTO
   ========================= */

.be-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 99999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.25s ease;
}

.be-modal.activo {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* Fondo oscuro */
.be-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
	z-index: 1;
}

/* Caja blanca */
.be-modal-content {
    position: relative;
	z-index: 2;
    background: #fff;
    width: 90%;
    max-width: 820px; /* más compacto */
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);

    transform: scale(0.95);
    opacity: 0;
    transition: all 0.25s ease;
}

/* Animación */
.be-modal.activo .be-modal-content {
    transform: scale(1);
    opacity: 1;
}

/* Botón cerrar */
.be-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #0f2a25 !important;
	background: transparent !important;
}

/* 🔴 ESTE ES EL IMPORTANTE */
.be-modal-close:hover,
.be-modal-close:focus,
.be-modal-close:active,
.be-modal-close:focus-visible {
    color: var(--color-primary) !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}


/* Botón de cierre del modal Ver evento */
#be-modal-evento .be-modal-close {
    color: #4b5563 !important;
    background: #e5e7eb !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 15px;
    right: 20px;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    box-shadow: none !important;
}

#be-modal-evento .be-modal-close:hover,
#be-modal-evento .be-modal-close:focus-visible {
    color: #374151 !important;
    background: #d1d5db !important;
    border-color: #9ca3af !important;
    outline: none !important;
    box-shadow: none !important;
}


/*===== PREVIEW =====*/

.mis-evento-preview {
    display:none;
}

.mis-evento-preview h2 {
    margin-bottom: 15px;
}

.preview-header {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
}

.preview-header h2 {
	margin:0;
	font-size: 22px;
}

.preview-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
	margin-top: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
}

.preview-meta span {
    background: #f5f5f5;
    padding: 6px 10px;
    border-radius: 6px;
}

.preview-body {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.preview-img img {
    max-width: 260px;
    border-radius: 10px;
}

.preview-desc {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
}


/* Responsive */
@media (max-width: 768px) {
    .preview-body {
        flex-direction: column;
    }

    .preview-img img {
        max-width: 100%;
    }
}

/* =====================================
   MODAL DE CONFIRMACIÓN DE SUSPENSIÓN EN MIS EVENTOS
   ===================================== */

#be-modal-suspension .be-modal-suspension-content {
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 30px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    color: #1f2937;
}

/* Título */

#be-modal-suspension .be-modal-suspension-content h2 {
    margin: 0 40px 18px 0;
    color: #1f2937;
    font-size: 1.6rem;
    line-height: 1.3;
}

/* Texto informativo */

#be-modal-suspension .be-modal-suspension-content p {
    margin: 14px 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #374151;
}

#be-modal-suspension .be-modal-suspension-content p strong {
    color: #b42318;
}

/* Botón cerrar */

#be-modal-suspension .be-modal-close {
    top: 15px;
    right: 18px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
}

/* Mensajes de respuesta */

#be-modal-suspension #be-suspension-mensaje {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #b42318;
}

/* Acciones */

#be-modal-suspension .be-suspension-botones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

#be-modal-suspension .be-suspension-botones button {
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Cancelar */

#be-modal-suspension #be-cancelar-suspension {
    background: #e5e7eb;
    color: #374151;
}

#be-modal-suspension #be-cancelar-suspension:hover {
    background: #d1d5db;
    color: #1f2937;
}

/* Confirmación irreversible */

#be-modal-suspension #be-confirmar-suspension {
    background: #fce8e6;
    color: #b42318;
    border-color: #f2b8b5;
}

#be-modal-suspension #be-confirmar-suspension:hover {
    background: #f8d7d4;
    border-color: #e8a09b;
    color: #912018;
}

#be-modal-suspension #be-confirmar-suspension:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* Adaptación a móviles */

@media (max-width: 600px) {
    #be-modal-suspension.be-modal {
        padding: 12px;
        box-sizing: border-box;
    }

    #be-modal-suspension .be-modal-suspension-content {
        width: 100%;
        max-width: none;
        max-height: 90vh;
        padding: 24px 18px;
    }

    #be-modal-suspension .be-modal-suspension-content h2 {
        font-size: 1.35rem;
    }

    #be-modal-suspension .be-modal-suspension-content p {
        font-size: 0.9rem;
    }

    #be-modal-suspension .be-suspension-botones {
        flex-direction: column;
        align-items: stretch;
    }

    #be-modal-suspension .be-suspension-botones button {
        width: 100%;
        min-height: 44px;
    }
}


/* Aspa para cerrar el modal de suspensión */

#be-modal-suspension .be-modal-close {
    color: #4b5563 !important;
    background: #e5e7eb !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 15px;
    right: 20px;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    box-shadow: none !important;
}

#be-modal-suspension .be-modal-close:hover,
#be-modal-suspension .be-modal-close:focus-visible {
    color: #374151 !important;
    background: #d1d5db !important;
    border-color: #9ca3af !important;
    outline: none !important;
    box-shadow: none !important;
}

/* ================================================================================================================
												FIN MIS EVENTOS – DASHBOARD
   ================================================================================================================ */

/* ============================
   PUBLICAR EVENTO
   ============================ */

.publicar-evento-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.publicar-evento-titulo {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.publicar-evento-card {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.publicar-evento-nombre {
    margin: 0 0 1.5rem;
    font-size: 1.4rem;
    color: var(--color-text-strong);
}

.publicar-evento-datos {
    display: flex;
    flex-direction: column;
    gap:.6rem;
    margin-bottom: 2rem;
}

.publicar-evento-datos p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 1rem;
}

.publicar-evento-datos strong {
    color: var(--color-text);
}

.publicar-evento-card hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 2rem 0;
}

.publicar-evento-precio {
    max-width: 450px;
    margin: 0 auto 2rem;
}

.publicar-evento-precio h2 {
    text-align: center;
    margin-bottom: 1.8rem;
}

.publicar-evento-linea {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 0;
    font-size: 1rem;
}

.publicar-evento-linea strong {
    color: var(--color-text);
    font-weight: 600;
}

.publicar-evento-linea span {
    color: var(--color-text);
}

.publicar-evento-total {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top:1.5rem;
    padding-top:1.2rem;

    border-top: 2px solid var(--color-border);

    font-size: 1.4rem;
    font-weight: 700;

    color: var(--color-primary);
}

.publicar-evento-mensaje {
    margin-top: 1rem;
    text-align: center;
    color: var(--color-text-muted);
    font-style: italic;
}

.publicar-evento-info{

    margin-top:2rem;
    padding:1rem;

    background:#f5f7f8;

    border-left:4px solid var(--color-primary);

    border-radius:var(--radius-sm);

    line-height:1.6;

}

/* BENEFICIOS */

.publicar-evento-beneficios {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.publicar-evento-beneficios h3 {
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.publicar-evento-beneficios ul {
	list-style: none;
    margin: 0;
    padding-left: 1.2rem;
}

.publicar-evento-beneficios li {
    margin-bottom: .7rem;
    color: var(--color-text);
}

/* BOTÓN */

.publicar-evento-acciones {
    margin-top: 2.5rem;
    text-align: center;
}

.btn-confirmar-publicacion {

    background: var(--color-primary);
    color: #fff;

    border: none;
    border-radius: var(--radius-sm);

    padding: 14px 32px;

    font-size: 1rem;
    font-weight: 600;

    cursor: pointer;

    transition: var(--transition);

}

.btn-confirmar-publicacion:hover {

    background: var(--color-primary-hover);

}

.btn-confirmar-publicacion:focus,
.btn-confirmar-publicacion:active {

    background: var(--color-primary);
    color: #fff;

}


/* =========================
   LOGIN PERSONALIZADO
   ========================= */
   
/* Ocultar título de la página Acceder */
.page-id-123 .entry-title {
    display: none;
}   

.page-id-123 .be-login-wrapper {
    max-width: 420px;
    margin: 3rem auto;
	padding: 2rem;
	background: var(--color-bg);
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.page-id-123 .be-login-wrapper h2 {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
	margin-bottom: 2rem;
    color: var(--color-text);
}

.page-id-123 .be-login-extra {
    margin-top: 1.8rem;
}

.page-id-123 .be-btn-crear-cuenta {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-id-123 .be-btn-crear-cuenta:hover {
    background: var(--color-primary);
    color: var(--color-bg);
}

.page-id-123 .be-login-wrapper a.be-btn-crear-cuenta {
    text-decoration: none;
}


.be-error {
    background: var(--color-bg-soft);
    color: var(--color-text);
    padding: 10px 12px;
    border-radius: 5px;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    text-align: center;
}

/* INPUTS LOGIN */
.page-id-123 .be-login-wrapper input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    margin-bottom: 15px;
}

/* FOCUS LOGIN (MISMA SOLUCIÓN QUE CONTACTO) */
.page-id-123 .be-login-wrapper input:focus {
    outline: none !important;
    border: 1px solid var(--color-primary) !important;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.08) !important;
}


.page-id-123 .be-login-wrapper input[type="submit"] {
    width: 100%;
    padding: 14px;
    background: var(--color-primary);
    color: var(--color-bg);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.page-id-123 .be-login-wrapper input[type="submit"]:hover {
    background: var(--color-primary-hover);
}

.page-id-123 .be-login-wrapper label {
    display: block;
    text-align: left;
    margin-bottom: 6px;
    font-weight: 600;
}

.page-id-123 .login-remember {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin: 10px 0 20px;
}

.page-id-123 .login-remember input {
    width: auto; /* 🔥 clave */
    margin: 0;
}

.page-id-123 .login-remember label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
}


/* ENLACE RECUPERAR CONTRASEÑA */
.page-id-123 .be-login-wrapper a {
    color: var(--color-primary);
}

.page-id-123 .be-login-wrapper a:hover {
    color: var(--color-primary-hover);
}


/* =========================
   CONFIRMACIÓN EMAIL
   ========================= */

.page-id-129 .entry-title {
    display: none;
}

.page-id-129 .be-login-wrapper {
    max-width: 420px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--color-bg);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.page-id-129 .be-login-wrapper h2 {
    margin-bottom: 2rem;
    font-size: 1.6rem;
    color: var(--color-text);
}

.page-id-129 .be-login-wrapper p {
    text-align: center;
}

.page-id-129 .be-success {
    background: rgba(124,177,162,0.20);
    color: var(--color-text);
    padding: 10px 12px;
    border-radius: 5px;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

.page-id-129 .be-login-extra {
    margin-top: 1.8rem;
}

.page-id-129 .be-login-extra a {
    color: var(--color-primary);
}

/* =========================
   REENVIAR CONFIRMACIÓN
   ========================= */

.page-id-156 .entry-title {
    display: none;
}

.page-id-156 .be-login-wrapper {
    max-width: 420px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--color-bg);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.page-id-156 .be-login-wrapper h2 {
    margin-bottom: 2rem;
    font-size: 1.6rem;
    color: var(--color-text);
}

.page-id-156 .be-login-wrapper p {
    text-align: left;
}

.page-id-156 .be-login-wrapper input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    margin-bottom: 15px;
}

.page-id-156 .be-login-wrapper input:focus {
    outline: none !important;
    border: 1px solid var(--color-primary) !important;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.08) !important;
}

.page-id-156 .be-login-wrapper button {
    width: 100%;
    padding: 14px;
    background: var(--color-primary);
    color: var(--color-bg);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.page-id-156 .be-login-wrapper button:hover {
    background: var(--color-primary-hover);
}

.page-id-156 .be-login-wrapper label {
    display: block;
    text-align: left;
    margin-bottom: 6px;
    font-weight: 600;
}

.page-id-156 .be-success {
    background: rgba(124,177,162,0.20);
    color: var(--color-text);
    padding: 10px 12px;
    border-radius: 5px;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    text-align: center;
}

.page-id-156 .be-error {
    background: var(--color-bg-soft);
    color: var(--color-text);
    padding: 10px 12px;
    border-radius: 5px;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    text-align: center;
}

.page-id-156 .be-login-extra {
    margin-top: 1.8rem;
}

.page-id-156 .be-login-extra a {
    color: var(--color-primary);
}

/* =========================
   RECUPERAR CONTRASEÑA
   ========================= */

.page-id-154 .entry-title {
    display: none;
}

.page-id-154 .be-login-wrapper {
    max-width: 420px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--color-bg);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.page-id-154 .be-login-wrapper h2 {
    margin-bottom: 2rem;
    font-size: 1.6rem;
    color: var(--color-text);
}

.page-id-154 .be-login-wrapper p {
    text-align: left;
}

.page-id-154 .be-login-wrapper input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    margin-bottom: 15px;
}

.page-id-154 .be-login-wrapper input:focus {
    outline: none !important;
    border: 1px solid var(--color-primary) !important;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.08) !important;
}

.page-id-154 .be-login-wrapper button {
    width: 100%;
    padding: 14px;
    background: var(--color-primary);
    color: var(--color-bg);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.page-id-154 .be-login-wrapper button:hover {
    background: var(--color-primary-hover);
}

.page-id-154 .be-login-wrapper label {
    display: block;
    text-align: left;
    margin-bottom: 6px;
    font-weight: 600;
}

.page-id-154 .be-login-extra {
    margin-top: 1.8rem;
}

.page-id-154 .be-login-extra a {
    color: var(--color-primary);
}


/* =========================
   FORMULARIO REGISTRO ORGANIZADOR
   ========================= */

/* Ocultar título de la página */
.page-id-133 .entry-title {
    display: none;
}

/* Contenedor principal */
.page-id-133 .be-login-wrapper {
    max-width: 420px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--color-bg);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
}

/* Título */
.page-id-133 .be-login-wrapper h2 {
    margin-bottom: 2rem;
    font-size: 1.6rem;
    color: var(--color-text);
}

/* Formulario */
.page-id-133 .be-form-registro {
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.page-id-133 .be-form-registro p {
    margin-bottom: 1rem;
}

.page-id-133 .be-form-registro label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    color: #333;
    text-align: left;
}

.page-id-133 .be-form-registro input[type="text"],
.page-id-133 .be-form-registro input[type="email"],
.page-id-133 .be-form-registro input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
}

.page-id-133 .be-form-registro input:focus {
    outline: none !important;
    border: 1px solid var(--color-primary) !important;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.08) !important;
}

/* Aviso contraseña */
.page-id-133 .be-password-note {
    display: block;
    margin-top: 4px;
    margin-bottom: 18px;
    font-size: 0.85rem;
    color: var(--color-text);
    opacity: 0.75;
    text-align: left;
}

/* Botón */
.page-id-133 .be-form-registro button {
    width: 100%;
    padding: 14px;
    background: var(--color-primary);
    color: var(--color-bg);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.page-id-133 .be-form-registro button:hover {
    background: var(--color-primary-hover);
}

/* Mensaje de error */
.page-id-133 .be-form-registro .be-error {
    background: #fdeaea;
    color: #a40000;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    text-align: center;
}

/* Aceptación legal */
.page-id-133 .be-form-registro .be-legal {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: #555;
    margin-top: 1rem;
}

.page-id-133 .be-form-registro .be-legal a {
    color: var(--color-primary);
    text-decoration: underline;
}

.page-id-133 .be-form-registro .be-legal label {
    line-height: 1.4;
}

.page-id-133 .be-form-registro .be-legal input {
    margin-right: 6px;
}

/* Aviso de seguridad */
.page-id-133 .be-form-registro p strong {
    display: block;
    font-size: 13px;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Campo obligatorio */
.page-id-133 .obligatorio {
    color: #c62828;
    font-weight: bold;
    margin-left: 4px;
}

/* Nota campos obligatorios */
.page-id-133 .be-form-note {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin-top: 1.2rem;
}


/* =========================
   RESTABLECER CONTRASEÑA
   ========================= */

.page-id-158 .entry-title {
    display: none;
}

.page-id-158 .be-login-wrapper {
    max-width: 420px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--color-bg);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.page-id-158 .be-login-wrapper h2 {
    margin-bottom: 2rem;
    font-size: 1.6rem;
    color: var(--color-text);
}

.page-id-158 .be-login-wrapper p {
    text-align: center;
}

.page-id-158 .be-login-wrapper label {
    display: block;
    text-align: left;
    margin-bottom: 6px;
    font-weight: 600;
}

.page-id-158 .be-login-wrapper input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    margin-bottom: 15px;
}

.page-id-158 .be-login-wrapper input:focus {
    outline: none !important;
    border: 1px solid var(--color-primary) !important;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.08) !important;
}

.page-id-158 .be-login-wrapper input[type="submit"] {
    width: 100%;
    padding: 14px;
    background: var(--color-primary);
    color: var(--color-bg);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.page-id-158 .be-login-wrapper input[type="submit"]:hover {
    background: var(--color-primary-hover);
}

.page-id-158 .be-login-wrapper .be-error {
    background: var(--color-bg-soft);
    color: var(--color-text);
    padding: 10px 12px;
    border-radius: 5px;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    text-align: center;
}

.page-id-158 .be-login-extra {
    margin-top: 1.8rem;
}

.page-id-158 .be-login-extra a {
    color: var(--color-primary);
}


/* BOTÓN RESTABLECER CONTRASEÑA */
.page-id-158 .be-login-wrapper input[type="submit"],
.page-id-158 .be-login-wrapper button[type="submit"],
.page-id-158 .be-login-wrapper input[type="submit"]:hover,
.page-id-158 .be-login-wrapper button[type="submit"]:hover {
    background-color: var(--color-primary) !important;
    color: var(--color-bg) !important;
    border-color: var(--color-primary) !important;
}


/* HOVER BOTÓN RESTABLECER CONTRASEÑA */
.page-id-158 .be-login-wrapper input[type="submit"]:hover,
.page-id-158 .be-login-wrapper button[type="submit"]:hover {
    background-color: var(--color-primary-hover) !important;
    border-color: var(--color-primary-hover) !important;
    color: var(--color-bg) !important;
}

/* ÉXITO AL RESTABLECER CONTRASEÑA */
.page-id-158 .be-login-wrapper .be-success {
    background: rgba(124,177,162,0.20);
    color: var(--color-text);
    padding: 10px 12px;
    border-radius: 5px;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    text-align: center;
}


/* ENLACES RESTABLECER CONTRASEÑA */
.page-id-158 .be-login-wrapper a {
    color: var(--color-primary);
}

.page-id-158 .be-login-wrapper a:hover {
    color: var(--color-primary-hover);
}


/* =========================
   VALIDAR-EVENTOS
   ========================= */
.validar-eventos-wrapper {
    max-width: 900px;
    margin: 3rem auto;
}

/* BOTÓN VER EVENTO - VALIDACIONES */
.validar-eventos-wrapper .btn-toggle-evento {
    background-color: var(--color-primary) !important;
    color: var(--color-bg) !important;
    border: 1px solid var(--color-primary) !important;
    transition: var(--transition);
}

.validar-eventos-wrapper .btn-toggle-evento:hover {
    background-color: var(--color-primary-hover) !important;
    color: var(--color-bg) !important;
    border-color: var(--color-primary-hover) !important;
}


.val-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.val-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.val-fecha {
	padding-left:1rem;
	padding-right:1rem;
}

.val-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.val-grid input {
    width: 100%;
    padding: 6px 8px;
}

.val-imagen img {
    border-radius: 6px;
    margin: 1rem 0;
}

.val-acciones button {
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-validar {
    background: var(--color-primary);
    color: #fff;
}

.btn-validar:hover {
    background: var(--color-primary-hover);
}


/* BOTONES DE RECHAZO - VALIDACIONES */
.validar-eventos-wrapper .btn-rechazar-toggle,
.validar-eventos-wrapper .btn-confirmar-rechazo {
    background-color: #c0392b !important;
    color: #fff !important;
    border-color: #c0392b !important;
}

.validar-eventos-wrapper .btn-rechazar-toggle:hover,
.validar-eventos-wrapper .btn-confirmar-rechazo:hover {
    background-color: #922b21 !important;
    color: #fff !important;
    border-color: #922b21 !important;
}


/*---------*/
.bloque-rechazo {
    margin-top: 12px;
}

.motivo-rechazo {
    width: 100%;
    min-height: 70px;
    margin-bottom: 8px;
    padding: 8px;
}

.btn-confirmar-rechazo:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* =========================
   EDITAR EVENTO 
   ========================= */

.editar-evento {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.editar-evento form {
    background: #fff;
    padding: 45px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 40px;
}

/* ===== TÍTULO ===== */
.editar-evento form > p:first-of-type {
    grid-column: 1 / -1;
}

/* ===== BLOQUE IMAGEN ===== */
.editar-imagen-bloque {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.editar-imagen-preview img {
    max-width: 300px;
    border-radius: 12px;
}

/* ===== DESCRIPCIÓN ===== */
.editar-evento textarea {
    min-height: 200px;
}

/* ===== CAMPOS GENERALES ===== */
.editar-evento label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.editar-evento input,
.editar-evento select,
.editar-evento textarea {
    width: 100%;
    padding: 9px 12px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.editar-evento p {
    margin-bottom: 8px;
}

/* ===== BOTÓN ===== */
.editar-evento button {
    grid-column: 1 / -1;
    justify-self: center;
    width: 340px;
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.editar-evento button:hover {
    background: var(--color-primary-hover);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .editar-evento form {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .editar-evento button {
        width: 100%;
    }
}


/* =========================
   CONTACTO – FULL WIDTH CONTROLADO
   ========================= */

/* Quitar límite del contenedor de Astra */
.page-template-page-contacto .ast-container {
    max-width: 100% !important;
}

/* Wrapper principal */
.contacto-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 80px auto;
    padding: 40px 40px;
    background: var(--color-bg);
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

/* Título */
.contacto-wrapper h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
}

/* Campos */
.contacto-form p {
    margin-bottom: 20px;
}

.contacto-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
}

.contacto-form input,
.contacto-form select,
.contacto-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
}

.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus,
.contacto-form input:focus-visible,
.contacto-form select:focus-visible {
    outline: none !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.08) !important;
}

/* Textarea fijo */
.contacto-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* Botón */
.contacto-form button {
    width: 100%;
	margin-top: 20px;
	padding: 14px;
    background: var(--color-primary);
    color: var(--color-bg);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contacto-form button:hover {
    background: var(--color-primary-hover);
}

/* Mensajes */
.contacto-ok {
    background: #e6f7ec;
    color: var(--color-primary);
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.contacto-error {
    background: #fdeaea;
    color: #a40000;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 25px;
}

/* Responsive */
@media (max-width: 768px) {
    .contacto-wrapper {
        padding: 30px 25px;
    }
}

/* Corregir selector de contacto en móvil */
@media (max-width: 768px) {

    .contacto-form select {
        height: 54px;
        min-height: 54px;
        line-height: normal;
        padding: 10px 16px;
        box-sizing: border-box;
        display: block;
    }

}


/* =========================
   REVISIÓN MENSAJES
   ========================= */

.revision-mensajes {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

.bloque-mensajes {
    margin-bottom: 50px;
}

.bloque-mensajes h2 {
    margin-bottom: 20px;
    font-size: 18px;
    border-bottom: 2px solid #eee;
    padding-bottom: 6px;
}

.mensaje-card {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.mensaje-card.anonimo {
    border-left: 4px solid #e6b800;
}

.mensaje-card.leido {
    opacity: 0.7;
}

.mensaje-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 10px;
}

.mensaje-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.mensaje-texto {
    margin-bottom: 15px;
    line-height: 1.5;
}

.mensaje-acciones {
    display: flex;
    gap: 10px;
}

.btn-leido {
    background: var(--color-primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
}

.btn-leido:hover {
    background: var(--color-primary-hover);
}

.btn-eliminar {
    background: #c0392b;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
}

.btn-eliminar:hover {
    background: #962d22;
	
}

/* ==============================
   HOME HERO MODERNO
============================== */

.home-hero {
    background: linear-gradient(135deg, var(--color-bg-soft) 0%, var(--color-bg) 100%);
    padding: 140px 20px 140px 20px;
    text-align: center;
}

.home-hero .container {
    max-width: 1100px;
    margin: 0 auto;
}

.home-hero h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--color-text-strong);
}

.home-hero .hero-sub {
    font-size: 21px;
    margin-bottom: 18px;
    color: var(--color-text);
}

.home-hero p {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 18px;
    line-height: 1.7;
}

.hero-buttons {
    margin-top: 40px;
}

/* ==============================
   BOTONES HOME HERO
============================== */

.hero-buttons a {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none !important;
    font-size: 16px;
    margin: 0 10px;
    transition: var(--transition);
}

.hero-buttons .btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg) !important;
}

.hero-buttons .btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
}

.hero-buttons .btn-secondary {
    background-color: var(--color-bg);
    color: var(--color-primary) !important;
    border: 2px solid var(--color-primary);
}

.hero-buttons .btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-bg) !important;
    transform: translateY(-2px);
}

/* ==============================
   BLOQUE BENEFICIOS
============================== */

.home-beneficios {
    padding: var(--section-spacing) 20px;
    background: var(--color-bg);
    text-align: center;
}

.home-beneficios h2 {
    font-size: 36px;
    margin-bottom: 60px;
    color: var(--color-text-strong);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.beneficio-item {
    padding: 30px;
}

.beneficio-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.beneficio-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--color-text);
}

.beneficio-item p {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.6;
}


/* ==============================
   BLOQUE ORGANIZADORES
============================== */

.home-organizadores {
    padding: var(--section-spacing) 20px;
    background: #f7f9fc;
}

.container-organizadores {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.home-organizadores h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--color-text-strong);
}

.home-organizadores p {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 18px;
    line-height: 1.7;
}

.org-lista {
    list-style: none;
    padding: 0;
    margin: 35px 0;
}

.org-lista li {
    margin-bottom: 10px;
    font-size: 17px;
    color: var(--color-text);
}

.btn-organizador {
    display: inline-block;
    padding: 16px 36px;
    background-color: var(--color-primary);
    color: var(--color-bg) !important;
    text-decoration: none !important;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.btn-organizador:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
}
/* ==============================
   BLOQUE FINAL IMPACTO
============================== */

.home-confianza {
    padding: var(--section-spacing) 20px;
	background: linear-gradient(135deg, #4f8f80 0%, #3f776b 100%);
	text-align: center;
    color: var(--color-bg);
}

.container-confianza {
    max-width: 800px;
    margin: 0 auto;
}

.home-confianza h2 {
    font-size: 38px;
    margin-bottom: 25px;
    color: var(--color-bg);
}

.home-confianza p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 18px;
    line-height: 1.7;
}

.btn-contacto {
    display: inline-block;
    padding: 16px 38px;
    background-color: var(--color-bg);
    color: #3f776b !important;
    text-decoration: none !important;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 30px;
    transition: all 0.25s ease;
}

.btn-contacto:hover {
    background-color: #eaf4f1;
    transform: translateY(-2px);
}


/* BLOQUE WHATSAPP - INICIO */

.home-whatsapp {
    padding: 55px 20px;
    background: #f3f8f6;
}

.container-whatsapp {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.whatsapp-icon {
    font-size: 38px;
    margin-bottom: 12px;
}

.home-whatsapp h2 {
    margin-bottom: 15px;
}

.home-whatsapp p {
    max-width: 650px;
    margin: 0 auto 25px;
    line-height: 1.7;
}

.btn-whatsapp {
    display: inline-block;
    background: #25D366;
    color: #ffffff !important;
    padding: 13px 26px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.btn-whatsapp:hover {
    background: #1da851;
    color: #ffffff !important;
}

/* BLOQUE WHATSAPP - FIN */


/* ==============================
   RESPONSIVE BENEFICIOS
============================== */

@media (max-width: 1000px) {
    .beneficios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .beneficios-grid {
        grid-template-columns: 1fr;
    }

    .home-beneficios {
        padding: 70px 20px;
    }

    .home-beneficios h2 {
        font-size: 28px;
    }
}

/* ==============================
   DATOS FACTURACION
============================== */

.be-df-container {
    max-width: 900px;
    margin: 0 auto;
}

.be-df-container input,
.be-df-container select {
    width: 100%;
    height: 42px;
    padding: 8px 10px;
}

.be-df-container button {
    width: 100%;
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 20px;
}

.be-df-container button:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
}

.be-df-hidden {
    display: none;
}

.be-df-error {
    display: none;
    color: red;
    font-size: 12px;
}

.be-df-success {
    background: #e6f7ec;
    color: #1e7e34;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.be-df-required {
    color: #d32f2f;
    font-weight: 700;
}

.be-df-required-legend {
    margin: 4px 0 15px;
    font-size: 13px;
    color: #666;
}

/* ============================
   FACTURACIÓN
   ============================ */

.facturacion-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.facturacion-titulo {
    margin-bottom: 2rem;
    font-size: 2rem;
}


/* FILTROS */

.facturacion-filtros {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.facturacion-filtro {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.facturacion-filtro label {
    font-size: 0.85rem;
    font-weight: 600;
}

.facturacion-filtro input {
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}


/* BOTONES */

.facturacion-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    transition: all 0.2s ease;
}

.facturacion-boton-buscar {
    background: var(--color-primary);
    color: #ffffff !important;
}

.facturacion-boton-buscar:hover {
    background: var(--color-primary-hover);
    color: #ffffff !important;
}


.facturacion-boton-excel {
    background: #2e7d32;
    color: #ffffff !important;
}

.facturacion-boton-excel:hover {
    background: #1b5e20;
    color: #ffffff !important;
}

/* TABLA */

.facturacion-tabla-wrapper {
    overflow-x: auto;
}

.facturacion-tabla {
    width: 100%;
	table-layout: fixed;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.facturacion-tabla th {
    padding: 12px 14px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    background: #f5f5f5;
}

.facturacion-tabla td {
    padding: 12px 14px;
    font-size: 0.9rem;
    border-top: 1px solid #eeeeee;
	overflow-wrap: break-word;
}

.facturacion-tabla tbody tr:hover {
    background: #fafafa;
}


/* TOTAL */

.facturacion-total {
    white-space: nowrap;
}


/* NOMBRE PDF */

.facturacion-pdf {
    font-family: monospace;
    font-size: 0.85rem;
    white-space: nowrap;
}


/* MENSAJE SIN RESULTADOS */

.facturacion-sin-resultados {
    padding: 1.5rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}


/* ============================
   SUBIDA DE FACTURAS
   ============================ */

.facturacion-subida {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.facturacion-subida h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.facturacion-subida form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.facturacion-boton-subir {
    background: #6b7280;
    color: #ffffff !important;
}

.facturacion-boton-subir:hover {
    background: #4b5563;
}

/* =========================
   RESULTADOS FACTURACIÓN
========================= */

.facturacion-resultados {
    margin-top: 2rem;
}

.facturacion-resumen {
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

.facturacion-resumen h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.facturacion-resumen p {
    margin: 0;
}

.facturacion-resumen-ok {
    border-left: 4px solid #2e7d32;
}

.facturacion-resumen-error {
    border-left: 4px solid #d60000;
}

.facturacion-listado {
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.facturacion-listado h3 {
    margin: 0;
    padding: 1rem 1.5rem;
    background: #f5f5f5;
    font-size: 1rem;
}

.facturacion-resultado {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0.9rem 1.5rem;
    border-top: 1px solid #eeeeee;
}

.facturacion-resultado-icono {
    flex-shrink: 0;
    font-size: 1rem;
}

.facturacion-resultado-info {
    min-width: 0;
}

.facturacion-resultado-archivo {
    font-family: monospace;
    font-size: 0.9rem;
    overflow-wrap: break-word;
}

.facturacion-resultado-mensaje {
    margin-top: 3px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.facturacion-resultado-ok .facturacion-resultado-icono {
    color: #2e7d32;
}

.facturacion-resultado-error .facturacion-resultado-icono {
    color: #d60000;
}



/* ==========================================
   PAGO EVENTO
========================================== */

.pago-evento-wrapper {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    box-sizing: border-box;
}

/* Tarjeta */

.pago-evento-card {
    background: #ffffff !important;
    border-radius: 12px;
    padding: 2rem 2.25rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

/* ==========================================
   TÍTULO
========================================== */

.pago-evento-titulo {
    margin: 0 0 2rem !important;
    padding: 0 !important;
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
}

/* ==========================================
   DATOS
========================================== */

.pago-evento-dato {
    margin-bottom: 1.5rem;
    padding: 1rem 1.1rem;
    background: #f7f9f9;
    border-radius: 8px;
    box-sizing: border-box;
}

.pago-evento-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
    line-height: 1.3;
    color: #6b7280;
}

.pago-evento-valor {
    display: block;
    font-size: 1.05rem;
    line-height: 1.4;
    font-weight: 600;
    color: #1f2937;
}

.pago-evento-importe {
    display: block;
    font-size: 1.4rem;
    line-height: 1.4;
    font-weight: 700;
    color: #1f6f64;
}

/* ==========================================
   MENSAJE
========================================== */

.pago-evento-mensaje {
    margin: 1.5rem 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
}

/* ==========================================
   ACCIONES
========================================== */

.pago-evento-acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

/* ==========================================
   BOTONES
========================================== */

.pago-evento-boton {
    display: inline-block !important;
    width: auto;
    padding: 10px 18px !important;
    border: none !important;
    border-radius: 6px !important;

    background: #1f6f64 !important;
    color: #ffffff !important;

    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-align: center;
    text-decoration: none !important;

    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.pago-evento-boton:hover {
    background: #145047 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

/* Botón secundario */

.pago-evento-boton-secundario {
    background: #4b5563 !important;
}

.pago-evento-boton-secundario:hover {
    background: #374151 !important;
}

/* ==========================================
   FORMULARIO
========================================== */

.pago-evento-form {
    margin-top: 2rem;
}

.pago-evento-form .pago-evento-boton {
    width: auto;
}

/* ==========================================
   ESTADOS
========================================== */

.pago-evento-exito {
    border-top: 4px solid #2e7d32;
}

.pago-evento-confirmando {
    border-top: 4px solid #d97706;
}

.pago-evento-cancelado {
    border-top: 4px solid #dc2626;
}

.pago-evento-ya-pagado {
    border-top: 4px solid #1f6f64;
}

/* ==========================================
   MÓVIL
========================================== */

@media (max-width: 600px) {

    .pago-evento-wrapper {
        padding: 2rem 1rem;
    }

    .pago-evento-card {
        padding: 1.5rem;
    }

    .pago-evento-titulo {
        font-size: 1.5rem !important;
    }

    .pago-evento-acciones {
        flex-direction: column;
    }

    .pago-evento-acciones .pago-evento-boton {
        width: 100%;
        box-sizing: border-box;
    }

    .pago-evento-form .pago-evento-boton {
        width: 100%;
        box-sizing: border-box;
    }
}


/*Tamaño enlace menu cabecera*/
@media (min-width: 922px) {
    .main-header-menu > .menu-item > .menu-link {
        height: 95px;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }
}