.email-tooltip {
    cursor: pointer;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.email-tooltip .tip {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease 1s, visibility 0s ease 0.3s; 
    background-color: #99CC01;
    color: #111;
    text-align: center;
    padding: 7px;
    border-radius: 7px;
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    white-space: normal;
    font-size: 13px;
    pointer-events: auto;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
}

.email-tooltip .tip::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #99CC01;
}

.email-tooltip:hover .tip,
.email-tooltip .tip:hover,
.email-tooltip .tip.locked {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease 0s, visibility 0s ease 0s;
}

.tip-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-align: left;
}

.tip-table th {
    background-color: #7aa600;
    color: #fff;
    padding: 8px 10px;
    border: 1px solid #6a9100;
}

.tip-table td {
    padding: 8px 10px;
    border: 1px solid #6a9100;
    background-color: #fff;
    color: #111;
    font-weight: normal;
}

.tip-table tr:hover td {
    background-color: #f0f7cc;
}

@media (max-width: 768px) {
    .email-tooltip .tip {
        width: 90vw;
        position: fixed;
        left: 5vw;
        top: 20%;
        bottom: auto;
        transform: none;
        font-size: 11px;
        transition: opacity 0.3s ease 0s, visibility 0s ease 0s;
        z-index: 9999;
    }

    .email-tooltip .tip::after {
        display: none;
    }

    .tip-table th,
    .tip-table td {
        padding: 5px 6px;
        font-size: 10px;
    }
}