@charset "utf-8";
/* CSS Document */

/* ============================
	GENERALI
   ============================ */

:root {
	--primary: #1d1d1b;
	--secondary: #f7a600;
	--area: #333333;
	--wLight: "Continental Stag Sans";
	--wNormal: "Continental Stag Sans Book";
	--wBold: "Continental Stag Sans Med";
}

.secondary-text {
	color: var(--secondary) !important;
}

.wBold {
	font-family: var(--wBold);
}

.underline {
	background-color: var(--secondary);
}

body {
	font-family: var(--wLight), sans-serif;
	font-style: normal;
	font-size: 16px;
	color: var(--primary);
	/* background-image: url('../img/bg-yellow-big.jpg');
	background-size: cover;
	background-position: center;
	background-attachment: fixed; */
}
@media (min-width: 1921px) {
  body {
    max-width: 1920px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin-left: auto;
    margin-right: auto;
  }
  html {
    background-color: #fff; 
  }
}

main {
	background-color: white;
}

.row {
	margin-left:0px;
	margin-right:0px;
}

h1, h2, h3, h4, p, a, .contact {
	font-family: var(--wBold), sans-serif;
	font-style: normal;
	color: var(--primary);
}

p {
  	font-family: var(--wLight), sans-serif;
}

a {
  	text-decoration: underline;
}

a:hover, a:focus, a:active {
  	color: var(--primary);
}

.navbar-toggler:focus { /* rimuove l'ombra di selezione del bottone di Bootstrap */
  	box-shadow: 0 0 0 0px !important;
}

.button {
	color: var(--secondary);
	background: var(--primary);
	border: 0px solid transparent;
	outline: none;
	font-family: var(--wBold), sans-serif;
	font-size: 2.2rem;
	padding: .5rem 2.5rem;
	width: max-content;
	max-width: 350px;
	text-decoration: none;
	border-radius: 0px;
}

.button.area {
	color: white;
	background: var(--secondary);
}

.button.area:hover {
	color: var(--primary);
	background: white;
}

.button:hover {
	color: var(--primary);
	background: var(--secondary);
}

@media (max-width:375px) {
	.button {
		font-size: 1rem;
		padding: .5rem 1.8rem;
		max-width: 250px;
	}
}

#partecipa {
	background: var(--secondary);
}



.list {
	margin-bottom: 1rem;
	padding-left: 1rem;
}

.bigger {
  	font-size: 350%;
}

#come_partecipare ul {
  	list-style-image: url('../img/marker.png');
}

.dark-bg {
	background: var(--area);
}

.sfondo {
	background: url('../img/sfondo2.jpg');
	background-position: 50% 100%;
	background-size: cover;
}

.sfondo-banner {
	background: url('../img/sfondo3.jpg');
	background-position: 50% 100%;
	background-size: cover;
}

.sfondo-banner-dark {
	background: url('../img/sfondo3_dark.jpg');
	background-position: 50% 100%;
	background-size: cover;
}

img[src="assets/img/title.png"],
img[src="assets/img/prize.png"] {
	max-width: 900px;
}

img[src="assets/img/voucher_30.png"],
img[src="assets/img/voucher_60.png"],
img[src="assets/img/gift.png"] {
	max-width: 500px;
}

img[src="assets/img/phone.png"] {
	max-height: 500px;
}

.space {
	padding-top: 120px;
}

.orange-c {
	background-color: var(--secondary);
	border: 2px solid var(--secondary);
	border-radius: 10px;
}

.white-c {
	background-color: white;
	border: 2px solid var(--secondary);
	border-radius: 10px;
}

.span-c-w {
	font-size: 24px;
	width: 40px;
	height: 40px;
	border-radius: 100px;
	background-color: var(--secondary);
	border: 2px solid var(--secondary);
	color: white;
}

.span-c-o {
	font-size: 24px;
	width: 40px;
	height: 40px;
	border-radius: 100px;
	background-color: white;
	border: 2px solid var(--secondary);
}

/* ============================
	MENU
   ============================ */

.skip-to-main-content-link {
	position: absolute;
	left: -9999px;
	z-index: 999;
	padding: 1em;
	background-color: black;
	color: white;
	opacity: 0;
}

.skip-to-main-content-link:focus {
	left: 50%;
	transform: translateX(-50%);
	opacity: 1;
}

#attiva_menu {
	max-width: 30px;
	margin:10px 25px;
	cursor: pointer;
}

#logo {

}


.bi-list {
	font-size: 3rem;
	color: white;
}

#menu {
	background-color: #fff;
	height: 70px;
	position: relative;
	z-index:3000;
}
@media screen and (max-width: 768px) {
	#menu {
		height: auto;
	}
}

#menu_list {
	padding-left: 0px;
	margin-bottom: 0px;
}

#menu_list li {
	list-style-type: none;
	float: left;
	padding-left: 2%;
	padding-right: 2%;
}

#menu_list a {
	display: block;
	text-align: center;
	text-decoration: none;
	padding: 0px 10px;
	color: white;
	font-family: var(--wBold), sans-serif;
	font-size: 1.1rem;
	text-decoration: none!important;
	color: #000;
}



#menu_list a:hover, #menu_list a.active {
	text-decoration: underline !important;
	color: var(--secondary);
}

.modal-body {
	background-color: #fff;
}
.fw-bold {
	font-weight: bold;
}

/* ============================
	MENU RIVENDITORE
   ============================ */



.custom-tab-menu .nav-link {
    border-radius: 12px; 
    transition: all 0.2s ease-in-out; 
    border: 1px solid transparent;
    min-width: 120px;
}


.custom-tab-menu .nav-link:not(.active):hover {
    background-color: #fff !important;
    color: #000 !important;  
    transform: translateY(-2px); 
	border:1px solid var(--secondary);
}


.custom-tab-menu .nav-link.active {
    background-color: var(--secondary) !important;
    color: #000 !important; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); 
    border-color: #dee2e6;
}


.tracking-wider {
    letter-spacing: 0.05em;
    font-size: 0.75rem; 
}


.custom-tab-menu i {
    transition: transform 0.2s ease;
}

.custom-tab-menu .nav-link:hover i {
    transform: scale(1.1); 
}

/* ============================
	HOME
   ============================ */


/* Stile delle Card */
.elegant-card {
    background-image: url('../img/bg_yellow.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 1rem !important; 
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease, border-radius 0.3s ease;
    overflow: hidden;
	border:1px solid transparent;
}

.elegant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
	border:2px solid #000;
	border-radius: 1.5rem !important; 
}

.card-title {
    color: #1f2937; 
    font-size: 2.5rem;
    letter-spacing: -0.025em;
}

.card-text {
    font-size: 20px;
    line-height: 22px;
}


.img-container {
    height: 200px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-container img {
    max-height: 100%;
    object-fit: contain;
}


.btn-elegant {
    background-color: #000000;
    color: #ffffff;
    border-radius: 0.75rem; 
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.btn-elegant:hover {
    background-color: transparent;
    color: #000000;
    border-color: #000000;
}

/* Rimuoviamo lo stile predefinito (le linee bianche) */
.custom-icons button {
    text-indent: 0 !important; /* Mostra il contenuto (l'icona) invece di nasconderlo */
    width: auto !important;     /* Larghezza automatica in base all'icona */
    height: auto !important;    /* Altezza automatica */
    background: none !important; /* Rimuove il colore di sfondo bianco */
    border: none !important;     /* Rimuove i bordi trasparenti che creano spazio */
    opacity: 0.5;                /* Icone leggermente trasparenti se non attive */
    font-size: 1.5rem;           /* Dimensione dell'icona */
    color: white;                /* Colore dell'icona */
    margin: 0 10px;              /* Spazio tra le icone */
    transition: opacity 0.3s ease;
	color:#444;
}

/* Stile per l'icona quando la slide è attiva */
.custom-icons button.active {
    opacity: 1;                  /* Piena opacità */
    color: #000;              /* Esempio: coloriamo l'icona attiva di giallo oro */
}

/* ============================
	COME PARTECIAPRE
   ============================ */

   
    .step-card {
        background: #ffffff;
        border: 1px solid #e5e7eb; 
        border-radius: 1rem;       
        padding: 1.5rem;
        height: 100%;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        position: relative;
        overflow: hidden;
    }

    .step-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    }

    .step-number {
        font-size: 3rem;
        font-weight: 800;
        color: rgba(255, 165, 0, 0.1); 
        position: absolute;
        top: -10px;
        right: 10px;
        line-height: 1;
    }

    .step-title {
        font-weight: 700;
        color: #111827;
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
    }

    .step-badge {
        background-color: #ffa500; 
        color: white;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.875rem;
        margin-right: 0.75rem;
        flex-shrink: 0;
    }

    .step-text {
        color: #4b5563;
        font-size: 0.95rem;
        line-height: 1.6;
    }

/* ============================
	FORM
   ============================ */

#errore {
	color: #ac182d;
	font-family: var(--wBold), sans-serif;
	text-align: center;
	font-size: 24px;
}

label, input, select {
  	color: var(--primary);
}

p.col-1 {
	width: 1%;
}

.form-group {
	margin-bottom: 15px;
}

small.small {
	font-size: 10px;
	line-height: 9px;
}

@media (max-width: 575px) {
	label {
		font-size: .80rem;
	}
}

.bi-info-circle-fill:hover {
  	color: var(--secondary);
}

.form-select-alt,
.form-control-alt {
	border: 2px solid var(--secondary) !important;
}

.form-control-alt:focus,
.form-select-alt:focus {
	box-shadow: 0 0 0 .3rem rgba(247, 166, 0, 0.25) !important;
}

/* ============================
	FOOTER
   ============================ */

footer {
	background-color: white;
}

#footer_2 {
	background: var(--secondary);
}

footer p {
	color: var(--primary);
	font-family: var(--wLight), sans-serif;
	font-style: normal;
	text-align: center;
}

footer p a {
	color: var(--primary);
	text-decoration: underline;
	font-family: var(--wBold), sans-serif;
}

footer p a:hover {
	color: var(--primary);
}

@media(max-width:576px) {
	.mail_info {
		word-break: break-all;
	}
}



/* =========================
	DASHBOARD
	======================= */

/* Font e base */
.card-value {
    font-family: 'Continental M', sans-serif; /* Assicurati che il font sia caricato */
    line-height: 1;
}

.card-label {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: inherit;
}

/* Base per tutte le card */
.card-custom {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

/* Varianti Colore */
.card-orange {
    background-color: var(--secondary); 
    color: white;
}

.card-white {
    background-color: #ffffff;
    border: 1px solid #e5e7eb !important; 
    color: #374151;
}

.card-black {
    background-color: #1f2937; 
    color: white;
}

.text-orange-c {
    color: var(--secondary);
}


.currency-symbol {
    position: absolute;
    right: 15px;
    bottom: 5px;
    font-size: 3rem;
    font-weight: 900;
    opacity: 0.15;
    font-family: sans-serif;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-value {
        font-size: 2.5rem;
    }
}

/* 1. Stile Selettori (Radio nascosti, Card visibili) */
.card-selector {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background: white;
    border-color: #e5e7eb !important; /* Grigio Tailwind */
}

.card-selector:hover {
    border-color: var(--secondary) !important;
    background-color: #fffaf5;
}

/* Quando il radio button è selezionato */
.btn-check:checked + .card-selector {
    background-color: var(--secondary);
    color: white;
    border-color: var(--secondary) !important;
    box-shadow: 0 10px 15px -3px rgba(255, 107, 0, 0.3) !important;
    transform: scale(1.05);
}

/* 2. Pulsante Arancione Tailwind Style */
.btn-orange-tailwind {
    background-color: var(--secondary);
    color: white;
    border: none;
    transition: filter 0.2s;
}

.btn-orange-tailwind:hover {
	background-color: var(--area);
    color: white;
}

.btn-dark.btn-dark-tailwind:hover {
	background-color: #000!important;
    color: #fff!important;
	border:1px solid #000!important;
}

/* 3. Display del Codice */
.code-display {
    background-color: #f9fafb;
    border: 2px dashed #d1d5db;
    color: #374151;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
}

/* 4. Utility Tipografica */
.tracking-tight { letter-spacing: -0.025em; }
.fw-mono { font-family: 'Courier New', Courier, monospace; }

/* 5. Alert design */
.alert ol li::marker {
    color: #ffc107;
    font-weight: bold;
}

/* Colori e Sfondi */
.bg-secondary-dark { background-color: #1a1f26; }
.text-orange-c { color: var(--secondary); }
.bg-orange-c { background-color: var(--secondary); }

/* Stile Tabella */
.custom-table {
    border-color: #2d3748;
}
.custom-table thead th {
    letter-spacing: 0.05em;
    border-bottom: 2px solid #2d3748;
}
.custom-table tbody tr {
    transition: background-color 0.2s ease;
}
.custom-table tbody tr:hover {
    background-color: rgba(255, 107, 0, 0.05) !important;
}

/* Badge stilizzati */
.badge-outline-light {
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* Accordion Style */
.custom-accordion .accordion-item {
    border-bottom: 1px solid #2d3748 !important;
}
.custom-accordion .accordion-button {
    background-color: transparent !important;
    color: #cbd5e0 !important;
    box-shadow: none !important;
    font-weight: 500;
}
.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--secondary) !important;
}
.custom-accordion .accordion-button::after {
    filter: invert(1); /* Rende la freccetta bianca */
}

/* Pulsante Export */
.btn-orange-tailwind {
    background-color: var(--secondary);
    color: white;
    border: none;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-orange-tailwind:hover {
    background-color: #e66000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

/* Utility */
.tracking-widest { letter-spacing: 0.15em; }

.badge-legenda-interactive {
    display: inline-flex;
    align-items: center;
    background-color: #2d3748; /* bg-gray-800 di Tailwind */
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.badge-legenda-interactive:hover {
    background-color: #4a5568; /* Hover più chiaro */
    transform: translateY(-2px);
    border-color: var(--secondary);
}

.badge-legenda-interactive i {
    margin-right: 8px;
}

/* Evidenzia la pillola quando l'accordion è aperto (opzionale) */
.badge-active {
    background-color: var(--secondary) !important;
    color: white !important;
}

/* Colore arancione personalizzato (Tailwind Orange 600) */
.text-orange-c { color: var(--secondary) !important; }
.bg-orange-light { background-color: #ffedd5; } /* Arancio molto chiaro per il badge */

/* Contenitore Avatar */
.avatar-container {
    width: 140px;
    height: 140px;
    background-color: #f9fafb;
    border: 4px solid #ffffff;
    border-radius: 50%; /* Tailwind rounded-full */
    transition: transform 0.3s ease;
}

.avatar-container:hover {
    transform: scale(1.05);
}

/* Bottone stile Tailwind */
.btn-orange-tailwind {
    background-color: var(--secondary);
    color: white;
    border: none;
    transition: all 0.2s ease-in-out;
}

.btn-orange-tailwind:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.2);
}

/* Helper per la spaziatura lettere */
.tracking-wider {
    letter-spacing: 0.05em;
}

/* Transizione generica */
.transition-all {
    transition: all 0.2s ease-in-out;
}

/* Card rounded custom */
.rounded-4 { border-radius: 1rem !important; }

/* Sostituisci o integra i colori già definiti */
.text-orange-c { color: var(--secondary) !important; }
.border-orange-c { border-color: var(--secondary) !important; }
.bg-orange-light { background-color: #fff7ed; }

/* Contenitore Icona con effetto "Foglio" */
.download-icon-container {
    width: 140px;
    height: 140px;
    background-color: #f8fafc;
    border-radius: 24px; /* Angoli arrotondati stile app */
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.card:hover .download-icon-container {
    transform: rotate(-5deg) scale(1.05);
    background-color: #fff7ed;
}

/* Pulsante Download Tailwind */
.btn-orange-tailwind {
    background-color: var(--secondary);
    color: white;
    border: none;
    letter-spacing: 0.02em;
}

.btn-orange-tailwind:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.3);
}

/* Tracking e rifiniture */
.tracking-wider { letter-spacing: 0.05em; }
.lh-sm { line-height: 1.4; }

/* Colori definiti in precedenza */
.text-orange-c { color: var(--secondary) !important; }
.bg-orange-light { background-color: #fff7ed; }
.border-orange-c { border-color: var(--secondary) !important; }

/* Icona Header */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ombra Tailwind-like (Shadow MD) */
.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* Effetto profondità per il video */
.shadow-inner {
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    background-color: #000;
}

/* Stile del Player */
.video-custom {
    transition: transform 0.3s ease;
    object-fit: cover;
}

.card:hover .video-custom {
    transform: scale(1.02); /* Leggero zoom quando passi sulla card */
}

/* Badge tracking */
.tracking-wider { letter-spacing: 0.05em; }

/* =========================
	CONTATTI
	======================= */


/* Palette Colori */
.text-orange-c { color: var(--secondary) !important; }
.bg-orange-light { background-color: #fff7ed; }

/* Contenitore Icone */
.icon-shape {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Effetti Hover sulle Card */
.transition-hover {
    transition: all 0.3s ease;
    border: 1px solid transparent !important;
}

.transition-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
    border-color: #ffedd5 !important;
}

.hover-orange:hover {
    color: var(--secondary) !important;
}

/* Tipografia */
.tracking-wider { letter-spacing: 0.05em; }

/* Adattamento Mobile */
@media (max-width: 576px) {
    .icon-shape {
        width: 48px;
        height: 48px;
        margin-right: 15px !important;
    }
    .icon-shape i { font-size: 1.5rem !important; }
    .display-6 { font-size: 1.5rem; }
}

/* =========================
	COOKIE BAR
	======================= */

.cc-window {
	font-size: .85rem !important;
	line-height: 1.2em !important;
}

@media (max-width:767px) {
	.cc-window {
		font-size: .75rem !important;
		line-height: 1.1em !important;
	}
	.contact {
		word-break: break-all;
		font-size: 250%;
	}
}

.modal-footer .button {
  	font-size: 1.4rem;
}
