.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* Tooltip com texto */
.tooltip .tooltiptext {
    visibility: hidden;
    width: max-content;
    color: #8f0000;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: -10px;
    left: 120%;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent black transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Tooltip com imagem */
.tooltip img {
    width: 100%;
    height: 100px;
    transition: transform 0.3s ease;
}

.tooltip:hover img {
    transform: scale(2);
}


.hidden-section {
    display: none;
}

.required:after {
    content: " *";
    color: red;
}

.label-tip {
    font-size: 12px;
    font-style: italic;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #09f;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}