body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    padding: 50px;
}

/* Container for text and image */
.hover-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* The text */
.hover-text {
    font-size: 15px;
    color: #333;
    padding: 5px 10px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.hover-text:hover {
    background: #e0e0e0;
}

/* The image overlay (hidden by default) */
.hover-image {
    position: absolute;
    top: 110%; /* below the text */
    left: 100%;
    transform: translateX(-10%);
    display: none;
    border: 2px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 10;
}

/* Show image on hover */
.hover-container:hover .hover-image {
    display: block;
}

/* Optional: smooth fade-in */
.hover-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.hover-container:hover .hover-image {
    opacity: 1;
}

.tab-group {
  margin-bottom: 10px;
}
.tab {
  cursor: pointer;
  padding: 8px 15px;
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 5px 5px 0 0;
}
.tab.active {
  background: #333;
  color: #fff;
}

.table-wrapper { overflow-x: auto; }

