    
.sixOpt {
    appearance: none;
    width: 50px; 
    height: 35px;
    line-height: 30px;
    background-size: cover;
    border: 2px solid #ccc;
    border-radius: 5px; 
    margin: 3px;
    cursor: pointer;
    background-color: #f0f0f0; 
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); 
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    transition: box-shadow 0.2s, transform 0.2s; 
    position: relative; /* To position the ::before pseudo-element */
}

.sixOpt:checked {
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
    border: 3px solid #0AF648;
}

.sixOpt::before {
    content: attr(value); /* Display the value as content */
    display: block; 
}

.opt6 {
    background-image: url("../images/SixDiff.png"); 
}
.opt3 {
    background-image: url("../images/ThreePair.png"); 
}
.opt2 {
    background-image: url("../images/TwoTriples.png"); 
}
.opt1 {
    background-image: url("../images/SixSame.png"); 
}

.sixOpt-tooltip-trigger {
    position: relative; /* Required to position the tooltip relative to this element */
    display: inline-block; /* Ensures the trigger takes up space for the tooltip */
}

.sixOpt-tooltip-text {
    visibility: hidden;
    width: 130px;
    background-color: #555;
    color: #fff;
    text-align: center;
    font-size: 12px;
    line-height: 1.25;
    padding: 5px 5px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    top: 55px;
    left: -38px;
    margin-left: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.sixOpt-tooltip-trigger:hover .sixOpt-tooltip-text {
    visibility: visible;
    opacity: 1; /* Show tooltip on hover */
}