#quiz-container {
    font-family: Arial, sans-serif;
    /*max-width: 600px;*/
    /*margin: 0 auto;*/
    border: 1px solid #fff;
    padding: 20px;
    border-radius: 8px;
    background-color: #fff;
}

#quiz-question p {
    font-weight: 700;
	background-color: transparent;
	border-radius: 15px;
	-webkit-border-radius: 15px;
	padding: 0px;
}

#quiz-container label {
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
	font-family: 'Open Sans', sans-serif;
}

#quiz-container button {
    font-size: 16px;
    padding: 16px 50px;
    background-color: var(--e-global-color-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
	font-weight: 800;
	transition: all 0.35s ease-in;
}

#quiz-container button:hover {
    background-color: var(--e-global-color-primary);
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12), 0 3px 6px rgba(0, 0, 0, 0.13) !important;
}

.quiz-panel {
    font-family: "Open Sans", sans-serif;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.quiz-panel h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 700;
    border-bottom: 1px solid #ddd;
    padding-bottom: 25px;
}

.quiz-progress {
    width: 600px;
    margin-bottom: 20px;
    text-align: left;
}

#quiz-progress-bar {
    width: 600px;
    height: 10px;
    border-radius: 10px;
    /*background-color: #fff;*/
	background-color:#E9EAEC !important;
    margin-bottom: 0px;
    border: 0px solid #ddd;
    padding: 0px;
}

#quiz-progress-bar::-webkit-progress-bar {
    background-color: #E9EAEC;
    border-radius: 10px;
}

#quiz-progress-bar::-webkit-progress-value {
    background-color: var(--e-global-color-primary);
    border-radius: 10px;
}

#quiz-progress-text {
    font-size: 13px;
    color: #2C2E38;
	font-weight: bold;
}

.quiz-panel label {
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
    text-align: left;
    cursor: pointer;
}


div#quiz-question label.selected {
    border: 1px solid var(--e-global-color-primary) !important;
    border-radius: 10px;
    padding: 10px 15px;
	color: var(--e-global-color-primary);
}

div#quiz-question label {
    border: 1px solid #A3A5A9;
    border-radius: 10px;
    padding: 10px 15px;
	display: flex;
	line-height: 1.5em;
	transition: all 0.25s ease-in;
	text-rendering: optimizelegibility;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

div#quiz-question label:hover {
    border-color: var(--e-global-color-text);
}

.quiz-panel input[type="radio"] {
    margin-right: 10px;
	accent-color: #ff5d20;
}

#quiz-next {
    font-size: 16px;
    padding: 10px 20px;
    background-color: var(--e-global-color-primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
}

#quiz-next:hover {
    background-color: var(--e-global-color-primary);
}

.quiz-results {
    font-family: "Open Sans", sans-serif;
    max-width: 100%;
    margin: 0 auto;
    /*padding: 20px;*/
    background-color: #fff;
    /*border-radius: 12px;*/
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
    text-align: left;
}

.quiz-results h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 700;
    padding-bottom: 25px;
}

.quiz-results h3 {
    color: #333;
    font-weight: 700;
}

.quiz-profile {
    text-align: center;
    margin-bottom: 30px;
}

.quiz-profile p {
    font-size: 16px;
    color: #555;
}

.quiz-summary {
    text-align: left;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
}

.quiz-summary h3 {
    font-size: 20px;
    color: #f39200;
    margin-bottom: 10px;
}

.quiz-summary ul {
    list-style: none;
    padding: 0;
}

.quiz-summary li {
    font-size: 16px;
    color: #333;
    margin: 5px 0;
}

.quiz-summary img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.quiz-summary div {
    margin-bottom: 20px;
}

.quiz-summary strong {
    font-size: 16px;
    color: #333;
}

.profile-body {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.profile-header {
    text-align: left;
    margin-bottom: 30px;
}

.profile-header h2 {
    font-size: 1.8rem;
    color: #333;
}

.profile-header h3 {
    font-size: 1.2rem;
    color: #555;
    margin-top: 10px;
}

.profile-body h3 {
    font-size: 1.5rem;
    color: #ef7b0a;
    margin-bottom: 20px;
}

.sections {
    margin-top: 20px;
    padding: 10px;
    /*background: #ffffff;*/
    border-radius: 8px;
}

.section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px;
    background: #fefefe;
    /*border: 1px solid #ddd;*/
    border-radius: 25px;
}

.section-title {
    flex: 1;
    font-weight: bold;
    color: #555;
}

.section-bar {
    flex: 3;
    margin: 0 15px;
    height: 10px;
    /*background: #e0e0e0;*/
    border-radius: 5px;
    overflow: hidden;
}

.section-bar .bar {
    height: 100%;
    background: #ef7b0a;
    transition: width 0.3s ease;
}

.section-score {
    flex: 1;
    text-align: right;
    font-weight: bold;
    color: #ef7b0a;
}

/* Zona sotto risultati quiz */

.quiz-next-steps {
    margin-top: 30px;
    /*background-color: #f8f9fa;*/
    padding: 20px;
    border-radius: 10px;
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
}

.quiz-next-steps h3 {
    text-align: center;
    color: #333; 
    margin-bottom: 20px;
    font-size: 1.8em;
}

.quiz-steps-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.objective-box {
    flex: 1 1 10%;
    background-color: #F7F7F7; 
    border-radius: 10px;
    padding: 15px;
}

.objective-box h4 {
    margin-bottom: 10px;
    color: #e36209; 
}

.steps-list {
    flex: 1 1 55%;
}

.steps-list ul {
    list-style: none;
    padding: 0;
}

.steps-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.steps-list .icon {
    margin-right: 10px;
    font-size: 1.2em;
    color: #28a745; 
}

.action-button {
    margin-top: 20px;
    text-align: center;
}

.action-button .custom-button {
    background-color: #ff7f50; 
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.action-button .custom-button:hover {
    background-color: #e36209; 
}






/* START TOOLTIP STYLES */
[tooltip] {
  position: relative; /* opinion 1 */
}

/* Applies to all tooltips */
[tooltip]::before,
[tooltip]::after {
  text-transform: none; /* opinion 2 */
  font-size: .9em; /* opinion 3 */
  line-height: 1;
  user-select: none;
  pointer-events: none;
  position: absolute;
  display: none;
  opacity: 0;
}
[tooltip]::before {
  content: '';
  border: 5px solid transparent; /* opinion 4 */
  z-index: 1001; /* absurdity 1 */
}
[tooltip]::after {
  content: attr(tooltip); /* magic! */
  
  /* most of the rest of this is opinion */
  /*font-family: "Open Sans", sans-serif !important;*/
  font-family: "Inter", sans-serif !important;
  font-size: 13px;
  line-height: 1.2em;
  text-align: center;
  
  /* 
    Let the content set the size of the tooltips 
    but this will also keep them from being obnoxious
    */
  min-width: 13em;
  max-width: 21em;
  white-space: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35);
  background: #333;
  color: #fff;
  opacity: 1 !important;
  z-index: 1000; /* absurdity 2 */
}

/* Make the tooltips respond to hover */
[tooltip]:hover::before,
[tooltip]:hover::after {
  display: block;
	transition: transform 0.3s ease-out;
}

/* don't show empty tooltips */
[tooltip='']::before,
[tooltip='']::after {
  display: none !important;
}

/* FLOW: UP */
[tooltip]:not([flow])::before,
[tooltip][flow^="up"]::before {
  bottom: 136%;
  border-bottom-width: 0;
  border-top-color: #333;
}
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::after {
  bottom: calc(100% + 15px);
}
[tooltip]:not([flow])::before,
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::before,
[tooltip][flow^="up"]::after {
  left: 50%;
  transform: translate(-50%, -.5em);
}

/* FLOW: DOWN */
[tooltip][flow^="down"]::before {
  top: 100%;
  border-top-width: 0;
  border-bottom-color: #333;
}
[tooltip][flow^="down"]::after {
  top: calc(100% + 5px);
}
[tooltip][flow^="down"]::before,
[tooltip][flow^="down"]::after {
  left: 50%;
  transform: translate(-50%, .5em);
}

/* FLOW: LEFT */
[tooltip][flow^="left"]::before {
  top: 50%;
  border-right-width: 0;
  border-left-color: #333;
  left: calc(0em - 5px);
  transform: translate(-.5em, -50%);
}
[tooltip][flow^="left"]::after {
  top: 50%;
  right: calc(100% + 5px);
  transform: translate(-.5em, -50%);
}

/* FLOW: RIGHT */
[tooltip][flow^="right"]::before {
  top: 50%;
  border-left-width: 0;
  border-right-color: #333;
  right: calc(0em - 5px);
  transform: translate(.5em, -50%);
}
[tooltip][flow^="right"]::after {
  top: 50%;
  left: calc(100% + 5px);
  transform: translate(.5em, -50%);
}

/* KEYFRAMES */
@keyframes tooltips-vert {
  to {
    opacity: .9;
    transform: translate(-50%, 0);
  }
}

@keyframes tooltips-horz {
  to {
    opacity: .9;
    transform: translate(0, -50%);
  }
}

/* FX All The Things */ 
[tooltip]:not([flow]):hover::before,
[tooltip]:not([flow]):hover::after,
[tooltip][flow^="up"]:hover::before,
[tooltip][flow^="up"]:hover::after,
[tooltip][flow^="down"]:hover::before,
[tooltip][flow^="down"]:hover::after {
  animation: tooltips-vert 300ms ease-out forwards;
}

[tooltip][flow^="left"]:hover::before,
[tooltip][flow^="left"]:hover::after,
[tooltip][flow^="right"]:hover::before,
[tooltip][flow^="right"]:hover::after {
  animation: tooltips-horz 300ms ease-out forwards;
}



a.btn-start-percorso, a.btn-start-percorso:hover {
    background: var(--bb-primary-color) !important;
    color: #fff !important;
    padding: 1rem 2rem;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 10px;
	width: 100%;
}




.accordion-item {
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
    border-radius: 16px !important;
}


.button-custom {
    background-color: #f7f7f7 !important;
    color: var(--e-global-color-text) !important;
    border-radius: 16px !important;
    border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
    box-shadow: none !important;
    text-transform: inherit !important;
    font-size: 18px !important;
    font-weight: bold !important;
}

/* Modal da Challenge */

h2.modal-title {
    font-size: 34px;
    font-weight: 700;
    color: #2C2E38;
    line-height: 1em;
	margin-bottom: 0.5rem;
	font-family: "Open Sans", sans-serif;
}

.modal-text {
	font-size: 18px;
	font-weight: 400;
	color: #2C2E38;
	font-family: "Open Sans", sans-serif;
}

.modal-view .option h3 {
    text-align: left;
    font-weight: 700;
	margin-bottom: 10px;
	font-family: "Open Sans", sans-serif;
}

.modal-view .option p {
    text-align: left;
	font-size: 15px;
	line-height: 18px;
    font-weight: 400;
	font-family: "Open Sans", sans-serif;
	margin-bottom: 0px;
}

.custom-popover {
    min-width: 15vw;
    background: var(--text);
    border: 0;
    border-radius: 16px !important;
}

.custom-popover .popover-header {
    background: var(--text);
    border: 0;
    color: #fff;
	font-size: 13px;
	font-weight: 700;
    text-align: center;
    padding: 10px 0px 0px;
	border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.custom-popover .popover-body {
	background: var(--text);
    color: #fff;
    line-height: 120%;
    font-size: 13px;
	font-weight: 300;
    padding: 0px 10px 10px;
    text-align: center;
	border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after, .bs-popover-top>.popover-arrow::after {
    border-top-color: var(--text) !important;
}

.custom-tooltip {
          background-color: #A3A5A9; /* Sfondo scuro */
          color: white;
          padding: 3px 10px;
          border-radius: 10px;
          font-size: 14px;
          text-align: center;
          white-space: nowrap;
          position: absolute;
          z-index: 10;
          font-weight: bold;
		  min-width: 115px;
}
	 
.custom-tooltip .tooltip-inner:before {
			content: url(/wp-content/plugins/quiz-manager-learndash/img/icon-clock.svg);
			display: block;
	    font-size: 20px;
    margin: 5px 0px 0px;
	    transform: scale(1.25);
}

.custom-tooltip .tooltip-inner:after {
    content: '\F229';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 42%;
    bottom: -25%;
    font-size: 22px;
    color: #a3a5a9;
}

div#sliderTooltip {
    top: -62px !important;
}

div#sliderTooltip.change {
    left: 50% !important;
}


.custom-tooltip .tooltip-inner {
    background: #A3A5A9 !important;
    color: #fff !important;
    font-weight: 600;
	font-size: 13px;
    font-family: "Inter", sans-serif;
	border-radius: 10px !important;
	line-height: 1.8em;
}

.custom-tooltip .tooltip-arrow::before {
    border-top-color: var(--text) !important;
}

input#challengeDays {
	background: var(--e-global-color-primary) !important;
	height: 10px !important;
}

input#challengeDays::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    -webkit-appearance: none;
    cursor: ew-resize;
    background: var(--e-global-color-primary);
    border: 2px solid #fff;
}



/* STARD EDIT ADORNO */

/* Stile per la modale */
.modal {
    display: none; /* Nasconde la modale per impostazione predefinita */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5); /* Sfondo semi-trasparente */
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: clamp(0.925rem, 4vw, 5rem);
    border-radius: 16px !important;
    width: 60%;
    text-align: center;
	border: 0px solid #dedede !important;
}

.modal-view {
	padding: 1rem 1rem;
}

@media (min-width: 1200px) {
	.modal-content { width: calc(100vw - 45vw) !important;transform: translateY(-20%);} 
}
@media (max-width: 980px) {
	.modal-content { width: 90%;} 
	.options {flex-direction:column;align-items:center;gap:16px;}
	.options .option {width:100%;}
}

span#closeModal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.75rem !important;
}

button#closeModal:hover, button#closeModal:focus {
    background-color: transparent;
    box-shadow: none;
}


.close, span#closeModal {
    color: var(--text) !important;
    float: right;
    font-size: 0.95rem;
    font-weight: 400;
    cursor: pointer;
	-webkit-transition: -webkit-transform .45s ease-in-out;
    -ms-transition: -ms-transform .45s ease-in-out;
    transition: transform .45s ease-in-out;
}

.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
}

span#closeModal:hover {
    transform: rotate(180deg);
}

.options {
    display: flex;
    justify-content: space-evenly;
    margin-top: 20px;
}

.option {
    width: 45%;
    text-align: center;
    padding: 1.5rem;
    border: 1px solid #f7f7f7;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.08);
}

.option:hover {
    background-color: #f1f1f1;
}

.btn-challenge, .btn-classic {
    margin-top: 10px;
    padding: 16px 30px !important;
    border: none;
    border-radius: 5px;
    cursor: pointer;
	line-height: 20px;
    min-width: 150px !important;
    background: #EF7B0A !important;
}


.btn-classic {
    background-color: #3498db;
    color: white;
}


.btn-classic:hover {
    background-color: #2980b9;
}

/* Stile base per la modale */
.modal-view {
    display: none; /* Nascondi le viste di default */
}

.modal-view.active {
    display: block; /* Mostra solo la vista attiva */
}

/* Contenitore dello slider */
.slider-container {
    margin: 30px auto;
    position: relative;
    width: 80%;
}

/* Stile per lo slider */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #f39c12; /* Barra arancione */
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    margin-top: 10px;
}

/* Thumb personalizzato per slider */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 20px;
    width: 20px;
    background: #fff;
    border: 3px solid #f39c12; /* Bordo arancione */
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

input[type="range"]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    background: #fff;
    border: 3px solid #f39c12;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Testo etichette dello slider */
.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

/* Pulsante Challenge */
.btn-challenge {
    background-color: var(--primary);
    color: white;
    padding: 16px 50px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
	text-transform: uppercase;
    cursor: pointer;
    margin-top: 20px;
	font-weight: 800;
}

.btn-challenge:hover {
    background-color: #e67e22;
}

/* Testo informativo */
.challenge-info {
    margin-top: 10px;
    font-size: 14px;
    color: #888;
}

.titolo {
    font-weight: 700;
    font-size: 34px;
}

.challenge-box, .challenge-sidebar-box {
    background: #1c1c1e;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.challenge-header {
    background: #f39c12;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: 10px;
}

.challenge-details h4 {
    margin: 10px 0;
    color: #f39c12;
}

.challenge-details p {
    margin: 5px 0;
}

button.pause-challenge {
    background: #e67e22;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

button.pause-challenge:hover {
    background: #d35400;
}

.challenge-box-container {
    margin-top: 20px;
    padding: 20px;
    background: #1c1c1e;
    border-radius: 10px;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
}

.challenge-box .challenge-header {
    background: #f39c12;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: 15px;
}

.challenge-box .challenge-details h4 {
    margin-bottom: 10px;
    color: #f39c12;
    font-size: 18px;
}

.challenge-box .challenge-details p {
    margin: 5px 0;
    color: #fff;
    font-size: 14px;
}

.challenge-box .time-remaining {
    margin-top: 15px;
    text-align: center;
}

.challenge-box .time h5 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #ffffff;
}

.challenge-box .time {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.challenge-box .time span {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 18px;
    color: #f39c12;
}

.challenge-box .time small {
    font-size: 12px;
    color: #ffffff;
}

.challenge-box .pause-section {
    margin-top: 20px;
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 15px;
}

.challenge-box .pause-section h5 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #ffffff;
}

.challenge-box .pause-controls {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.challenge-box .pause-controls button {
    background: #f39c12;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.challenge-box .pause-controls button:hover {
    background: #d87f0b;
}

#timeEstimate {
    margin-top: 10px;
    color: #fff !important;
    font-size: 14px;
    text-align: center;
    background: #2C2E38 !important;
    padding: 5px;
    border-radius: 5px;
    display: inline-block;
    position: relative;
    z-index: 10;
}

#timeEstimate::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #f8f8f8 transparent transparent transparent;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 5px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}




button#chooseChallenge, button#chooseClassic {
    background: var(--e-global-color-primary);
    border-radius: 10px;
    box-shadow: none;
}

.ld-author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50% !important;
    margin-right: 5px;
}

.quiz-results h1 {
    font-weight: bold;
    }


button#quiz-next:after {
    content: url(/wp-content/plugins/quiz-manager-learndash/img/ArrowRight.png);
    padding-left: 10px;
    position: relative;
    top: 4px;
}


div#challengeModal .modal-content {
    transform: translateY(-20%);
}

.inattivo {
    opacity: 0.5; 
    pointer-events: none; 
    cursor: not-allowed; 
  }






a.btn-modal-quiz-sidebar {
    background: #EF7B0A !important;
    border-radius: 10px;
    color: #fff !important;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 16px;
    padding: 12px 10px;
    border: 0 !important;
    transition: all 0.35s ease-in;
}

a.btn-modal-quiz-sidebar:hover {
    color: #fff !important;
        transform: translateY(-4px);
}

a.btn-modal-quiz-sidebar:active {
    border: 0 !important;
}



@media (max-width: 575.98px)
{
    div#modalProfiloInvestitore {z-index:99999 !important;}
    .modal-fullscreen-sm-down .modal-content {border-radius: 0 !important;}
}

.ld-topics-container {
    position: relative;
}

/* SHORTCODE COUNTDOWN */

.challenge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
}

.challenge-column {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.challenge-countdown {
    background: #f5f5f5;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.challenge-countdown strong {
    font-size: 18px;
    color: #000;
}

.challenge-progress {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar {
    width: 150px;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: #f7931e;
    transition: width 0.3s ease-in-out;
}

.progress-text {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.certificate-button {
    background: #f5f5f5;
    color: #888;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.3s;
}

.certificate-button:hover {
    background: #ddd;
}
