.tac-help-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.tac-help-popup-overlay.tac-help-popup-visible {
    opacity: 1;
}

.tac-help-popup-content {
    position: relative;
    width: 90%;
    max-width: 400px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.25s ease;
}

.tac-help-popup-overlay.tac-help-popup-visible .tac-help-popup-content {
    transform: scale(1) translateY(0);
}

.tac-help-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--tac-color-theme, #4e61ed);
    color: #fff;
}

.tac-help-popup-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.tac-help-popup-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    padding: 0;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.tac-help-popup-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

.tac-help-popup-body {
    padding: 18px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.tac-help-popup-dont-show {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    user-select: none;
}

.tac-help-popup-dont-show:hover {
    background: #f9f9f9;
}

.tac-help-popup-dont-show-input {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--tac-color-theme, #4e61ed);
}
