/* ================
BEST DRIVE
===================*/
:root {
	--primary: #1d1d1b;
	--secondary: #f7a600;
	--area: #333333;
	--wLight: "Continental Stag Sans";
	--wNormal: "Continental Stag Sans Book";
	--wBold: "Continental Stag Sans Med";
}

body {
	background-color: #1a1a1a;
	background-size: cover;
	background-attachment: fixed;
	font-family: 'Lato', sans-serif;
	color: #fff;
	font-size: 14px;
}
.row {
	margin-right: 0px;
	margin-left: 0px;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 800;
}

.container.container-gray {
	background-color: #333333;
	color: #fff;
}
.container.white-bg {
	background-color: #fff;
	color: #1a1a1a;
}
.text-o {
	color: #ff9901;
}
.text-v {
	color: green;
}
.text-r {
	color: red;
}
.text-g {
	color: #b9b9b9;
}
/* ================
MENU
===================*/
#logo_menu {
	filter: drop-shadow(0px 10px 6px rgba(0,0,0,.2));
}
#menu {
	background-color: transparent;
	position: relative;
	z-index: 2000;
	height: 60px;
}

#menu_list {
	padding:15px 0px;
}

.list-inline-item a {
	display: block;
	text-align: center;
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	padding: 5px 0px;
}

.list-inline-item a.active, .list-inline-item a:hover {
	display: block;
	text-align: center;
	color: #ff9901;
	text-decoration: none;
	font-weight: bold;
	padding: 5px 0px;
}
.border-right {
	border-right: 1px solid #fff!important;
}
#logo {
	position: absolute;
	top: 0;
	right: 20px;
	max-width: 250px;
}
@media screen and (max-width: 768px) {
	.border-right {
		border-right: 0px solid transparent!important;
	}
}
/* ================
HOME
===================*/
#scelte {
	position: relative;
	margin-top: -100px;
}
.container.white-bg.bg-point {
	background-image: url('../img/bg_point.jpg');
	background-size: cover;
	background-position: top center;
	border-bottom: 4px solid #ff9901;
}

.bg-wo {
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+75,ff9901+75,ff9901+100 */
	background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(top,  #ffffff 75%, #ff9901 75%, #ff9901 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #ffffff 75%,#ff9901 75%,#ff9901 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #ffffff 75%,#ff9901 75%,#ff9901 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ff9901',GradientType=0 ); /* IE6-9 */
	background-size: cover;
	background-position: bottom center;
}
.bg-wo-2 {
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+75,ff9901+75,ff9901+100 */
	background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(top,  #ffffff 88.3%, #ff9901 88.3%, #ff9901 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #ffffff 88.3%,#ff9901 88.3%,#ff9901 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #ffffff 88.3%,#ff9901 88.3%,#ff9901 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ff9901',GradientType=0 ); /* IE6-9 */
	background-size: cover;
	background-position: bottom center;
}
.bg-o {
	background-color: #ff9901;
	border-top: 2px solid #fff;
	border-bottom: none;
	border-left: 2px solid #fff;
	border-right: 2px solid #fff;
}
.bg-o:hover {
	background-color: #E09602;
	border-top: 2px solid #fff;
	border-bottom: none;
	border-left: 2px solid #fff;
	border-right: 2px solid #fff;
}
.bg-od {
	background-color: #E09602;
	border-top: 2px solid #fff;
	border-bottom: none;
	border-left: 2px solid #fff;
	border-right: 2px solid #fff;
}
#destra {
	margin-top:20px; 
	position: relative;
}
@media screen and (max-width: 768px) {
	.ico {
		max-width: 50px;
	}

	#scelte {
		position: relative;
		margin-top: 0px;
		background-color: #fff;
	}
	#destra {
	margin-top:20px; 
	position: relative;
	min-height: 600px;
}
}
.btn {
	b1px solid #ff9901!important;
	background-color: #ff9901!important;
}
/* ================
FORM
===================*/
.border-bottom-o {
	border-bottom: 2px solid #ff9901;
}
textarea {
	background-color: #1a1a1a!important;
	color: #fff;
	border:1px solid #ff9901!important;
}
button#invia {
	b1px solid #ff9901!important;
	background-color: #ff9901!important;
}

button.refresh {
	border:0px solid transparent!important;
	background-color: transparent!important;
	background: transparent!important;
}
#errore {
	font-weight: bold;
	font-size: 24px;
	color: red;
}
.form-control {
	background-color: #1a1a1a!important;
	color: #fff!important;
	border:1px solid #ff9901!important;
	height: 50px;
}

.form-control[type="file"] {
	background-color: transparent!important;
	color: #1a1a1a!important;
	border:1px solid transparent!important;
	padding-bottom: 0px;
}
.popover-header {
	color: #1a1a1a!important;
	background-color:#ff9901;
}
label {
	padding-bottom: 5px;
}
select.form-control {
	background-color: #1a1a1a!important;
	color: #fff!important;
	border:1px solid #ff9901!important;
	height: 50px;
}
input[type="checkbox"] {
	background-color: #1a1a1a!important;
	border:1px solid #ff9901!important;
}

/* ================
RIVENDITORE
===================*/
.list-inline-item.list-inline-item-active {
	border-top: 1px solid #ff9901;
	border-left: 1px solid #ff9901;
	border-right: 1px solid #ff9901;
	border-radius: 10px 10px 0px 0px;
}
.list-border-bottom {
	border-bottom: 1px solid #ff9901;
}
.list-inline-item a {
	color: #b9b9b9;
}
.list-inline-item.list-inline-item-active a {
	color: #ff9901;
}
.menu_laterale {
	border:1px solid #ff9901;
	color: #ff9901;
}
.menu_laterale a {
	text-decoration: none;
	color: #ff9901;
}
.menu_laterale:hover {
	border:1px solid #ff9901;
	color: #1a1a1a;
	background-color: #ff9901;
}
.menu_laterale:hover a {
	text-decoration: none;
	color: #1a1a1a;
}
.menu_laterale_active {
	border:1px solid #ff9901;
	color: #1a1a1a;
	background-color: #ff9901;
}
.menu_laterale_active a {
	text-decoration: none;
	color: #1a1a1a;
}
#base_clienti:before {
	content: url('../img/base_clienti.png');
	position: absolute;
	top:50%;
	left: 0;
	transform: translate(-50%,-50%);
	display: block;
	width: 30px;
}
#visulizza_analisi:before {
	content: url('../img/visulizza_analisi.png');
	position: absolute;
	top:50%;
	left: 0;
	transform: translate(-50%,-50%);
	display: block;
	width: 30px;
}
#contabilizza_buono:before {
	content: url('../img/contabilizza_buono.png');
	position: absolute;
	top:50%;
	left: 0;
	transform: translate(-50%,-50%);
	display: block;
	width: 30px;
}
#carica_fattura:before {
	content: url('../img/carica_fattura.png');
	position: absolute;
	top:50%;
	left: 0;
	transform: translate(-50%,-50%);
	display: block;
	width: 30px;
}
#fatture_caricate:before {
	content: url('../img/fatture_caricate.png');
	position: absolute;
	top:50%;
	left: 0;
	transform: translate(-50%,-50%);
	display: block;
	width: 30px;
}
#buoni_contabilizzati:before {
	content: url('../img/buoni_contabilizzati.png');
	position: absolute;
	top:50%;
	left: 0;
	transform: translate(-50%,-50%);
	display: block;
	width: 30px;
}
#buoni_da_contabilizzare:before {
	content: url('../img/buoni_da_contabilizzare.png');
	position: absolute;
	top:50%;
	left: 0;
	transform: translate(-50%,-50%);
	display: block;
	width: 30px;
}
.table-condensed {
	font-size: 10px!important;
	text-align: center;
}
.modal-content {
	background-color: #333;
}

/* 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;
}


/* ================
CONTATTI
===================*/
.bi-telephone-fill {
  color: #000000; 
  background-color: #ff9901; 
  border-radius: 50%; 
  padding: 10px; 
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 24px;
}

.bi-envelope-at-fill {
  color: #000000;
  background-color: #ff9901;
  border-radius: 50%;
  padding: 10px;
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 24px;
}
/* ================
FOOTER
===================*/
footer {
	background-image: url('../img/bg_orange.jpg');
	background-size: cover;
	color: #1a1a1a;
	text-align: center;
	padding: 0px;
	z-index: 1000;
	position: relative;
	font-size: 14px;
}

footer a, footer a:hover {
	display: inline;
	color: #1a1a1a;
	text-decoration: underline;
}


.modal-body {
	min-height: 5vh!important;
}

#modalPartecipazioni .modal-body {
	height: auto!important;
}


/* ================
dashboard_contabilizza_buono_servizi.php
===================*/
.preview-wrapper {
    max-height: 420px;
    overflow: auto;
    text-align: center;
}

.preview-image {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    cursor: zoom-in;
}

