/*
D8F40 2 VERDE
112CE 6 BLU
2c3e5 0 GRIGIO SCURO
ffc85 7 OCRA
0a193 0 Navy
*/



body, .elementor-kit-6{background-color:#0a1930 !important;}

body, html {
    height: 100% !important;
}

.page-template {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.elementor-footer {
    margin-top: auto; /* Spinge il footer in fondo */
}

body, .elementor-kit-6, .elementor{
	background-color:#0a1930 !important;
	text-color:#FFFFFF;
}


body .museeker-eventi .evento h3 {
    margin: 0 0 5px;
	color:#ffc857 !important;
}
body .museeker-eventi .evento p {
    font-size: 14px;
    line-height: 1.4;
	color:#FFFFFF !important;
}

a{
	color:#FFC857;
}

.header{
	background-color:#0a1930 !important;
}

.elementor-nav-menu li a{
	color:#ffc857 !important;
}


p {
    line-height: 16px;
    margin-bottom: 10px;
    font-size: 15px;
}


#museeker-map{
	height:400px;
}


.museeker-eventi {
    margin: 20px 0;
}
.museeker-eventi .evento {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}
.museeker-eventi .evento h3 {
    margin: 0 0 5px;
}





.event_list li a {
    color: #ffc857;
    font-weight: 300;
}

.event_list li a:hover {
    color: #ffc857;
    font-weight: 300;
	text-decoration:none;
}



.event_list  li{
	color:#FFFFFF;
	width:25%;
border-top: 1px solid rgba(255,255,255,0.65);
    border-left: 1px solid rgba(255,255,255,0.65);
    border-radius: 16px;
    padding: 50px 25px;
    background: rgba(255,255,255,0.2);
    box-shadow: 0 4px 30px rgba(255, 255,0,0.1);
    backdrop-filter: blur(5px);
	display:inline-grid;
	margin:1%;
	list-style-type:none;
	
}


/* Lista eventi come grid (home + eventi correlati) */
#museeker-event-list,
.eventi-correlati-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.evento-card {
    /* Regole base - vedi sotto per unified hero style */
}

.evento-card .evento-title {
    color: #ffc857;
    font-weight: 300;
}




.evento-item h3{
	height:55px;
}



/*FORM ricerca home*/

[type=submit] {
 border:1px solid #ffc857 !important;
	color:#ffc857 !important;
}

[type=submit]:hover {
    background-color:#0a1930 !important;
	color:#ffc857 !important;
	
}


i.fa-brands.fa-searchengin {
    margin-left: 10px;
    font-size: 25px;
}

.museeker-search{margin:0 auto; width:95%;}

.museeker-search input, .museeker-search select {
	border: 1px solid #ffc857 !important;
    padding: .5rem 1rem;
    transition: all .3s;
    background-color: #0d0d0d ;
    color: #ffc857 ;
    width: 24%  !important;
    float: left  !important;
    height: 45px  !important;
    margin-right: 1%  !important;
    border-radius: 15px  !important;
}


#museeker-search-form .button-form {
  display: none; /* nascosto di default */
}


.button-form{
	width:100%;
	display:inline-flex;
	justify-content: center;
	margin-top:15px;
}

#toggle-search{
	width:100%;
	display:inline-flex;
	justify-content: center;
	margin-top:15px;
	background-color:#FFc857;
	color:#0a1930;
	border:0px solid;
	border-radius:0px;
}


span.select2-selection.select2-selection--multiple {
    height: 45px;
    border-radius: 15px;
    padding: 8px;
    background-color: #0d0d0d;
    color: #FFC857 !important;
    border: 1px solid #FFE875 !important;
	
}

span.select2.select2-container.select2-container--default {
    width: 23% !important;
}

.select2-results__option--selectable {
    color: #FFC857;
    background-color: #0a1930;
}

li.select2-selection__choice {
    background-color: #FFC857 !important;
    color: #0a1930;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice{
	border:1px solid #0a1930 !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable, .select2-container--default .select2-results__option--selected{
	background-color:#FFC857 !important;
	color:#0a1930 !important;
}



.event-form-publish label{width:100%;}

.event-form-publish input, .event-form-publish select {
	border: 1px solid #ffc857 !important;
    padding: .5rem 1rem;
    transition: all .3s;
    background-color: #0d0d0d ;
    color: #ffc857 ;
    width: 100%  !important;
    float: left  !important;
    height: 45px  !important;
    margin-right: 1%  !important;
    border-radius: 15px  !important;
	
}







.event-form-publish  div {
    font-size: 14px;
    line-height: 16px;
}


#edit_address_btn{
	color:#FFC857;
	border:1px solid #FFC857;
}

#edit_address_btn:hover{
	color:#0a1930;
	border:1px solid #0a1930;
	background-color:#FFc857;
}


/* TABLET */
@media screen and (min-width: 769px) and (max-width: 1024px) {
	#museeker-event-list,
	.eventi-correlati-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

/* DESKTOP */
@media screen and (min-width: 1025px) {
	#museeker-event-list,
	.eventi-correlati-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 20px;
	}
}

/* MOBILE */
@media screen and (max-width: 768px) {

#museeker-map{
	height:250px !important;
}


.event_list  li{
	color:#FFFFFF;
	width:100%;
margin:0px;
margin-bottom:20px;
	margin-left:-20px;
}

/* Mobile: card full width già gestito da grid */

.event-first-row{
	height: 180px;
}

.event-date {
	/* Già posizionato absolute, mantieni */
}

.event-title-wrapper h3 {
	font-size: 16px;
}

.event-address-row p {
	font-size: 13px;
}

.event-second-row{
	padding: 10px 15px;
}

.event-second-row > div:first-child {
	font-size: 12px;
}

.museeker-search{margin:0 auto; width:95%;}

.museeker-search input, .museeker-search select {
    border: 1px solid #666;
    border-radius: 3px;
    padding: .5rem 1rem;
    transition: all .3s;
    width: 48% !important;
	margin-bottom:10px;
}




span.select2.select2-container.select2-container--default {
    width: 48% !important;
}


.event-form-publish input, .event-form-publish select {
	border: 1px solid #ffc857 !important;
    padding: .5rem 1rem;
    transition: all .3s;
    background-color: #0d0d0d ;
    color: #ffc857 ;
    width: 100%  !important;
    float: left  !important;
    height: 45px  !important;
    margin-right: 1%  !important;
    border-radius: 15px  !important;
	
}



} /* FINE MOBILE*/

.evento-image{
	width: 100%;
    height: 150px;
    overflow: hidden;
    margin-top: -25px;
    border-radius: 15px 15px 15px 15px;
}



/* JOYSTIC GOOLE*/
.gm-svpc { 
    display: none !important; 
}


/*NEW CARD - MODERN REDESIGN - UNIFIED HERO STYLE*/

.evento-card{
	position: relative; /* necessario per posizionare il badge "in corso" */
	padding: 0;
	background: #ffffff;
	border: none;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	min-height: auto;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	cursor: pointer;
}

.evento-card::before {
	content: none;
}

.evento-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 16px rgba(0,0,0,0.15);
	border-color: transparent;
}

/* Link wrapper per rendere tutta la card cliccabile */
.evento-card-link-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	text-decoration: none;
}

/* Link interni (badge) sopra il wrapper */
.evento-card a:not(.evento-card-link-wrapper) {
	position: relative;
	z-index: 2;
}

/* Card header con foto background (hero style) */
.event-first-row{
	position: relative;
	width: 100%;
	height: 200px;
	margin-bottom: 0;
	background-size: cover;
	background-position: center;
	background-color: #0a1930;
	order: -2; /* Metti la foto in alto */
}

.event-date {
	position: absolute;
	top: 15px;
	left: 15px;
	background: rgba(255, 200, 87, 0.95);
	width: auto;
	min-width: auto;
	text-align: center;
	border-radius: 8px;
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: #0a1930;
	height: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 10px 15px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
	transition: all 0.3s ease;
	flex-shrink: 0;
	z-index: 2;
}

.evento-card:hover .event-date {
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.event-date a {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
}

.event-date .event-day{
	font-size: 24px;
	font-weight: 700;
	color: #0a1930;
	line-height: 1.2;
	margin-bottom: 0;
}

.event-date .event-month{
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #0a1930 !important;
}

.event-date .event-weekday{
	font-weight: 600;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #0a1930 !important;
	margin-bottom: 0;
}

.event-title-wrapper {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 15px;
	background: linear-gradient(to top, rgba(10, 25, 48, 0.9), transparent);
	z-index: 1;
}

.event-title-wrapper h3{
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 18px;
	margin: 0;
	color: #ffffff;
	font-weight: 700;
	line-height: 1.3;
	transition: color 0.3s ease;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.event-title-wrapper p {
	margin: 5px 0 0 0;
	font-size: 13px;
	color: #FFC857 !important;
}

.evento-card:hover .event-title-wrapper h3 {
	color: #FFC857;
}

.event-address-row {
	width: 100%;
	padding: 10px 15px;
	margin-bottom: 0;
	border-bottom: none;
	order: -1;
	background: #f9f9f9;
}

.event-address-row p {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: #666;
	margin: 0;
}

/* Mantieni event-details per compatibilità con altre pagine */
.event-details {
	flex: 1;
	min-width: 0;
}

.event-details p{
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
}

.event-details h3{
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 20px;
	margin: 0 0 12px 0;
	color: #ffc857;
	font-weight: 600;
	line-height: 1.3;
	transition: color 0.3s ease;
}

.evento-card:hover .event-details h3 {
	color: #ffd270;
}

.event-second-row{
	display: block;
	padding: 15px;
	margin-top: 0;
}

.event-second-row > div:first-child {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 13px;
	line-height: 1.8;
	color: #666;
}

/* Nascondi l'immagine piccola - ora usiamo background */
.event-second-row .evento-image {
	display: none !important;
}

/* Container for badges and details button */
.event-record > div:last-child {
	padding: 15px;
	text-align: center;
}

a.evento-details {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 15px;
	padding: 10px 20px;
	background: linear-gradient(135deg, #FFC857 0%, #FFD574 100%);
	border: none;
	border-radius: 50px;
	color: #0a1930;
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(255, 200, 87, 0.3);
}

a.evento-details:hover {
	background: linear-gradient(135deg, #FFD574 0%, #FFC857 100%);
	border-color: transparent;
	transform: translateY(-2px);
	color: #0a1930;
	box-shadow: 0 4px 12px rgba(255, 200, 87, 0.5);
}

a.evento-details i {
	transition: transform 0.3s ease;
}

a.evento-details:hover i {
	transform: scale(1.2);
}

/* Eventi passati - bordo rosso */
.evento-card.evento-passato {
	border-color: rgba(239, 68, 68, 0.5);
	opacity: 0.7;
	position: relative;
}

.evento-card.evento-passato:hover {
	border-color: #ef4444;
	box-shadow: 0 12px 40px rgba(239, 68, 68, 0.25);
	opacity: 0.85;
}

.evento-card.evento-passato::before {
	background: linear-gradient(90deg, #ef4444, #dc2626);
}

/* Badge evento passato in alto a destra */
.evento-passato-badge {
	position: absolute;
	top: 15px;
	right: 15px;
	background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
	color: white;
	padding: 8px 16px;
	border-radius: 25px;
	font-size: 13px;
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
	z-index: 2;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Badge Evento In Corso */
.evento-in-corso-badge {
	position: absolute;
	top: 15px;
	right: 15px;
	background: linear-gradient(135deg, #ff4500 0%, #ff6347 100%);
	color: white;
	padding: 8px 16px;
	border-radius: 25px;
	font-size: 13px;
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(255, 69, 0, 0.5);
	z-index: 2;
	letter-spacing: 0.5px;
	animation: pulse-glow 2s ease-in-out infinite;
}

/* Animazione pulsante per badge In Corso */
@keyframes pulse-glow {
	0%, 100% {
		box-shadow: 0 4px 12px rgba(255, 69, 0, 0.5);
		transform: scale(1);
	}
	50% {
		box-shadow: 0 6px 20px rgba(255, 69, 0, 0.8);
		transform: scale(1.02);
	}
}

/* Filtro grayscale sull'immagine di background */
.evento-card.evento-passato .event-first-row {
	filter: grayscale(60%);
}

.evento-card.evento-passato:hover .event-first-row {
	filter: grayscale(40%);
}

/* Filtro grayscale sull'immagine thumbnail */
.evento-card.evento-passato .evento-image img {
	filter: grayscale(60%);
}

.evento-card.evento-passato:hover .evento-image img {
	filter: grayscale(40%);
}

.evento-image {
    width: 25%;
    height: 105px;
    overflow: hidden;
    margin-top: -25px;
    border-radius: 15px 15px 15px 15px;
    float: right;
}

.evento-icons{
	margin:0 auto !important;
    bottom: -40px;
}

.evento-icons a {
    background-color: #0a1930;
}

.evento-icons a:hover .evento-icons a:hover {
 background-color:ffc857;
	color: #0a1930 !important;
}


/*EVENTO SINGOLO - MODERN REDESIGN*/

/* Immagine evento con effetti */
.single-event-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    position: relative;
}

.single-event-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 25, 48, 0.3) 100%);
    pointer-events: none;
}

.single-event-image img {
    transition: transform 0.3s ease;
}

.single-event-image:hover img {
    transform: scale(1.05);
}

/* Titolo evento */
.elementor-widget-theme-post-title h2 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #0a1930 !important;
    margin-bottom: 15px !important;
    text-shadow: 0 2px 8px rgba(10, 25, 48, 0.2);
}

/* Link musicista/gruppo */
.elementor-widget-shortcode a {
   /* color: #FFC857 !important; */
}

/* Info boxes con glassmorphism */
.elementor-widget-icon-list,
.elementor-widget-post-info {
    background: linear-gradient(135deg, rgba(13, 35, 66, 0.6), rgba(10, 25, 48, 0.6));
    border: 2px solid rgba(255, 200, 87, 0.2);
    border-radius: 12px;
    padding: 20px !important;
    margin: 8px 0 !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.elementor-widget-icon-list:hover,
.elementor-widget-post-info:hover {
    border-color: rgba(255, 200, 87, 0.4);
    box-shadow: 0 6px 20px rgba(255, 200, 87, 0.15);
    transform: translateY(-2px);
}

.elementor-icon-list-item,
.elementor-post-info__item {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 8px 0 !important;
}

.elementor-icon-list-icon svg,
.elementor-post-info .elementor-icon-list-icon svg {
    fill: #ffc857 !important;
    filter: drop-shadow(0 2px 4px rgba(255, 200, 87, 0.3));
    margin-right: 12px !important;
}

span.elementor-icon-list-text a {
    color: #ffc857;
    text-decoration: underline;
    text-decoration-color: rgba(255, 200, 87, 0.5);
    transition: all 0.3s ease;
}

span.elementor-icon-list-text a:hover {
    color: #ffd270;
    text-decoration-color: #ffc857;
}

/* Badge per generi/tipologie */
.elementor-post-info__terms-list-item {
    display: inline-block;
    background: rgba(255, 200, 87, 0.15);
    border: 1px solid rgba(255, 200, 87, 0.3);
    border-radius: 20px;
    padding: 4px 12px;
    margin: 4px;
    font-size: 13px !important;
    font-weight: 600;
    color: #ffc857 !important;
    transition: all 0.3s ease;
}

.elementor-post-info__terms-list-item:hover {
    background: rgba(255, 200, 87, 0.25);
    border-color: #ffc857;
    transform: scale(1.05);
}

/* Nascondi virgole tra i badge */
.elementor-post-info__terms-list-item::after {
    content: none !important;
}

.elementor-post-info__terms-list {
    font-size: 0; /* Rimuove spazi tra inline-block */
}

.elementor-post-info__terms-list-item {
    font-size: 13px !important; /* Ripristina font-size per i badge */
}

/* Mappa evento */
#map_evento_2246,
div[id^="map_evento_"] {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 200, 87, 0.2);
    margin: 30px 0;
}

/* Link mappa */
a[name="map-event"] {
    display: block;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffc857;
    text-align: center;
    margin: 20px 0 15px;
    padding: 12px;
    background: rgba(255, 200, 87, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

a[name="map-event"]:hover {
    background: rgba(255, 200, 87, 0.2);
}

/* Nascondi titolo "Informazioni Evento" negli eventi singoli */
.evento-info-title,
h3.evento-info-title,
.evento-info-dettagli-box .evento-info-title,
.evento-info-dettagli-box h3.evento-info-title {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}


.select2-container--default .select2-search--inline .select2-search__field{
	color:#FFC857 !important;
}


#load-more-btn{
	background-color:#FFC857;
	color:#0a1930;
	border:1px solid #FFC857;
	border-radius:15px;
}

#load-more-btn:hover{
	background-color:#0a1930;
	color:#FFC857;
	border:1px solid #FFC857;
}


/* TEXTAREA EVENTO SINGOLO*/


/* ========================================
   FORM LOGIN BRANDIZZATO
   ======================================== */

#museeker_loginform {
    max-width: 450px;
    margin: 40px auto;
    padding: 40px 35px;
    background-color: #333333;
    border: 1px solid rgba(255, 200, 87, 0.65);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(255, 200, 87, 0.1);
    backdrop-filter: blur(5px);
}

#museeker_loginform p {
    margin-bottom: 20px;
}

#museeker_loginform label {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 400;
    display: block;
    margin-bottom: 8px;
}

#museeker_loginform input[type="text"],
#museeker_loginform input[type="password"] {
    width: 100% !important;
    padding: 12px 15px !important;
    background-color: #0d0d0d !important;
    border: 1px solid #FFC857 !important;
    border-radius: 15px !important;
    color: #FFC857 !important;
    font-size: 15px;
    transition: all 0.3s ease;
    height: 45px !important;
}

#museeker_loginform input[type="text"]:focus,
#museeker_loginform input[type="password"]:focus {
    outline: none;
    border-color: #FFE875 !important;
    box-shadow: 0 0 8px rgba(255, 200, 87, 0.3);
}

#museeker_loginform input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #FFC857;
}

#museeker_loginform input[type="submit"] {
    width: 100% !important;
    padding: 12px !important;
    background-color: #FFC857 !important;
    color: #0a1930 !important;
    border: 1px solid #FFC857 !important;
    border-radius: 15px !important;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: auto !important;
}

#museeker_loginform input[type="submit"]:hover {
    background-color: #0a1930 !important;
    color: #FFC857 !important;
    border: 1px solid #FFC857 !important;
}

#museeker_loginform a {
    color: #FFC857 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

#museeker_loginform a:hover {
    color: #FFE875 !important;
    text-decoration: underline;
}

#togglePassword {
    color: #FFC857;
    opacity: 0.8;
}

#togglePassword:hover {
    opacity: 1;
}

/* Messaggio errore login */
#museeker_loginform + div[style*="color:red"],
div[style*="color:red"] {
    background-color: #ff6b6b;
    color: white !important;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

/* Responsive login form */
@media screen and (max-width: 768px) {
    #museeker_loginform {
        max-width: 90%;
        padding: 30px 20px;
    }
}


/* ========================================
   FORM REGISTRAZIONE BRANDIZZATO
   ======================================== */

.museeker-register-form {
    max-width: 500px;
    margin: 40px auto;
    padding: 40px 35px;
    background-color: #333333;
    border: 1px solid rgba(255, 200, 87, 0.65);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(255, 200, 87, 0.1);
    backdrop-filter: blur(5px);
}

.museeker-register-form h3 {
    color: #FFC857;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
}

.museeker-register-form h4 {
    color: #FFC857 !important;
    font-size: 18px;
}

.museeker-register-form label {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 400;
    display: block;
    margin-bottom: 8px;
}

.museeker-register-form input[type="text"],
.museeker-register-form input[type="email"],
.museeker-register-form input[type="password"] {
    width: 100% !important;
    padding: 12px 15px !important;
    background-color: #0d0d0d !important;
    border: 1px solid #FFC857 !important;
    border-radius: 15px !important;
    color: #FFC857 !important;
    font-size: 15px;
    transition: all 0.3s ease;
    height: 45px !important;
    box-sizing: border-box;
}

.museeker-register-form input[type="text"]:focus,
.museeker-register-form input[type="email"]:focus,
.museeker-register-form input[type="password"]:focus {
    outline: none;
    border-color: #FFE875 !important;
    box-shadow: 0 0 8px rgba(255, 200, 87, 0.3);
}

.museeker-register-form input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #FFC857;
}

.museeker-register-form input[type="radio"] {
    accent-color: #FFC857;
}

.museeker-register-form input[type="submit"] {
    width: 100% !important;
    padding: 12px !important;
    background-color: #FFC857 !important;
    color: #0a1930 !important;
    border: 1px solid #FFC857 !important;
    border-radius: 15px !important;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: auto !important;
}

.museeker-register-form input[type="submit"]:hover {
    background-color: #0a1930 !important;
    color: #FFC857 !important;
    border: 1px solid #FFC857 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 200, 87, 0.3);
}

/* Password strength indicator */
.password-strength {
    font-size: 13px;
    font-weight: 500;
}

/* Toggle password button */
.toggle-password {
    color: #FFC857 !important;
    background: none !important;
    border: none !important;
    opacity: 0.8;
}

.toggle-password:hover {
    opacity: 1 !important;
}

/* reCAPTCHA container - FIX VISIBILITÀ */
.museeker-register-form .g-recaptcha,
.g-recaptcha {
    margin: 20px 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 999 !important;
    min-height: 78px !important;
}

/* Username field toggle */
.username-field {
    margin-top: 10px;
}

/* Messaggi di errore/successo */
.museeker-register-form + p[style*="color:red"],
p[style*="background-color:red"] {
    background-color: #ff6b6b !important;
    color: white !important;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

p[style*="background-color:green"] {
    background-color: #51cf66 !important;
    color: white !important;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

/* Responsive form registrazione */
@media screen and (max-width: 768px) {
    .museeker-register-form {
        max-width: 90%;
        padding: 30px 20px;
    }
}


/* ========================================
   PULSANTI AZIONI EVENTO - MODERN REDESIGN
   ======================================== */

.evento-actions-single {
    background: linear-gradient(135deg, rgba(13, 35, 66, 0.6), rgba(10, 25, 48, 0.6));
    border: 2px solid rgba(255, 200, 87, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.evento-actions-single .evento-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.evento-actions-single .evento-icons a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    background: linear-gradient(135deg, rgba(255, 200, 87, 0.1), rgba(255, 200, 87, 0.05));
    border: 2px solid rgba(255, 200, 87, 0.3);
    border-radius: 12px;
    text-decoration: none;
    color: #FFC857;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    min-width: 70px;
}

.evento-actions-single .evento-icons a:hover {
    background: linear-gradient(135deg, #ffc857, #ffb020);
    border-color: #ffc857;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 200, 87, 0.4);
}

.evento-actions-single .evento-icons a:hover i {
    color: #0a1930;
}

.evento-actions-single .evento-icons i {
    font-size: 20px;
    color: #FFC857;
    background: transparent;
    border: none;
    width: auto;
    height: auto;
    transition: all 0.3s ease;
}

.evento-actions-single .evento-icons span {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #FFC857;
    text-align: center;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.evento-actions-single .evento-icons a:hover span {
    color: #0a1930;
}

/* Mobile: layout orizzontale incolonnato */
@media (max-width: 768px) {
    .evento-actions-single .evento-icons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }

    .evento-actions-single .evento-icons a {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        padding: 14px 16px;
        gap: 15px;
    }

    .evento-actions-single .evento-icons i {
        font-size: 20px;
        flex-shrink: 0;
        width: 24px;
        text-align: center;
    }

    .evento-actions-single .evento-icons span {
        font-size: 14px;
        text-align: left;
        flex: 1;
    }
}

/* Tooltip desktop disabilitato - label sempre visibile */
@media (min-width: 769px) {
    .evento-actions-single .evento-icons a::after,
    .evento-actions-single .evento-icons a::before {
        display: none;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .evento-actions-single .evento-icons a {
        width: 44px;
        height: 44px;
    }

    .evento-actions-single .evento-icons i {
        font-size: 18px;
    }
}


/* ========================================
   SISTEMA PARTECIPAZIONI EVENTI
   Styling allineato al sistema following
   ======================================== */

/* Container partecipazioni */
.museeker-partecipa-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Bottone partecipa - colori istituzionali giallo */
.museeker-partecipa-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 20px !important;
    background: linear-gradient(135deg, #FFC857 0%, #FFD574 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    color: #0a1930 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(255, 200, 87, 0.3) !important;
    text-decoration: none !important;
    position: relative;
    z-index: 2;
}

.museeker-partecipa-btn:hover {
    background: linear-gradient(135deg, #FFD574 0%, #FFC857 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 200, 87, 0.5) !important;
    color: #0a1930 !important;
}

.museeker-partecipa-btn svg {
    width: 18px;
    height: 18px;
    stroke: #0a1930;
    flex-shrink: 0;
}

/* Stato participating (giallo più scuro) */
.museeker-partecipa-btn.participating {
    background: linear-gradient(135deg, #e6b84d 0%, #d4a644 100%) !important;
}

.museeker-partecipa-btn.participating:hover {
    background: linear-gradient(135deg, #d4a644 0%, #c29639 100%) !important;
}

/* Bottone guest con tooltip */
.museeker-partecipa-btn.partecipa-guest {
    background: linear-gradient(135deg, rgba(255, 200, 87, 0.3) 0%, rgba(255, 213, 116, 0.3) 100%) !important;
    border: 2px solid rgba(255, 200, 87, 0.5) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    cursor: not-allowed !important;
}

.museeker-partecipa-btn.partecipa-guest:hover {
    background: linear-gradient(135deg, rgba(255, 200, 87, 0.4) 0%, rgba(255, 213, 116, 0.4) 100%) !important;
    transform: translateY(0) !important;
}

/* Tooltip wrapper */
.partecipa-tooltip-wrapper {
    position: relative;
    display: inline-block;
}

/* Tooltip login per guest - stile matching follower */
.partecipa-tooltip {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background: #0a1930 !important;
    color: white !important;
    padding: 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
    z-index: 1000 !important;
    min-width: 280px;
    max-width: 320px;
    text-align: center;
    border: 2px solid rgba(40, 167, 69, 0.3) !important;
    animation: tooltipFadeIn 0.3s ease;
}

.partecipa-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-bottom-color: #0a1930;
}

.partecipa-tooltip p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: white !important;
}

.partecipa-tooltip strong {
    color: #FFC857;
    font-size: 16px;
}

.tooltip-login-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #FFC857 0%, #FFD574 100%);
    color: #0a1930 !important;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tooltip-login-btn:hover {
    background: linear-gradient(135deg, #FFD574 0%, #FFC857 100%);
    transform: scale(1.05);
    color: #0a1930 !important;
}

/* Contatore partecipanti */
.partecipanti-count {
    font-size: 14px;
    color: #999;
    white-space: nowrap;
}

.partecipanti-count strong {
    color: #FFC857;
    font-weight: 700;
}

.partecipanti-count-clickable {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.partecipanti-count-clickable:hover {
    color: #FFC857;
}

.partecipanti-count-clickable:hover strong {
    text-decoration: underline;
}

/* Modal partecipanti - stile Instagram matching follower */
.museeker-partecipanti-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    justify-content: center;
    align-items: center;
}

.partecipanti-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.partecipanti-modal-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 450px;
    max-height: 70vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.partecipanti-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.partecipanti-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0a1930;
}

.partecipanti-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.partecipanti-modal-close:hover {
    color: #0a1930;
    transform: scale(1.1);
}

.partecipanti-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

/* Loading state */
.partecipanti-list-loading {
    text-align: center;
    padding: 40px 20px;
}

.partecipanti-list-loading p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

/* Singolo partecipante item - stile Instagram */
.partecipante-modal-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    margin-bottom: 8px;
}

.partecipante-modal-item:hover {
    background: #f5f5f5;
}

.partecipante-modal-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #FFC857;
}

.partecipante-modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partecipante-modal-info {
    flex: 1;
    min-width: 0;
}

.partecipante-modal-name {
    font-weight: 600;
    font-size: 15px;
    color: #0a1930;
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.partecipante-modal-date {
    font-size: 13px;
    color: #999;
    margin: 0;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .partecipanti-modal-content {
        width: 95%;
        max-height: 80vh;
    }

    .partecipa-tooltip {
        min-width: 260px;
        max-width: 90vw;
        left: 0;
        right: 0;
        margin: 0 auto;
        transform: none;
    }

    .partecipa-tooltip::before {
        left: 50%;
    }

    .museeker-partecipa-btn {
        font-size: 13px !important;
        padding: 8px 16px !important;
    }

    .partecipanti-count {
        font-size: 13px;
    }
}

/* ================================================
   CookieYes - Banner compatto (solo testi e bottoni)
   ================================================ */
.cky-banner-element {
    padding: 10px 14px !important;
}

.cky-title {
    font-size: 13px !important;
    margin-bottom: 4px !important;
}

.cky-notice-des,
.cky-banner-desc {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
}

.cky-btn {
    font-size: 11.5px !important;
    padding: 6px 14px !important;
    min-height: 0 !important;
    border-radius: 5px !important;
}

.cky-footer-shadow {
    padding: 8px 14px !important;
}

@media (max-width: 768px) {
    .cky-notice-des,
    .cky-banner-desc {
        font-size: 11px !important;
    }
}

/* ================================================
   Fix: elementor-align-end non deve allineare a destra
   i widget fuori dal banner CookieYes
   ================================================ */
.elementor-widget.elementor-align-end .elementor-icon-list-item,
.elementor-widget.elementor-align-end .elementor-icon-list-item a {
    justify-content: flex-start;
    text-align: left;
}

