.anb-highlight {
    position: relative;
    border: 2px solid red;
    object-fit: contain;
    transition: background 0.3s ease;
    background-color: rgba(255, 0, 0, 0);
    resize: both; 
    overflow: auto;
}

.anb-highlight .anb-highlight-body {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    width: 60%; 
    max-width: 300px; 
    color: #ffffff;
    background-color: #2c3e50;
    z-index: 1222;
    position: relative;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease, bottom 0.3s ease;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.anb-highlight .modal-header {
    align-items: center;
    text-align: center;
    background-color: #3498db;
    padding: 8px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    
}

.anb-highlight .modal-header h1 {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.anb-highlight .modal-content {
    padding: 12px;
    font-size: 14px;
    font-weight: 300;
    color: #ecf0f1;
}

.anb-highlight:hover {
    background: #00131f;
}

.anb-highlight:hover .anb-highlight-body {
    visibility: visible;
    opacity: 1;
    bottom: calc(100% + 5px);
}

.anb-highlight.analyze-scanning {
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}
