/* Hide the original "Structured data" link and popup from Google Search results */
.gs-richsnippet-box {
    display: none !important;
}
.gsc-richsnippet-popup-box {
    display: none !important;
}

/* --- CSS FOR RESULT CHECKBOXES (Updated for size and hover) --- */
.gsc-webResult.gsc-result {
    position: relative; /* This is crucial for positioning the checkbox */
    padding-top: 15px;
}

.result-checkbox-container {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    opacity: 0; /* HIDE the checkbox by default */
    transition: opacity 0.2s ease-in-out; /* Add a smooth fade effect */
}

/* SHOW the checkbox when hovering over the entire result panel */
.gsc-webResult.gsc-result:hover .result-checkbox-container {
    opacity: 1;
}

/* Hide the default checkbox input */
.result-checkbox-container input[type="checkbox"] {
    display: none;
}

/* Style the label to look like the checkbox */
.result-checkbox-container label {
    display: block;
    width: 18px;  /* SMALLER size */
    height: 18px; /* SMALLER size */
    border: 2px solid #777;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s ease-in-out;
}

/* Style the label when the checkbox is checked (green border) */
.result-checkbox-container input[type="checkbox"]:checked + label {
    border-color: #4CAF50;
}

/* Add a subtle hover effect on the checkbox itself */
.result-checkbox-container label:hover {
    border-color: #aaa;
}

/* Provides visual feedback only when selection mode is active */
.review-selectable:hover {
    text-decoration: underline !important;
    cursor: pointer;
    color: #a0dfff !important;
    background-color: rgba(160, 223, 255, 0.1);
}
/* Styles for the container of the inline YouTube results */
.youtube-results-container {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #444;
}
/* Style for each individual video result */
.youtube-video-item {
    margin-bottom: 15px;
}
.youtube-video-item p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}
.youtube-video-item iframe {
    width: 100%;
    height: 180px;
    border: none;
    border-radius: 4px;
    margin-top: 5px;
}
/* NEW: Style for the title and label container */
.youtube-title-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}
/* NEW: Style for the "Trusted Reviewer" label */
.trusted-reviewer-label {
    padding: 3px 8px;
    font-size: 10px;
    font-weight: bold;
    background-color: #38761d; /* A shade of green */
    color: #ffffff;
    border-radius: 10px;
    white-space: nowrap; /* Prevents the label from breaking into two lines */
    flex-shrink: 0;
}

/* Provides visual feedback when selection mode is active */
.review-selectable:hover {
    text-decoration: underline !important;
    cursor: pointer;
    color: #a0dfff !important;
    background-color: rgba(160, 223, 255, 0.1);
}
/* Styles for the container of the inline YouTube results */
.youtube-results-container {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #444;
}
/* Style for each individual video result */
.youtube-video-item {
    margin-bottom: 15px;
}
.youtube-video-item p {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
}
.youtube-video-item iframe {
    width: 100%;
    height: 180px; /* Adjust height as needed */
    border: none;
    border-radius: 4px;
}

/* Provides visual feedback only when selection mode is active */
 .review-selectable:hover {
     text-decoration: underline !important;
     cursor: pointer;
     color: #a0dfff !important;
     background-color: rgba(160, 223, 255, 0.1);
 }
/* Styles for the container of the inline YouTube results */
.youtube-results-container {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #444;
}
/* Style for each individual video result */
.youtube-video-item {
    margin-bottom: 15px;
}
.youtube-video-item p {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
}
.youtube-video-item iframe {
    width: 100%;
    height: 180px; /* Adjust height as needed */
    border: none;
    border-radius: 4px;
}

/* This CSS provides visual feedback only when selection mode is active */
.review-selectable:hover {
    text-decoration: underline !important;
    cursor: pointer;
    color: #a0dfff !important;
    background-color: rgba(160, 223, 255, 0.1);
}
