.compliance-highlight {
    cursor: pointer;
    font-weight: bold;
    padding: 2px;
    border-radius: 3px;
}

.compliance-container {
    display: none;   
    padding: 5px 10px;
    background: #0073aa;
    border-radius: 5px;
    margin-left: 10px;
}

.compliance-container  a {
    display: none;
    cursor: pointer;
    font-weight: bold;     
    color: #fff;
}
.checkeactive {
    background-color: #ffc0cb !important;
    
}

.checkeactive, .checkeactive a, .checkeactive .ab-empty-item  {
   
    color: #6f6b6b !important;
}



/*.checkeactive:hover  .ab-item  {
    color: #72aee6 !important;   
}*/

.frontend-compliance-container:hover {
    background-color: #005a87;
}


.noncompliant {
    background-color:#ffc0cb !important;
    color:black !important;

}


.compliance-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.compliance-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 800px;
}

.compliance-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.compliance-close:hover,
.compliance-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


.compliance-modal h1,.compliance-modal h2, .compliance-modal h3, .compliance-modal h4 {
    color:black;
    background-color: white;
    font-weight: bold;
    width: 100%;

}

.compliance-modal  p, .compliance-modal  div {
    color:black;
    background-color: white;

}

.check-image-link {
    position: absolute;
    top: 50%;
    right: 50%;
    font-size: 12px;
    background: #ffc0cb;
    color: #fff;
    padding: 4px 8px;
    border-radius: 3px;
    text-decoration: none;
    z-index: 999;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.check-image-link:hover {
    color: black;
    opacity: 1;
}

.image-wrapper {
    position: relative;
    display: inline-block;
}


.compliance-image-suggestion-wrap {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 10px;
}

.compliance-image-box {
    flex: 0 0 auto;
}

.compliance-suggestions-box {
    flex: 1;
    min-width: 0;
}

.compliance-suggestions-box h1,
.compliance-suggestions-box h3 {
    margin-top: 0;
}

.compliance-suggestions-box h4 {
    font-size:16px;
}

.imagedescription {
    font-size: 14px;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 500px;
    overflow-y: auto;
}

.image-thumb {
    width: 150px;
    height: auto;
    cursor: pointer;
    position: relative;
}

.image-thumb img {
    width: 100%;
    display: block;
    border: 2px solid #ccc;
}

.loading-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-radius: 4px;
}



#noncompliant-tooltip {
    position: absolute;
    z-index: 9999;
    display: none;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(204, 204, 204);
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 8px;
    padding: 10px;
    min-width: 200px;
    font-size: 14px;
    line-height: 1.4;
    pointer-events: auto;
}