/* */
/* gabarito-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Gabarito';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/gabarito-v9-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/gabarito-v9-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* gabarito-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Gabarito';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/gabarito-v9-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/gabarito-v9-latin-500.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* gabarito-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Gabarito';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/gabarito-v9-latin-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/gabarito-v9-latin-600.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* gabarito-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Gabarito';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/gabarito-v9-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/gabarito-v9-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* gabarito-800 - latin */
@font-face {
  font-display: swap;
  font-family: 'Gabarito';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/gabarito-v9-latin-800.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/gabarito-v9-latin-800.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* gabarito-900 - latin */
@font-face {
  font-display: swap;
  font-family: 'Gabarito';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/gabarito-v9-latin-900.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/gabarito-v9-latin-900.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

body{font-family:'Gabarito', sans-serif;color:#383D40; background:#F7F7F7; }
h1{font-size:22px;color:#002d62;}
.separator{margin:25px auto 30px;display:block;width:100px;height:1px;background-color:#9b96a5}
.nav-tabs li.active {  border-bottom: 3px solid #3b68e8; }
.nav-tabs>li>a {border-top-width: 0px;border-right-width: 0px;border-left-width: 0px;border-top-style: hidden;border-right-style: hidden;border-left-style: hidden;border-top-color: transparent;border-right-color: transparent;border-left-color: transparent;}
.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {border-top-width: 0px;border-right-width: 0px;border-left-width: 0px;border-top-style: hidden;border-right-style: hidden;border-left-style: hidden;border-top-color: transparent;border-right-color: transparent;border-left-color: transparent;}
.nav-tabs li.active a { border-top-width: 0px;border-right-width: 0px;border-left-width: 0px;border-top-style: hidden;border-right-style: hidden;border-left-style: hidden;border-top-color: transparent;border-right-color: transparent;border-left-color: transparent; }

/* */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    margin: 20px auto 20px auto;
    padding-bottom: 10px;
    border-radius: 30px;
}

/* Stile per la barra di ricerca */
.navbar .search-bar {
    width: 90%;
    display: flex;
    align-items: center;
    margin-right: 20px;
    margin-left: 20px;
}

button, input[type="number"] {
    all: unset;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 16px;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}

input[type="number"] {
-moz-appearance: textfield; /* Per Firefox */
appearance: textfield; /* Per browser moderni */
}

.navbar .search-bar input[type="number"] {
    flex: 1;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 20px 0 0 20px;
    outline: none;
    font-size: 16px;
    background: #f7f7f7;
}

.navbar .search-bar button {
    height: 40px;
    width: 40px;
    border: 1px solid #ccc;
    border-radius: 0 20px 20px 0;
    border-left: none;
    background-color: #f7f7f7;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar .search-bar button:hover {
    background-color: #eee;
}

.navbar .search-bar button .icon {
    font-size: 18px;
    color: #aaa;
}

/* Stile responsivo */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        background-color: transparent;
    }

    .navbar .search-bar {
        margin-top: 10px;
        width: 90%;
    }
    .navbar .search-bar input[type="number"] {
	 	background: #fff;   
	}
	.navbar .search-bar button {
		background: #fff;
	}
}

/* */

.progress-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background-color: #ddd;
    border-radius: 50px;
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 10px;
}

.progress-bar span {
    display: block;
    height: 100%;
    background-color: #4caf50;
    border-radius: 50px;
}

.circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    margin: 0 5px;
    border: 2px solid #ddd;
}

.circle.completed {
    border: 2px solid #4caf50;
    background-color: #4caf50;
}

.circle.completed i {
    color: white;
}

.circle.active {
    width: 36px;
    height: 36px;
    border: 2px solid #ddd;
    background-color: transparent;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 5px #ccc;
}

.circle.active .inner-circle {
    width: 28px;
    height: 28px;
    background-color: #4caf50;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle.active .inner-circle i {
    color: white;
    font-size: 16px;
}

.spacer {
    flex: 1;
    height: 8px;
    background-color: #ddd;
    border-radius: 50px;
    display: flex;
    align-items: center;
}

.spacer.active {
    background-color: #4caf50;
}

@media (max-width: 480px) {
    .progress-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .circle {
        margin: 0 5px;
    }

    .spacer {
        width: auto;
        height: 8px;
    }

    .spacer.active {
        background-color: #4caf50;
    }
}