
/* ===============================
   POPUP STYLE
   =============================== */

.util_popup {
  position: fixed;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #ffffff;
  color: #333;
  width: 500px;
  max-width: 90vw;
  border-radius: 12px;
  box-shadow: 0 10px 15px rgba(0, 0, 10, 0.6);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  max-height: 50vh;
  background: var(--base-c2);
}

#help {
	width: 1500px;
	max-height: 80vh;
}

#help > .util_text_section_popup {
	max-height: 63vh;
	font-size: 1.5rem;
}

/* Stato visibile */
.util_popup.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

/* Header */
.util_popup_header {
  background:#FC7300;
  color: white;
  font-weight: 600;
  padding: 12px 16px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  display: flex;
  align-items: center;
  justify-content:right;
  height: 35px;
}

.util_text_section_popup {
	overflow-x: hidden;
    padding: 0 20px;
    color: #fff;
    max-height: 40vh;
	height: auto;
    box-sizing: border-box;
    overflow-y: auto;
	margin-bottom: 15px;
	margin-top: 15px;
	font-size: 1.5rem;
}

.util_text_section_popup p {
	margin-bottom: 1rem;
}

/* Bottone chiudi */
.util_close_popup {
  cursor: pointer;
  
}

.util_close_popup > img {
	width: 30px;
	height: 30px;
}




/* Animazioni */
@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.util_popup.active {
  animation: popupFadeIn 0.3s ease forwards;
}

/* Responsive */
@media (max-width: 500px) {
  .util_popup {
    width: 90%;
    font-size: 14px;
  }

  .util_popup_header {
    font-size: 16px;
    padding: 10px 14px;
  }

  .util_popup_content {
    padding: 15px;
  }
}



.container-fluid {
	padding-right: 0px !important;
	padding-left: 0px !important;
	background: #000;
	}

.row {
	margin-right: 0px !important;
	margin-left: 0px !important;
	}

.tutorial-dialog {
    position: absolute;
    border-radius: 10px;
    z-index: 1000;
    max-width: 220px;
    color: #FFF;
    background: #4e4e4e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
    padding: 15px;
    font-size: 14px;
    line-height: 1.4;
    display: block;
    transition: opacity 0.2s ease;
}

/* Container Layout */

.box-container {
  position: relative;
  width: 100%;
  height: 730px; 
  overflow: hidden;
  border-radius: 12px; 

}

.box-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/external_cms/SPORTBET/promo/desktop/sportbet_club/icons/lp_capure_desaturated.PNG'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.box-center-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 600px;
  padding: 40px;
  background: linear-gradient(195deg, #0C739C 20%, #060C23 100%);
  border-radius: 16px;
  text-align: center;
  color: white;
  z-index: 2;
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.8);
}

.box-center-content h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.box-center-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  opacity: 0.95;
}

.box-button {
  display: inline-block;
  padding: 14px 32px;
  background-color: #ec6728;
  color: #FFF;
  border: none;
  border-radius: 10px;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.box-button:hover {
  
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.box-button:active {
  transform: translateY(-1px);
}

.loyalty_info_wrapper {
	display: block;
	max-width: 1200px;
	background: linear-gradient(195deg, #0C739C 20%, #060C23 100%);
	border-radius: 25px;	
	position: relative;
	margin-top: 30px;
}

.info_wrapper {
	display: block;
	position: relative;
	width: 100%;
}

.info_wrapper > p {
	color: #fff;
	font-size: 1.5em;
	margin-bottom: 15px;
}

.info_wrapper > h1 {
	color: #fff;
	font-size: 2.5rem;
}


.container-avatar {
	display: flex;
    align-items: center;
    padding: 10px;
    gap: 20px;
    width: auto;
	position: relative;
}

.help_icon {
	position: absolute;
	top: 15px;
	right: 15px;
}

/* Avatar section (fixed width) */
.avatar-main {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar-main > img {
  width: 150px; 
  
  object-fit: cover;
  
}

/* Info section (fills the rest) */
.info-section {
  flex: 1;
  width:100%;
  padding: 5px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.info-section > div {
	color: #FFF;
	font-weight: 600;
	}

/* Progress bar styles */
.progress-barlp {
  position: relative;
  display: block;	
  height: 25px;
  background-color: transparent;
  border-radius: 10px;
  overflow: hidden;
  border: solid 2px #ec6728;
  flex: 1;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background-color: #ec6728;
  transition: width 0.5s ease;
}

/* label text */
.label {
  position: absolute; 
  font-weight: bold;
  color: #fff;
  font-size: 1.2rem;
  top: 3px;
  left: 30%;
  z-index: 10;
}

/* Smaller avatar progress bar */
.avatar-next img {
  width: 50px;
  
  object-fit: cover;
  

}

.currency-bar {
	position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    padding: 20px;
    gap: 10px;
	}
	
.currency-image {
		width: 50px;
		height: 50px
		}
.currency-counter {
		border-radius: 40px;
		font-size: 1.5rem;
		font-weight: 600;
		color: #fff;
		border: 2px solid #3E3E3E;
		padding: 2px 10px;
		min-width: 59px;
		background: #232323;
}		


.bottoni_livello_wrapper  {
	position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 1fr;
    gap: 10px;
    width: 100%;
	margin: 20px auto;
	background: linear-gradient(195deg, #0C739C 0%, #060C23 100%);
	height: 50px;
	border-radius: 15px;
}

.bottoni_livello {
	display: flex;
	font-size: 1.5rem;
	color: #FFF;
	border-radius: 15px;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0 5px;
}

.bottoni_livello.attivo {
	background-color: var(--speciale-c1);
	font-size: 2rem;
	
}

.inattivo {
	filter: grayscale(1);
}

.offer-section {
	display: block;
    position: relative;
    width: 100%;
    /*padding: 20px;*/
    /*grid-template-columns: auto auto;*/
    gap: 20px
	}

.promo-level {
	position: relative;
	display: none;
	flex-direction: row;
	width: 100%;
	margin-bottom: 10px;
	margin-bottom: 10px;
	/*background: #232323;*/
	border-radius: 20px;
}

.promo-level.attivo {
	display: grid;
}

.level-avatar {
	width: 100px;
	flex-shrink: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	display: none;
	
  }
  
.level-avatar img {
  width: 100px !important;
  height: 126px !important;
  object-fit: cover;

  
}



.offer-container {
	
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  
	
	}

.offerta-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 300px));
    align-items: stretch;     
    gap: 30px;
    padding: 10px;
    background: linear-gradient(195deg, #0C739C 0%, #060C23 100%);
    border-radius: 10px;
    width: 100%;
    margin-bottom: 40px;
    justify-content: center;
    position: relative;
    text-align: center;
	justify-items: center;
}

.offerta-box div, .offerta-box div span {
	
    display: flex;
    flex-direction: column;
	font-weight: 600;
	font-size: 1.5rem;
	color: #FFF;
	margin-right: 5px;
	text-align: center;
	}	


.icona-categoria {	
	display: block;
	vertical-align: middle;
    height: 25px;
    width: 25px;
	color: #a40da8;
	margin-right: 5px;
	filter: invert(1);
}

.icona-ruota {	
	display: block;
	vertical-align: middle;
    height: 25px;
    width: 25px;
	color: #a40da8;
	margin-right: 5px;
	
}



.card-image {
	display: block;
	vertical-align: middle;
    width: 150px;
	height: 150px;
	
}

.icona-categoria.nofilter {
	filter: none;
}

.icona-categoria.help {	
	
    height: 35px;
    width: 35px;
	
}

.info-element {
    position: absolute;
    right: 5px;
	top: 5px;
}


.cta-bottone {
	display: flex;
    align-items: center;     
    justify-content: center;  
    position: relative;
    border: 3px solid #ec6728;
    border-radius: 5px;
    width: auto;              
    height: auto;
    padding: 5px 15px 5px 40px; 
    color: #FFF !important;
    font-weight: 600;
    opacity: 0.8;
    cursor: pointer;
	margin-top: auto;
}

.cta-bottone.inattivo {
	filter: grayscale(1);
	cursor: not-allowed;
}

.cta-bottone::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 60%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background-image: url("/external_cms/SPORTBET/promo/desktop/sportbet_club/icons/KEY.svg");
    background-size: contain;
    background-repeat: no-repeat;
}


.cta-scrigno {
	display: block;
	background: #f8b638;
    border-radius: 5px;
	width: 50%;
    height: auto;
    padding: 5px;
    color: white !important;
    font-weight: 600;
	opacity: 0.4;
	align-items: center;
	text-align: center;
	cursor: pointer;
	margin: 20px auto 20px;
	justify-content: center;
}



.cta-countdown {
    padding: 20px;
    font-size: 1.5rem;
}

.cta-bottone.attivo {
	opacity: 1;
	}

.cta-scrigno.attivo {
	opacity: 1;
	}
	

.help-box-container {
	display: block;
}


	
.help-box > div {
		padding: 10px 5px;
		font-size: 1.5rem;
	}
.help-box img {
	display: inline;
    width: 65px;
    height: 65px;
}
	
.login-section {
		display: none;
		margin: auto;
		max-width: 1200px;
		padding: 10px;
		}
		
.livello-box {
	position: relative;
    display: grid;
    align-items: center;
    margin-bottom: 1rem;
    justify-content: start;
    grid-template-columns: auto auto;
    gap: 10px;
    padding: 20px;
}


.livello-box img {
	
    width: 65px;
    height: 65px;
}


.milestone {
    position: absolute;
    top: 18px;
    width: 5px;
    height: 25px;
    background-color: #3e3e3e;
    transition: background-color 0.3s;
  }

  .milestone.reached {
    background-color: #f8b638;
  }

  .progress-label {
    text-align: center;
    font-weight: bold;
    margin-top: 5px;
    color: #FFF;
  }
.milestone-wrapper {
 position: absolute;
  top: -20px; /* Solleva le etichette sopra la barra */
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none; /* Le etichette non devono bloccare i click */
}

.milestone-label {
  font-size: 16px;
  color: #fff;
  margin-top: 2px;
  position: relative;
  top: -5px;
  white-space: nowrap;
  left: -7px;
}
		
  #hunt-progress-bar {
	  border-radius: 5px;
  }  
  #hunt-progress-container {
  position: relative;
  width: 100%;
  height: 25px; /* o quanto ti serve */
  overflow: visible; /* Importante per far vedere le etichette */
}
  
  #huntCanvas { display: block; margin: auto auto; margin-bottom: 20px; height:400px; width: 400px; }
		
		
/*elementi ruota */

.wheelOfFortune {
  
  display: inline-block;
  position: relative;
  overflow: hidden;
  margin: 20px;
}

.wheel {
  display: block;
}

.spin {
  font: 1.2rem sans-serif;
  font-weight: 600;
  text-align: center;
  user-select: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30%;
  height: 30%;
  margin: -15%;
  background: #fff;
  color: #fff;
  box-shadow: 0 0 0 8px currentColor, 0 0px 15px 5px rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  transition: 0.8s;
}

.spin::after {
  content: '';
  position: absolute;
  top: -17px;
  border: 10px solid transparent;
  border-bottom-color: currentColor;
  border-top: none;
}

.util_popup.wheel {
	align-items: center;
    justify-content: center;
	width: auto;
	
	}
	
/*accordion */

.util_accordion_arrow {
	height: 1rem;
	transition: transform 0.3s ease;
}

.util_tandc_accordion {
	display: inline-flex;
    align-items: center;
	cursor: pointer;
}

.util_tandc_accordion.active .util_accordion_arrow {
    transform: rotate(90deg);
}

.util_promo_accordion_panel {
    display: none;
}

.util_promo_accordion_panel.active {
    display: block;
}

@media (max-width: 768px) {
	
	
	#help {
	max-height: 90vh;
	top: 49%;
	}

	#help > .util_text_section_popup {
	max-height: 79vh;
	font-size: 1.2rem;
}

.util_text_section_popup {
	font-size:1.2rem;
}
	
.help-box > div {
    
    font-size: 1.2rem;
}	
	
	
	
	.box-container {
  width: 100%;
  height: 89vh; 
  
}


.box-background {
  
  background-image: url('/external_cms/SPORTBET/promo/desktop/sportbet_club/icons/lp_capure_desaturated_mobile.PNG'); 
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.avatar-main {
	margin-bottom: 15px;
}


.offerta-box > div {
	font-size: 1.2rem;
}


.info_wrapper > p {
	font-size: 1.2rem;
}

.currency-counter {
	font-size: 1rem;
}

.label {
	font-size: 0.8rem;
}





.box-center-content h2 {
    font-size: 1.5rem;
    }
	
	
	
	.container-avatar {
		display: block;
	}
	
	.avatar-main img {
		width: 150px;
	}
	
	.avatar-next img {
		width: 30px;
	}
	
	.login-section {
		background-color: #060c23;
	}
	
	.bottoni_livello_wrapper {
		border-radius: 10px;
		padding: 10px;
	}
	
	.bottoni_livello {
		border-radius: 10px;
		font-size: 0.8rem;
	}
	.bottoni_livello.attivo {
		font-size: 1rem;
	}
}
