/* KN Button Deactivate – same look as KN Button, reduced opacity, not clickable, hover tooltip */

.kn-button-deactivate-wrapper {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    position: relative;
}

.kn-button-deactivate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    text-decoration: none;
    border: none;
    cursor: no-drop;
    transition: all 0.2s ease-in-out;
    opacity: 0.65;
    pointer-events: auto;
}

.kn-button-deactivate:hover {
    filter: brightness(0.92);
}

.kn-button-deactivate:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(39, 173, 122, 0.25);
}

/* Tooltip / popup – shown on hover */
.kn-button-deactivate-wrapper .kn-button-deactivate-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translate(8px, -50%);
    background-color: #4a4a4a;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
    max-width: 280px;
    white-space: normal;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

/* Speech bubble arrow pointing left toward the button */
.kn-button-deactivate-wrapper .kn-button-deactivate-tooltip::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 6px 6px 0;
    border-style: solid;
    border-color: transparent #4a4a4a transparent transparent;
}

.kn-button-deactivate-wrapper:hover .kn-button-deactivate-tooltip {
    visibility: visible;
    opacity: 1;
}
