body{
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
}

h1, h2, h3{
    font-family: 'Cinzel', serif;
    font-weight: 100;
    color:rgb(97,56,69);
}

h4, h5{
  font-weight: 100;
}

a{
    color:inherit !important;
}

.container {
  display: block;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  border-radius:2px;
  background-color: transparent;
  border:2px solid rgb(97,56,69);
}

.container:hover input ~ .checkmark {
  background-color: rgba(97,56,69,0.2);
}

.container input:checked ~ .checkmark {
  background-color: rgba(97,56,69,0.7);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.container input:checked ~ .checkmark:after {
  display: block;
}

.container .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.effettino{
  -webkit-transition: opacity 0.3s; /* Safari */
  transition: opacity 0.3s;
} .effettino:hover{opacity:0.65 !important}

.OZicon{
    width:50px;
    height:50px;
}

.OZbutton{
    background-color:rgb(97,56,69);
    border:1px solid rgb(97,56,69);
    color:white;
    padding:18px;
    font-size:12px;
    text-align:center;
    border:none;
    font-family: 'Cinzel', serif;
    margin:8px;
}

/* ============================================
   FORM STYLES - Stili per form
   ============================================ */

/* Form Group - Raggruppa label e input */
.form-group {
    margin-bottom: 20px;
}

/* Form Label - Etichetta campo */
.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

/* Form Input - Campo input */
.form-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    background-color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(97, 56, 69, 0.1);
}

.form-input::placeholder {
    color: #999;
}

/* Form Select - Campo select */
select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

@keyframes lds-eclipse {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  50% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes lds-eclipse {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  50% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.lds-eclipse {
  position: relative;
}
.lds-eclipse div {
  position: absolute;
  -webkit-animation: lds-eclipse 1s linear infinite;
  animation: lds-eclipse 1s linear infinite;
  width: 160px;
  height: 160px;
  top: 20px;
  left: 20px;
  border-radius: 50%;
  box-shadow: 0 4px 0 0 white;
  -webkit-transform-origin: 80px 82px;
  transform-origin: 80px 82px;
}
.lds-eclipse {
  width: 200px !important;
  height: 200px !important;
  -webkit-transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
  transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
}

.lds-css{
  position:fixed;
  top:50%;
  left:50%;
  height:200px;
  width:200px;
  margin-top:-100px;
  margin-left:-100px;
  z-index:997;
}

#stems{
  position:fixed;
  top:50%;
  left:50%;
  height:150px;
  width:150px;
  margin-top:-73px;
  margin-left:-75px;
  z-index:998;
}

#coverdiv{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color:rgba(0,0,0,0.9);
  z-index:990;
}

#loadingDiv{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color:rgba(255,255,255,0.9);
  z-index:9998;
}

#loadingImg{
width:200px;
height:200px;
position:fixed;
left:50%;
top:50%;
margin-left:-100px;
margin-top:-100px;
z-index:9999;
-webkit-animation: spin 4s linear infinite;
animation: spin 4s linear infinite;
}

@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

/* ============================================
   STATS PAGE - Statistiche
   ============================================ */

/* Stats Panel - Contenitore principale statistiche */
.stats-panel {
    position: relative;
    max-width: 840px;
    width: 85%;
    margin: 20px auto 0;
    font-size: 18px;
    background-color: rgba(0,0,0,0.07);
    border-radius: 50px;
    padding: 0;
}

/* Stats Table - Tabella statistiche */
.stats-table {
    width: 100%;
    text-align: center;
    border: 0;
    padding: 10px;
}

.stats-table td {
    padding: 10px;
}

/* Stat Value - Valore numerico evidenziato */
.stat-value {
    font-size: 25px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Stats Divider - Riga separatore/titolo sezione */
.stats-divider {
    border-top: 1px solid rgba(0,0,0,0.15);
    cursor: pointer;
    padding: 15px !important;
    font-size: 20px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.stats-divider:hover {
    background-color: rgba(0,0,0,0.05);
}

.stats-divider i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* Chart Container - Contenitore grafici */
.chart-container {
    position: relative;
    max-width: 840px;
    width: 85%;
    margin: 55px auto 0;
    font-size: 20px;
    background-color: rgba(0,0,0,0.05);
    border-radius: var(--border-radius);
    padding: 20px;
}

.chart-header {
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: var(--border-radius);
    transition: background-color 0.2s;
}

.chart-header:hover {
    background-color: rgba(0,0,0,0.08);
}

.chart-header i {
    margin-right: 8px;
    color: var(--primary-color);
}

.chart-container canvas {
    margin: 15px 0;
}
