.tooltip {
    display: none;
    position: absolute;
    background-color: #ff3514;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    z-index: 100;
    max-width: 300px;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    margin-top: 5px;
    left: 0;
    pointer-events: none; /* This ensures the tooltip doesn't intercept mouse events */
}

.tooltip-close {
    position: absolute;
    top: 5px;
    right: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    pointer-events: auto; /* Enable pointer events for the close button */
    width: 20px;
    height: 20px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: background-color 0.2s;
}

.tooltip-close:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.tooltip-text {
    display: block;
    padding-right: 20px; /* Make space for the close button */
}

.form-group {
    position: relative;
}

.tooltip.show {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
