/* Styling base per i modali */
.modal {
    display: none;
    position: fixed;
    top: 50%; /* Move 50% down from the top */
    left: 50%; /* Move 50% from the left */
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 450px;
}

.new-project-modal-content {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    background-color: var(--ast-global-color-5);
    gap: 10px;
}

.modal-title-close-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.new-project-slider-container{
    display: flex;
    flex-direction: column;

}

.new-project-slider{
    display: flex;
    align-items: center;
    gap: 20px;
}

.measure-group{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.measure-range{
    width: 80% !important;
}

.measure-input{
    height: auto !important;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
}

.new-project-input-wrapper{
    display: inline-flex;
    align-items: center;
    width: 20%;
    border: 1px solid #bbb;
    padding: 5px;
    border-radius: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Styling dei bottoni */
.project-btn {
    padding: 10px 20px;
    margin: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

.project-btn:hover {
    background-color: #45a049;
}

/* Style the range input */
input[type="range"] {
    -webkit-appearance: none; /* Remove default appearance */
    appearance: none;
    width: 100%;
    height: 5px; /* Height of the track */
    background: #bbb;
    border-radius: 5px; /* Rounded corners */
    outline: none;
}
  
  /* Style the track (Webkit-based browsers) */
input[type="range"]::-webkit-slider-runnable-track {
    height: 5px; /* Height of the track */
    border-radius: 5px;
    box-shadow: none; /* Remove any shadow */
}
  
  /* Style the thumb (Webkit-based browsers) */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; /* Remove default appearance */
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: var(--ast-global-color-5); /* Thumb color */
    border-radius: 50%; /* Circular thumb */
    cursor: pointer;
    box-shadow: none; /* Remove any shadow */
    border: 1px solid var(--ast-global-color-8);
}
  
  /* Style the track (Firefox) */
input[type="range"]::-moz-range-track {
    height: 5px; /* Height of the track */
    background: #bbb; /* Track color */
    border-radius: 5px;
    box-shadow: none;
}
  
  /* Style the thumb (Firefox) */
input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--ast-global-color-5);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: none;
    border: 1px solid var(--ast-global-color-8);
}
  
  /* Style the track (Internet Explorer) */
input[type="range"]::-ms-track {
    height: 5px;
    background: #bbb;
    border-radius: 5px;
    box-shadow: none;
    border-color: transparent; /* Remove default border color */
}
  
  /* Style the thumb (Internet Explorer) */
input[type="range"]::-ms-thumb {
    width: 20px;
    height: 20px;
    background: var(--ast-global-color-5);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: none;
    border: 1px solid var(--ast-global-color-8);
}

/* Hide arrows in the number input */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
    appearance: none;
}
  