.btn-primary {
    --bs-btn-color: #C4D600;
    --bs-btn-bg: #72246C;
    --bs-btn-border-color: #72246C;
    --bs-btn-hover-color: #72246C;
    --bs-btn-hover-bg: #C4D600;
    --bs-btn-hover-border-color: #72246C;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
	font-size: 16px;
}

.user-btn-custom {
	background-color: #72246C;
	border-color: #72246C;
	color: #C4D600;
}

.user-btn-custom:hover,
.user-btn-custom:checked {
	background-color: #72246C;
	border-color: #72246C;
	color: #B0C100;
}

.user-btn-custom:active,
.user-btn-custom:focus,
.btn.show {
	background-color: #72246C;
	border-color: #72246C;
	color: #B0C100;
}

.dropdown-menu-custom {
	background-color: #72246C;
}

.dropdown-menu-custom:hover {
	background-color: #72246C;
}

.dropdown-item-custom {
	background-color: #72246C;
	color: #C4D600;
	text-decoration: none;
}

.dropdown-item-custom:hover,
.dropdown-item-custom:focus {
	background-color: #72246C;
	color: #B0C100;
	text-decoration: none;
}

.mb-4 {
	color: #72246C;
}

.nav {
	margin-left: 170px;
}

.nav-tabs .nav-link {
	color: #72246C;
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 10px 15px;
}

.nav-tabs .nav-link:hover {
	background-color: #e9ecef;
}	

.nav-tabs .nav-link.active {
		background-color: #72246C;
		color: #C4D600;
}

.btn-custom {
	background-color: #72246C;
	color: #C4D600;
	font-size: 16px;
	background-image: linear-gradient;
}

.btn-custom:hover {
	background-color: #C4D600;
	color: #72246C;
}

.btn-custom-exp {
	background-color: #C4D600; 
	color: #72246C;
	font-size: 16px;
	background-image: linear-gradient;
}

.btn-custom-exp:hover {
	background-color: #A4B300;
	color: #72246C;
}

.navbar-nav .nav-link {
	color: #C4D600;
	border: 1px solid #ddd;
	border-radius: 5px;
}

.navbar-nav .nav-link.active {
	background-color: #C4D600;
	color: #72246C;
	border: 1px solid #ddd;
	border-radius: 5px;
}

.h2 .text-center .mb-4 {
	color: #72246C;
}

.div .container .mt-5 {
	width: 75%;
}

.td {
	text-align: center;
}

/*.thead .table-primary {
	background-color: #C4D600;
}*/

/*.custom-thead {
	background-color: #C4D600;
	color: #72246C;
}*/

.login-body {
	background-image: url('/images/backgroundtirso.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	background-color: #f8f9fa;
}

.login-container {
	margin: auto;
	width: 30%;
	text-align: center;
	background: #ffffff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.btn-google {
	background: #72246C;
	color: #C4D600;
	font-weight: bold;
	padding: 10px 20px;
	border-radius: 4px;
	text-decoration: none;
	display: inline-block;
	margin-top: 20px;
}

.btn-google:hover {
	background: #C4D600;
	color: #72246C;
}

.home-body {
	background-image: url('/web_images/backgroundtirso.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	justify-content: center;
	align-items: center;
	height: 100vh;
	background-color: #f8f9fa;
}

.btn-home {
	background: #72246C;
	color: #C4D600;
	font-weight: bold;
	padding: 10px 20px;
	border-radius: 4px;
	text-decoration: none;
	display: inline-block;
	margin-top: 20px;
}

.btn-home:hover {
	background: #C4D600;
	color: #72246C;
}

.btn-homepage {
	background: #72246C;
	color: #C4D600;
	font-weight: bold;
	padding: 10px 20px;
	border-radius: 4px;
	text-decoration: none;
	display: inline-block;
	margin-top: 20px;
}

.btn-homepage:hover {
	background: #C4D600;
	color: #72246C;
}

.rubrica-body{
	background-color: #f8f9fa;
}

.rubrica-sidebar {
	height: 100%;
	width: 230px;
	background-color: #f8f9fa;
	padding: 20px;
	box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
	position: fixed;
	left: 0;
	top: 56px;
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 10;
}

.rubrica-sidebar a, .rubrica-sidebar button {
	width: 100%;
	margin-bottom: 10px;
}

.main-content {
	margin-left: 250px;
	padding: 20px;
}

.table-container {
	max-height: 650px;
	overflow-y: auto;
	border: 2px solid #ddd;
	border-radius: 10px;
	padding: 0px;
	background-color: #F9F9F9;
	margin-bottom: 20px;
	margin-left: 120px;
}

.table-container thead th {
	box-shadow: 0px 2px 5px rgba (0, 0, 0, 0.1);
}

.table-container-licenze {
	max-height: 425px;
	overflow-y: auto;
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 0px;
	background-color: #F9F9F9;
}

.table {
	margin-bottom: 0;
}

.table-striped.table-hover thead {
	background-color: #C4D600 !important;
}

.table-primary {
	--bs-table-bg: #D2E600;
	position: sticky;
	top: 0;
	z-index: 10;
	background-color: #ffffff;
	border-bottom: 2px solid #dee2e6;
	margin-top: -6rem;
}

.table-primary tbody {
	/*position: relative;*/
	padding-top: 6 rem;
	/*top: 5 rem;*/
}

.table-container tbody tr {
	z-index: 10;
	transition: background-color 0.3s;
}

.table-container tbody tr:hover {
	background-color: #f9f9f9;
}

.table-container tbody td {
	padding: 10px;
	border-bottom: 1px solid #ddd;
}


.table-striped.table-hover thead th a {
	color: #72246C;
}

.accordion-button.collapsed {
	background-color: #72246C;
	color: #C4D600;
}



.collapse {
	transition: height 0.3s ease-in-out !important;
}

.bg-light {
    --bs-bg-opacity: 1;
    background-color: #72246C !important;
}

.cards-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 95vh;
}

.hidden {
	display: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Sfondo scuro semi-trasparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
	overflow-y: auto;
	padding: 20px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: black;
}

.form-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	max-width: 600px;
	/* height: 80vh; */
	padding: 5px;
	border-radius: 20px;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
	/*max-height: 90vh;*/
	overflow-y: auto;
	position: relative;
}

.cards {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.cards .purple {
	background-color: #72246C;
}

.cards .lime {
	background-color: #C4D600;
}

.cards .card {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	height: 100px;
	width: 340px;
	border-radius: 10px;
	color: white;
	cursor: pointer;
	transition: 400ms;
}

.cards .card p.tip {
	font-size: 1em;
	font-weight: 700;
}

.cards .card a.tip {
	color: #72246C;
	font-size: 1.5em;
	font-weight: 700;
	text-decoration: none;
}

.cards .card p.second-text {
	font-size: .7em;
}

.cards .card:hover{
	transform: scale(1.1, 1.1);
}

.cards:hover > card:not(:hover) {
	filter: blur(10px);
	transform: scale(0.9, 0.9);
}

/* .inputGroup {
	font-family: 'Segoe UI', sans-serif !important;
	margin: 1em 0 1em 0;
	max-width: 270px;
	position: relative;
}

.inputGroup input {
	font-size: 100%;
	padding: 0.8em;
	outline: none;
	border: 2px solid rgb(200, 200, 200);
	background-color: transparent;
	border-radius: 20px;
	width: 100%;
}

.inputGroup label {
	font-size: 100%;
	position: absolute;
	left: 0;
	padding: 0.8em;
	margin-left: 0.5em;
	pointer-events: none;
	transition: all 0.3s ease;
	color: rbg(100, 100, 100);
}

.inputGroup :is(input:focus, input:valid)~label {
	transform: translateY(-50%) scale(.9);
	margin: 0em;
	margin-left: 1.3em;
	padding: 0.4em;
	background-color: #ffffff;
}

.inputGroup :is(input:focus, input:valid) {
	border-color: rgb(150, 150, 200);
}

/* From Uiverse.io by Yaya12085 */ 
/* .form-new-contatto {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	width: 70%;
	max-width: 700px;
	max-height: 90vh;
	background-color: #fff;
	padding: 20px;
	border-radius: 15px;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	overflow-y: auto;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.form-new-contatto .inputGroup {
	font-family: 'Segoe UI', sans-serif;
	margin: 1em 0 1em 0;
	width: 100% !important;
	max-width: none;
	position: relative;
}
  
/* .form-new-contatto .inputGroup input {
	font-size: 80%;
	padding: 0.8em;
	outline: none;
	border: 2px solid rgb(200, 200, 200);
	background-color: transparent;
	border-radius: 20px;
	width: 100%;
} */

/* .form-new-contatto .inputGroup input,
.form-new-contatto .inputGroup select {
	width: 100% !important;
	max-width: 270px !important;
	padding: 12px;
	outline: 0;
	border: 1px solid rgba(105, 105, 105, 0.5);
	border-radius: 10px;
	font-size: 1em;
	background-color: white;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.form-new-contatto .inputGroup select {
	width: 100% !important;
	max-width: 270px !important;	
	cursor: pointer;
	background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='black' d='M2 0L0 2h4zM2 5l2-2H0z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 10px;
  }
  
.form-new-contatto .inputGroup label {
	font-size: 80%;
	position: absolute;
	left: 0;
	padding: 0.8em;
	margin-left: 0.5em;
	margin-bottom: 5px;
	pointer-events: none;
	transition: all 0.3s ease;
	color: rgb(100, 100, 100);
}
  
.form-new-contatto .inputGroup :is(input:focus, input:valid)~label {
	transform: translateY(-50%) scale(.9);
	margin: 0em;
	margin-left: 1.3em;
	padding: 0.4em;
	background-color: #ffffff;
}
  
.form-new-contatto .inputGroup :is(input:focus, input:valid) {
	border-color: #e8e8e8; /*rgb(150, 150, 200);*/
/* } */


/* VERSIONE LIGHT FORM NEW CONTATTO */

/* Stile del contenitore del form */
.form-new-contatto {
	margin-top: 25px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 70%;
    max-width: 600px;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow-y: auto;
    max-height: 90vh;
}

.form-modifica-contatto {
    width: auto;
    margin-top: 55px;
    padding: 20px;
    background-color: #f9f9f9;
	display: flex;
	flex-direction: column;
    align-items: center;
}

.form-modifica-contatto h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.form-modifica-contatto .form-group {
    margin-bottom: 15px;
}

.form-modifica-contatto label {
    display: block;
    margin-top: 5px;
    font-weight: bold;
    color: #555;
}

.form-modifica-contatto input[type="text"],
.form-modifica-contatto input[type="email"],
.form-modifica-contatto select,
.form-modifica-contatto textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 16px;
}

.form-modifica-contatto input[type="text"]:focus,
.form-modifica-contatto input[type="email"]:focus,
.form-modifica-contatto select:focus,
.form-modifica-contatto textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Stile dei gruppi di input */
.inputGroup {
    width: 100%;
    max-width: 270px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Stile degli input e select */
.inputGroup input,
.inputGroup select {
    width: 100%;
	min-width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	display: block;
	margin: 0 auto;
    padding: 12px;
    border: 1px solid #aaa;
    border-radius: 10px;
    font-size: 1em;
    background-color: white;
    outline: none;
}

/* Stile specifico per il select */
.inputGroup select {
    cursor: pointer;
    /*background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='black' d='M2 0L0 2h4zM2 5l2-2H0z'/></svg>");*/
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px;
    padding-right: 30px;
}

/* Stile per le etichette */
.inputGroup label {
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.form-select {
	width: 380px;
	display: inline-block;
}


.title {
  font-size: 28px;
  color: #72246C;
  font-weight: 600;
  letter-spacing: -1px;
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 30px;
}

.title::before,.title::after {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  border-radius: 50%;
  left: 0px;
  background-color: #72246C;;
}

.title::before {
  width: 18px;
  height: 18px;
  background-color: #72246C;;
}

.title::after {
  width: 18px;
  height: 18px;
  animation: pulse 1s linear infinite;
}

.message, .signin {
  color: rgba(88, 87, 87, 0.822);
  font-size: 14px;
}

.signin {
  text-align: center;
}

.signin a {
  color: #72246C;;
}

.signin a:hover {
  text-decoration: underline #72246C;;
}

.flex {
  display: flex;
  width: 100%;
  gap: 6px;
}

.submit {
  border: none;
  outline: none;
  background-color: #72246C;
  padding: 10px;
  border-radius: 10px;
  color: #C4D600;
  font-size: 16px;
  transform: .3s ease;
}

.submit:hover {
  /*background-color: #611F5B;*/
  background-color: #C4D600;
  color: #72246C;
}

@keyframes pulse {
  from {
    transform: scale(0.9);
    opacity: 1;
  }

  to {
    transform: scale(1.8);
    opacity: 0;
  }
}



/* WIP NUOVO FORM PIU PULITO

Stile generale del form */

.new-form {
	display: flex;
	flex-direction: column;
	background: #fff;
	width: 600px; /* Larghezza del form, puoi modificarla a tuo piacimento */
	margin: 20px auto; /* Centra il form nella pagina */
}
  
  /* Stile delle label */
.label {
	margin-bottom: 5px; /* Spazio tra la label e l'input */
	font-weight: bold; /* Rende il testo della label in grassetto */
}
  
  /* Stile degli input text e select */
.new-input {
	padding: 8px; /* Spazio interno all'input */
	margin-bottom: 15px; /* Spazio tra gli input */
	border: 1px solid #ccc; /* Bordo grigio chiaro */
	border-radius: 4px; /* Angoli arrotondati */
	box-sizing: border-box; /* Include padding e border nella larghezza */
	width: 75%; /* Larghezza al 100% del contenitore */
}

.table-contatti {
	width: 100%;
	border-collapse: collapse;
	font-family: sans-serif;
	font-size: 12px;
	margin-left: 100px;
}

.table-contatti thead {
	background-color: #C4D600;
	/* position: fixed; */
}

.table-contatti th {
	/* background-color: #72246C;
	color: #C4D600; */
	min-width: 45px;
	white-space: nowrap;
	padding: 10px 15px;
	text-align: left;
	border-bottom: 1px solid #ddd;
	font-weight: bold;
	color: #72246C;
}

.table-contatti td {
	/* background-color: #72246C;
	color: #C4D600; */
	padding: 10px 15px;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

.table-contatti tbody tr {
	background-color: #f9f9f9;
}

.table-mezzi {
	width: 100%;
	border-collapse: collapse;
	font-family: sans-serif;
	font-size: 12px;
}

.table-mezzi thead {
	background-color: #C4D600;
	/* position: fixed; */
}

.table-mezzi th {
	/* background-color: #72246C;
	color: #C4D600; */
	min-width: 45px;
	white-space: nowrap;
	padding: 10px 15px;
	text-align: left;
	border-bottom: 1px solid #ddd;
	font-weight: bold;
	color: #72246C;
}

.table-mezzi td {
	/* background-color: #72246C;
	color: #C4D600; */
	padding: 10px 15px;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

.table-mezzi tbody tr {
	background-color: #f9f9f9;
}

.text-decoration-none {
	color:#72246C;
}

.mt-5 {
	margin-left: 240px;
	padding: 20px;
	margin-top: 5rem !important;
}

.pt-5 {
	margin-top: -30px;
}

.navbar-text {
	color: #C4D600;
}

.navbar-brand,
.navbar-text,
.navbar a,
.nav-item a {
    color: #C4D600;
}

.navbar-brand:hover, .navbar a:hover {
	color: #c4d600b6;
}

.user-logout-container {
    display: flex;
    align-items: center; /* Allinea gli elementi verticalmente al centro */
}

.navbar.navbar-expand-lg.navbar-light.bg-light {
	/* position: sticky;
	top: 0;
	z-index: 100; /* Assicura che la navbar sia sopra gli altri elementi */
	/*width: 100%; */

	position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* Assicura che la navbar sia sopra gli altri elementi */
}

.search-results-actions {
    margin-bottom: 20px; /* Regola lo spazio sotto il pulsante */
	margin-left: 100px;
	display: flex; /* Utilizza flexbox per l'allineamento */
    justify-content: flex-start; /* Allinea il pulsante a sinistra */
}

.mezzi-search-results-actions {
    margin-bottom: 20px; /* Regola lo spazio sotto il pulsante */
	display: flex; /* Utilizza flexbox per l'allineamento */
    justify-content: flex-start; /* Allinea il pulsante a sinistra */
}

#page-title {
	/* position: fixed; */
	z-index: 100;
	margin-top: -30px;
}

#userDropdownMenu {
    background-color: #72246C; /* Viola della navbar */
    border: none;
    box-shadow: none;
}

#userDropdownItemLogout {
	background-color: #72246C;
    color: #C4D600;
}

#userDropdownItemLogout:hover {
	background-color: #72246C;
    color: #B0C100;
}


/* Media query per schermi piccoli (max-width: 991.98px) */
@media (max-width: 991.98px) {

    .navbar.navbar-expand-lg.navbar-light.bg-light {
        height: 56px; /* Imposta l'altezza fissa */
    }

	.container-fluid {
		height: 56px; /* Imposta l'altezza fissa */
	}

	.collapse .navbar-collapse {
		display: block !important;
	}

	.collapse:not(.show) {
		display:block;
	}

	.navbar.navbar-expand-lg.navbar-light.bg-light .navbar-collapse {
		justify-content: flex-end; /* Allinea gli elementi a destra */
		margin-bottom: 20px;
		position: relative;
		top: -45px; /* Sposta l'elemento verso l'alto */
	}
	
	.navbar.navbar-expand-lg.navbar-light.bg-light .navbar-nav {
		flex-direction: row; /* Assicura che gli elementi siano disposti in riga */
	}

	.navbar.navbar-expand-lg.navbar-light.bg-light .navbar-nav .nav-link {
		font-size: 14px; /* Riduci la dimensione del testo */
	}

	.navbar.navbar-expand-lg.navbar-light.bg-light .navbar-nav .nav-item {
		display: flex; /* Utilizza flexbox per l'allineamento verticale */
		align-items: center; /* Allinea gli elementi al centro verticalmente */
	}

    .navbar-nav {
        /* Assicurati che gli elementi siano allineati a sinistra nel menu */
        text-align: left;
		display: flex;
		justify-content: flex-end;
    }

    .navbar-text {
        display: block; /* Mostra il nome utente su una riga separata */
    }

	.user-logout-container {
        margin-left: auto; /* Allinea il contenitore logout a destra */
    }


}

/* Media query per schermi tablet */
@media (max-width: 768px) {
	.cards {
		display: flex;
		flex-direction: column;
		gap: 15px;
    }

	#autista.cards {
		display: flex;
		flex-direction: column;
		gap: 50px;
	}

	.card.lime {
		height: 75px;
	} /* 	VALUTARE POSSIBILE RIMOZIONE */

	.card.lime {
		height: 75px;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		text-align: center;
	}

	#autista.card.lime {
		height: 90px;
		width: 320px;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		text-align: center;
	}

	.rubrica-sidebar {
        position: fixed;
        top: 65px;
        /*left: -250px;*/ /* Nasconde la sidebar a sinistra */
        width: 160px;
        height: 100%;
        background-color: #f8f9fa;
        transition: left 0.3s ease; /* Aggiunge una transizione per l'animazione */
    }

	.rubrica-sidebar a, .rubrica-sidebar button {
		width: auto;
		display: inline-block;
		margin: 5px;
		font-size: 12px;
	}

	.table-mezzi {
		font-size: 12px;
	}

	.table-mezzi th, .table-mezzi td {
		padding: 8px;
	}

	#page-title {
		position: static;
		margin-left: 0;
		text-align: center;
	}
}

@media (max-height: 750px) {
	.cards-container {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		height: 105vh;
	}

	.cards {
		gap: 10px;
	}

	.cards .card {
		height: 90px;
		width: 225px;
	}

	.table-mezzi {
		width: 80%;
		font-size: 10px;
	}

	.table-mezzi th {
		/* background-color: #72246C;
		color: #C4D600; */
		min-width: 50px;
		white-space: nowrap;
		padding: 10px 15px;
		text-align: left;
		border-bottom: 1px solid #ddd;
		font-weight: bold;
		color: #72246C;
	}

	.table-contatti {
		margin-left: 0px;
	}

	.nav {
		margin-left: 0px;
	}
}

@media (max-width: 480px) {
    table {
        display: block;
        overflow-x: auto; /* Aggiunge una barra di scorrimento orizzontale */
    }

    thead, tbody, th, td, tr {
        display: block;
    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr { border: 1px solid #ccc; }

    td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

    td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        content: attr(data-label);
        font-weight: bold;
    }

	.table-mezzi {
        font-size: 10px; /* Riduci ulteriormente la dimensione del testo */
    }

    .table-mezzi th,
    .table-mezzi td {
        padding: 5px; /* Riduci ulteriormente il padding */
    }

    .rubrica-sidebar a,
    .rubrica-sidebar button {
        font-size: 12px; /* Riduci la dimensione del font nei bottoni */
    }

	.rubrica-sidebar {
        position: fixed;
        top: 65px;
        /*left: -250px;*/ /* Nasconde la sidebar a sinistra */
        width: 160px;
        height: 100%;
        background-color: #f8f9fa;
        transition: left 0.3s ease; /* Aggiunge una transizione per l'animazione */
    }
}

@media (max-height: 750px) {
	/* .cards-container {
		position: relative;
		bottom: 150px;
	} */
	
	#autista.cards {
		height: 400px;
		width: 300px;
	}

	#autista.card.lime {
		height: 100px;
		width: 300px;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		text-align: center;
	}
}

/* AGGIUNTE IL 13/05 PER REVISIONE LAYOUT*/

.custom-navbar-bg {
	background-color: #72246C;
}

.custom-navbar-text {
	color: #C4D600;
}

.custom-navbar-text .nav-link {
	color: #C4D600 !important;
}

.navbar .nav-link {
	border: none;
}

.custom-center-text {
	font-size: 1.5rem;
	color: #C4D600;
}

.custom-navbar-text .dropdown-menu {
	background-color: #72246C;
	color: #C4D600;
}

.custom-navbar-text .dropdown-item {
	color: #C4D600;
	background-color: #72246C;
}

.table-mezzi-container {
	margin-top: 0 !important;
	margin-left: 0 !important;
	padding-top: 0 !important;
	padding-left: 0 !important;
	height: 830px;
	width: auto;
	overflow-y: scroll;
	position: relative;
}

.table-mezzi thead {
	position: sticky;
	top: 0;
	z-index: 10;
	background-color: #C4D600;
}

/* Stile per il pulsante che linka AnyDesk */
.anydesk-button-container {
	position: absolute;
	bottom: 40px;
	right: 60px;
	z-index: 1000;
}

@media (max-height: 750px) {

	.anydesk-button-container {
		position: absolute;
		bottom: 25px;
		right: 25px;
		z-index: 1000;
	}
}

.btn-anydesk {
	width: 50px;
	height: 50px;
	background-color: #C4D600;
	color: #72246C;
	border: none;
	border-radius: 50%;
	box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 24px;
	transition: background-color 0.3s ease;
	z-index: 1000;
}

.btn-anydesk:hover {
	background-color: #72246C;
	color: #C4D600;
}

.tooltip-text {
	visibility: hidden; /* Nascondi il tooltip di default */
    opacity: 0; /* Rendi il tooltip completamente trasparente di default */
    width: auto; /* La larghezza si adatta al contenuto */
    background-color: #555; /* Colore di sfondo del tooltip */
    color: #fff; /* Colore del testo */
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px;
    position: absolute; /* Posiziona il tooltip rispetto al suo contenitore padre (.corner-button-container) */
    z-index: 1; /* Assicurati che sia sopra altri elementi */
    bottom: 100%; /* Posiziona il tooltip sopra il pulsante (100% dell'altezza del pulsante) */
    left: 50%; /* Centra orizzontalmente rispetto al pulsante */
    transform: translateX(-50%); /* Sposta a sinistra della metà della sua larghezza per centrarlo */
    margin-bottom: 10px; /* Spazio tra il pulsante e il tooltip */
    white-space: nowrap; /* Evita che il testo vada a capo */
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Transizione fluida */
}

.tooltip-text:after {
	content: "";
    position: absolute;
    top: 100%; /* Posiziona la freccia in basso rispetto al tooltip */
    left: 50%;
    margin-left: -5px; /* Sposta a sinistra della metà della larghezza della freccia */
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent; /* Colore della freccia */
}

.anydesk-button-container:hover .tooltip-text {
    visibility: visible; /* Rendi visibile il tooltip */
    opacity: 1; /* Rendi il tooltip completamente opaco */
}

