.tip-icon {
    width: 1em;
    height: 1em;
    background: #558855;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: .8em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.tip-icon:hover {
    background: #336633;
}

.tip-container {
    position: relative;
    display: inline-block;
}

.tip {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

    width: 20em;
}

.tip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
}

.input-tip-container:hover .tip {
    opacity: 1;
    visibility: visible;
}

.tip-container:hover .tip {
    opacity: 1;
    visibility: visible;
}
